|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.avatarserver.business.AvatarDAO
public final class AvatarDAO
This class provides Data Access methods for Avatar objects
| Constructor Summary | |
|---|---|
AvatarDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nAvatarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Avatar avatar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Avatar |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
Collection<Avatar> |
selectAvatarsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the avatar objects and returns them as a collection |
Avatar |
selectByHash(String strHash,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find avatar by its hash |
void |
store(Avatar avatar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AvatarDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Avatar avatar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAvatarDAOavatar - instance of the Avatar object to insertplugin - the Plugin
public Avatar load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAvatarDAOnKey - The identifier of the avatarplugin - the Plugin
public void delete(int nAvatarId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAvatarDAOnAvatarId - int identifier of the Avatar to deleteplugin - the Plugin
public void store(Avatar avatar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAvatarDAOavatar - the reference of the Avatarplugin - the Pluginpublic Collection<Avatar> selectAvatarsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAvatarsList in interface IAvatarDAOplugin - the Plugin
public Avatar selectByHash(String strHash,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByHash in interface IAvatarDAOstrHash - The hashplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||