public interface ISponsoredLinkDAO
| 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(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteBySet(int setId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete links owned by the specified SponsoredLinkSet
|
void |
deleteByTemplate(int templateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete links matching the specified SponsoredLinkTemplate
|
void |
insert(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Collection<SponsoredLink> |
selectAllBySet(int setId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of link owned by the specified SponsoredLinkSet
|
void |
store(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String SPRING_BEAN_ID
void insert(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
setId - The id of the owning SponsoredLinkSetlink - The SponsoredLink objectplugin - The pluginvoid delete(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
setId - The id of the owning SponsoredLinkSetlink - The SponsoredLink objectplugin - The pluginvoid deleteBySet(int setId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
setId - The id of the setplugin - The pluginvoid deleteByTemplate(int templateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
templateId - The id of the templateplugin - The pluginvoid store(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
setId - The id of the SponsoredLinkSetlink - The SponsoredLink object to storeplugin - The Plugin objectCollection<SponsoredLink> selectAllBySet(int setId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
setId - The id of the setplugin - The Plugin objectCopyright © 2015 City of Paris. All rights reserved.