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
|
Collection<Campaign> |
selectCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the campaign objects and returns them as a collection
|
Collection<Integer> |
selectIdCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the campaign objects and returns them as a collection
|
Campaign |
selectLastCampaign(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
Returns an instance which represents the last campaign
|
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 selectLastCampaign(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
plugin
- the PluginCollection<Campaign> selectCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCollection<Integer> selectIdCampaignsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCopyright © 2020 City of Paris. All rights reserved.