public final class RecastBotDAO extends Object implements IRecastBotDAO
Constructor and Description |
---|
RecastBotDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(RecastBot recastBot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
RecastBot |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdRecastBotsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the recastBot objects and returns them as a list
|
List<RecastBot> |
selectRecastBotsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the recastBot objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectRecastBotsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the recastBot objects and returns them as a referenceList
|
void |
store(RecastBot recastBot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(RecastBot recastBot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IRecastBotDAO
recastBot
- instance of the RecastBot object to insertplugin
- the Pluginpublic RecastBot load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IRecastBotDAO
nKey
- The identifier of the recastBotplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IRecastBotDAO
nKey
- The identifier of the RecastBot to deleteplugin
- the Pluginpublic void store(RecastBot recastBot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IRecastBotDAO
recastBot
- the reference of the RecastBotplugin
- the Pluginpublic List<RecastBot> selectRecastBotsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectRecastBotsList
in interface IRecastBotDAO
plugin
- the Pluginpublic List<Integer> selectIdRecastBotsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdRecastBotsList
in interface IRecastBotDAO
plugin
- the Pluginpublic fr.paris.lutece.util.ReferenceList selectRecastBotsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectRecastBotsReferenceList
in interface IRecastBotDAO
plugin
- the PluginCopyright © 2017 City of Paris. All rights reserved.