public final class AgendaDAO extends Object implements IAgendaDAO
| Constructor and Description |
|---|
AgendaDAO() |
| 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(Agenda agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Agenda |
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<Agenda> |
selectAgendasList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the agenda objects and returns them as a collection
|
Collection<Integer> |
selectIdAgendasList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the agenda objects and returns them as a collection
|
void |
store(Agenda agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Agenda agenda, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAgendaDAOagenda - instance of the Agenda object to insertplugin - the Pluginpublic Agenda load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAgendaDAOnKey - The identifier of the agendaplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAgendaDAOnKey - The identifier of the Agenda to deleteplugin - the Pluginpublic void store(Agenda agenda, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAgendaDAOagenda - the reference of the Agendaplugin - the Pluginpublic Collection<Agenda> selectAgendasList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAgendasList in interface IAgendaDAOplugin - the Pluginpublic Collection<Integer> selectIdAgendasList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdAgendasList in interface IAgendaDAOplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.