Class SubscriptionLinkHome

java.lang.Object
fr.paris.lutece.plugins.broadcastproxy.business.SubscriptionLinkHome

public final class SubscriptionLinkHome extends Object
This class provides instances management methods (create, find, ...) for SubscriptionLink objects
  • Method Details

    • create

      public static SubscriptionLink create(SubscriptionLink subscriptionLink)
      Create an instance of the subscriptionLink class
      Parameters:
      subscriptionLink - The instance of the SubscriptionLink which contains the informations to store
      Returns:
      The instance of subscriptionLink which has been created with its primary key.
    • update

      public static SubscriptionLink update(SubscriptionLink subscriptionLink)
      Update of the subscriptionLink which is specified in parameter
      Parameters:
      subscriptionLink - The instance of the SubscriptionLink which contains the data to store
      Returns:
      The instance of the subscriptionLink which has been updated
    • remove

      public static void remove(int nKey)
      Remove the subscriptionLink whose identifier is specified in parameter
      Parameters:
      nKey - The subscriptionLink Id
    • findByPrimaryKey

      public static Optional<SubscriptionLink> findByPrimaryKey(int nKey)
      Returns an instance of a subscriptionLink whose identifier is specified in parameter
      Parameters:
      nKey - The subscriptionLink primary key
      Returns:
      an instance of SubscriptionLink
    • findBySubscriptionId

      public static Optional<SubscriptionLink> findBySubscriptionId(int nSubscriptionId)
      Returns an instance of a subscriptionLink whose identifier is specified in parameter
      Parameters:
      nSubscriptionId - The subscriptionLink subscription id
      Returns:
      an instance of SubscriptionLink
    • getSubscriptionLinksList

      public static List<SubscriptionLink> getSubscriptionLinksList()
      Load the data of all the subscriptionLink objects and returns them as a list
      Returns:
      the list which contains the data of all the subscriptionLink objects
    • getIdSubscriptionLinksList

      public static List<Integer> getIdSubscriptionLinksList()
      Load the id of all the subscriptionLink objects and returns them as a list
      Returns:
      the list which contains the id of all the subscriptionLink objects
    • getSubscriptionLinksReferenceList

      public static fr.paris.lutece.util.ReferenceList getSubscriptionLinksReferenceList()
      Load the data of all the subscriptionLink objects and returns them as a referenceList
      Returns:
      the referenceList which contains the data of all the subscriptionLink objects
    • getSubscriptionLinksListByIds

      public static List<SubscriptionLink> getSubscriptionLinksListByIds(List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Parameters:
      listIds - liste of ids
      Returns:
      the list which contains the data of all the avant objects
    • existDisabledNewsletter

      public static boolean existDisabledNewsletter()
      Return true if exist disabled newsletter
      Parameters:
      plugin -
      Returns:
      Return true if exist disabled newsletter