public interface UserFacadeRemote
Modifier and Type | Method and Description |
---|---|
UserJPA |
activateUser(UserJPA user)
Activate user.
|
UserJPA |
addUser(UserJPA newUser)
Remotely invoked method.
|
java.lang.Boolean |
deleteUser(UserJPA currentUser)
Delete user.
|
UserJPA |
doLogin(java.lang.String user,
java.lang.String pass)
Do login.
|
UserJPA |
getUserByActionToken(java.lang.String actionToken)
Gets the user by action token.
|
UserJPA |
getUserByIdentifier(java.lang.String userIdentifier)
Gets the user by identifier.
|
UserJPA |
initiateResetPassword(UserJPA user)
Initiate reset password.
|
UserJPA |
resetPassword(UserJPA user)
Reset password.
|
void |
sendActivationMail(UserJPA user,
java.lang.String serverString)
Send activation mail.
|
void |
sendPasswordResetMail(UserJPA user,
java.lang.String serverString)
Send password reset mail.
|
UserJPA |
updateUser(UserJPA currentUser)
Update user.
|
UserJPA addUser(UserJPA newUser) throws CustomWrapperException
newUser
- the new userCustomWrapperException
- the custom wrapper exceptionUserJPA updateUser(UserJPA currentUser) throws java.lang.Exception
currentUser
- the current userjava.lang.Exception
- the exceptionjava.lang.Boolean deleteUser(UserJPA currentUser) throws java.lang.Exception
currentUser
- the current userjava.lang.Exception
- the exceptionUserJPA doLogin(java.lang.String user, java.lang.String pass) throws CustomWrapperException
user
- the userpass
- the passCustomWrapperException
- the custom wrapper exceptionUserJPA getUserByActionToken(java.lang.String actionToken) throws UserNotFoundException
actionToken
- the action tokenUserNotFoundException
- the user not found exceptionUserJPA getUserByIdentifier(java.lang.String userIdentifier) throws UserNotFoundException
userIdentifier
- the user identifierUserNotFoundException
- the user not found exceptionvoid sendActivationMail(UserJPA user, java.lang.String serverString) throws CannotSendMailException
user
- the userserverString
- the server stringCannotSendMailException
- the cannot send mail exceptionUserJPA activateUser(UserJPA user) throws UserNotFoundException
user
- the userUserNotFoundException
- the user not found exceptionvoid sendPasswordResetMail(UserJPA user, java.lang.String serverString) throws CannotSendMailException
user
- the userserverString
- the server stringCannotSendMailException
- the cannot send mail exceptionUserJPA resetPassword(UserJPA user) throws UserNotFoundException
user
- the userUserNotFoundException
- the user not found exception