public final class PollFormDAO extends Object implements IPollFormDAO
| Constructor and Description |
|---|
PollFormDAO() |
| 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(PollForm pollForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
PollForm |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdPollFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the pollForm objects and returns them as a list
|
List<PollForm> |
selectPollFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pollForm objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectPollFormsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pollForm objects and returns them as a referenceList
|
void |
store(PollForm pollForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(PollForm pollForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPollFormDAOpollForm - instance of the PollForm object to insertplugin - the Pluginpublic PollForm load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPollFormDAOnKey - The identifier of the pollFormplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPollFormDAOnKey - The identifier of the PollForm to deleteplugin - the Pluginpublic void store(PollForm pollForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPollFormDAOpollForm - the reference of the PollFormplugin - the Pluginpublic List<PollForm> selectPollFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollFormsList in interface IPollFormDAOplugin - the Pluginpublic List<Integer> selectIdPollFormsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdPollFormsList in interface IPollFormDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectPollFormsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollFormsReferenceList in interface IPollFormDAOplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.