Interface ISubscriptionLinkDAO
- All Known Implementing Classes:
SubscriptionLinkDAO
public interface ISubscriptionLinkDAO
ISubscriptionLinkDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadBySubscriptionId(int nSubscriptionId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table by subscription idselectIdSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the subscriptionLink objects and returns them as a listselectSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the subscriptionLink objects and returns them as a listselectSubscriptionLinksListByIds(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 Details
-
insert
Insert a new record in the table.- Parameters:
subscriptionLink- instance of the SubscriptionLink object to insertplugin- the Plugin
-
store
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
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
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
-