public interface ICampaignDAO
| 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(Campaign campaign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Campaign |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Campaign |
loadByCampaignCode(String campaignCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Campaign> |
selectCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the campaign objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectCampaignsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the campaign objects and returns them as a referenceList
|
List<Integer> |
selectIdCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the campaign objects and returns them as a list
|
void |
store(Campaign campaign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Campaign campaign, fr.paris.lutece.portal.service.plugin.Plugin plugin)
campaign - instance of the Campaign object to insertplugin - the Pluginvoid store(Campaign campaign, fr.paris.lutece.portal.service.plugin.Plugin plugin)
campaign - the reference of the Campaignplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Campaign to deleteplugin - the PluginCampaign load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the campaignplugin - the PluginCampaign loadByCampaignCode(String campaignCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
campaignCode - The code of the campaignplugin - the PluginList<Campaign> selectCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectCampaignsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginCopyright © 2021 City of Paris. All rights reserved.