public interface ISponsoredLinkTemplateDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
SPRING_BEAN_ID
Unique id for spring bean declaration in the plugin context
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(SponsoredLinkTemplate template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(SponsoredLinkTemplate template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
SponsoredLinkTemplate |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the template whose id is specified
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<SponsoredLinkTemplate> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of templates
|
Collection<SponsoredLinkTemplate> |
selectByResourceType(String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select template linked to the specified resource type
|
void |
store(SponsoredLinkTemplate template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String SPRING_BEAN_ID
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin using this data access servicevoid insert(SponsoredLinkTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
template - the SponsoredLinkTemplate object to insertplugin - the Plugin using this data access serviceSponsoredLinkTemplate load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the identifier of the SponsoredLinkTemplate object to loadplugin - the Plugin using this data access servicevoid delete(SponsoredLinkTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
template - the SponsoredLinkTemplate object to delete form tableplugin - the Plugin using this data access servicevoid store(SponsoredLinkTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
template - the reference of the SponsoredLinkTemplate object to storeplugin - The Plugin objectCollection<SponsoredLinkTemplate> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin objectCollection<SponsoredLinkTemplate> selectByResourceType(String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - The id of the linked resource typeplugin - The PluginCopyright © 2015 City of Paris. All rights reserved.