|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.avatarserver.business.AvatarHome
public final class AvatarHome
This class provides instances management methods (create, find, ...) for Avatar objects
| Method Summary | |
|---|---|
static Avatar |
create(Avatar avatar)
Create an instance of the avatar class |
static Avatar |
findByHash(String strHash)
Returns an instance of a avatar whose identifier is specified in parameter |
static Avatar |
findByPrimaryKey(int nKey)
Returns an instance of a avatar whose identifier is specified in parameter |
static Collection<Avatar> |
getAvatarsList()
Load the data of all the avatar objects and returns them in form of a collection |
static void |
remove(int nAvatarId)
Remove the avatar whose identifier is specified in parameter |
static Avatar |
update(Avatar avatar)
Update of the avatar which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Avatar findByHash(String strHash)
strHash - The avatar hash created with the email address
public static Avatar create(Avatar avatar)
avatar - The instance of the Avatar which contains the informations to store
public static Avatar update(Avatar avatar)
avatar - The instance of the Avatar which contains the data to store
public static void remove(int nAvatarId)
nAvatarId - The avatar Idpublic static Avatar findByPrimaryKey(int nKey)
nKey - The avatar primary key
public static Collection<Avatar> getAvatarsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||