public final class AvatarHome extends Object
| Modifier and Type | Method and Description |
|---|---|
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
|
public static Avatar findByHash(String strHash)
strHash - The avatar hash created with the email addresspublic static Avatar create(Avatar avatar)
avatar - The instance of the Avatar which contains the informations to storepublic static Avatar update(Avatar avatar)
avatar - The instance of the Avatar which contains the data to storepublic static void remove(int nAvatarId)
nAvatarId - The avatar Idpublic static Avatar findByPrimaryKey(int nKey)
nKey - The avatar primary keypublic static Collection<Avatar> getAvatarsList()
Copyright © 2016 City of Paris. All rights reserved.