net.stepniak.api.auth
Class UserStore

java.lang.Object
  extended by net.stepniak.api.auth.UserStore

@Component
public class UserStore
extends Object


Constructor Summary
UserStore()
           
UserStore(UserRepository userStorage)
           
 
Method Summary
 UserEntity create(String userName, String email)
           
 UserEntity find(Long id)
           
 UserEntity findUser(String email, String userName, net.stepniak.common.user.AccountType accountType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStore

public UserStore()

UserStore

@Autowired
public UserStore(UserRepository userStorage)
Method Detail

create

@Transactional
public UserEntity create(String userName,
                                       String email)

find

public UserEntity find(Long id)

findUser

public UserEntity findUser(String email,
                           String userName,
                           net.stepniak.common.user.AccountType accountType)


Copyright © 2013. All Rights Reserved.