Interface ISubscriptionLinkDAO

All Known Implementing Classes:
SubscriptionLinkDAO

public interface ISubscriptionLinkDAO
ISubscriptionLinkDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    boolean
    existDisabledNewsletter(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Return true if exist disabled newsletter
    void
    insert(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 table
    loadBySubscriptionId(int nSubscriptionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table by subscription id
    selectIdSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the subscriptionLink objects and returns them as a list
    selectSubscriptionLinksList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the subscriptionLink objects and returns them as a list
    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
    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
    void
    store(SubscriptionLink subscriptionLink, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • 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 insert
      plugin - 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 SubscriptionLink
      plugin - 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 delete
      plugin - 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 subscriptionLink
      plugin - 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 Plugin
      listIds - 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