public interface IAvatarDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdAvatar,
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
|
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
|
void insert(Avatar avatar, fr.paris.lutece.portal.service.plugin.Plugin plugin)
avatar
- instance of the Avatar object to insertplugin
- the Pluginvoid store(Avatar avatar, fr.paris.lutece.portal.service.plugin.Plugin plugin)
avatar
- the reference of the Avatarplugin
- the Pluginvoid delete(int nIdAvatar, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAvatar
- int identifier of the Avatar to deleteplugin
- the PluginAvatar load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the avatarplugin
- the PluginCollection<Avatar> selectAvatarsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCopyright © 2019 City of Paris. All rights reserved.