|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.photoalbum.model.actions.UserAction
public class UserAction
Class for manipulating with user entity. Analogous to DAO pattern. EJB3 Bean
| Constructor Summary | |
|---|---|
UserAction()
|
|
| Method Summary | |
|---|---|
boolean |
isEmailExist(String email)
Check if user with specified email already exist |
boolean |
isUserExist(String login)
Check if user with specified login already exist |
User |
refreshUser()
Refresh state of user entity with database |
void |
register(User user)
Persist user entity to database |
User |
updateUser()
Synchronize state of user entity with database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserAction()
| Method Detail |
|---|
public void register(User user)
throws PhotoAlbumException
register in interface IUserActionuser - - user to register
PhotoAlbumException
public User updateUser()
throws PhotoAlbumException
updateUser in interface IUserActionPhotoAlbumExceptionpublic User refreshUser()
refreshUser in interface IUserActionPhotoAlbumExceptionpublic boolean isUserExist(String login)
isUserExist in interface IUserActionpublic boolean isEmailExist(String email)
isEmailExist in interface IUserAction
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||