Interface ISubscriptionLinkDAO
-
- All Known Implementing Classes:
SubscriptionLinkDAO
public interface ISubscriptionLinkDAOISubscriptionLinkDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablebooleanexistDisabledNewsletter(fr.paris.lutece.portal.service.plugin.Plugin plugin)Return true if exist disabled newslettervoidinsert(SubscriptionLink subscriptionLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Optional<SubscriptionLink>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableOptional<SubscriptionLink>loadBySubscriptionId(int nSubscriptionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table by subscription idList<Integer>selectIdSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the subscriptionLink objects and returns them as a listList<SubscriptionLink>selectSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the subscriptionLink objects and returns them as a listList<SubscriptionLink>selectSubscriptionLinksListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds)Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectSubscriptionLinksReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the subscriptionLink objects and returns them as a referenceListvoidstore(SubscriptionLink subscriptionLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(SubscriptionLink subscriptionLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
subscriptionLink- instance of the SubscriptionLink object to insertplugin- the Plugin
-
store
void store(SubscriptionLink subscriptionLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
subscriptionLink- the reference of the SubscriptionLinkplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the SubscriptionLink to deleteplugin- the Plugin
-
load
Optional<SubscriptionLink> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the subscriptionLinkplugin- the Plugin- Returns:
- The instance of the subscriptionLink
-
loadBySubscriptionId
Optional<SubscriptionLink> loadBySubscriptionId(int nSubscriptionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table by subscription id- Parameters:
nSubscriptionId-plugin- the Plugin- Returns:
- The instance of the subscriptionLink
-
selectSubscriptionLinksList
List<SubscriptionLink> selectSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the subscriptionLink objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the subscriptionLink objects
-
selectIdSubscriptionLinksList
List<Integer> selectIdSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the subscriptionLink objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the subscriptionLink objects
-
selectSubscriptionLinksReferenceList
fr.paris.lutece.util.ReferenceList selectSubscriptionLinksReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the subscriptionLink objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the subscriptionLink objects
-
selectSubscriptionLinksListByIds
List<SubscriptionLink> selectSubscriptionLinksListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
existDisabledNewsletter
boolean existDisabledNewsletter(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return true if exist disabled newsletter- Parameters:
plugin-- Returns:
- Return true if exist disabled newsletter
-
-