public class SponsoredLinkDAO extends Object implements ISponsoredLinkDAO
SPRING_BEAN_ID| Constructor and Description |
|---|
SponsoredLinkDAO() |
| 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
|
public void insert(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISponsoredLinkDAOsetId - The id of the owning SponsoredLinkSetlink - The SponsoredLink objectplugin - The pluginpublic void delete(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISponsoredLinkDAOsetId - The id of the owning SponsoredLinkSetlink - The SponsoredLink objectplugin - The pluginpublic void deleteBySet(int setId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteBySet in interface ISponsoredLinkDAOsetId - The id of the setplugin - The pluginpublic void deleteByTemplate(int templateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTemplate in interface ISponsoredLinkDAOtemplateId - The id of the templateplugin - The pluginpublic void store(int setId,
SponsoredLink link,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISponsoredLinkDAOsetId - The id of the SponsoredLinkSetlink - The SponsoredLink object to storeplugin - The Plugin objectpublic Collection<SponsoredLink> selectAllBySet(int setId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllBySet in interface ISponsoredLinkDAOsetId - The id of the setplugin - The Plugin objectCopyright © 2015 City of Paris. All rights reserved.