Class SubscriptionHome


  • public final class SubscriptionHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for Subscription objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Subscription create​(Subscription subscription)
      Create an instance of the subscription class
      static Subscription findByPrimaryKey​(int nKey)
      Returns an instance of a subscription whose identifier is specified in parameter
      static java.util.List<java.lang.Integer> getIdSubscriptionsList()
      Load the id of all the subscription objects and returns them as a list
      static java.util.List<Subscription> getSubscriptionsList()
      Load the data of all the subscription objects and returns them as a list
      static fr.paris.lutece.util.ReferenceList getSubscriptionsReferenceList()
      Load the data of all the subscription objects and returns them as a referenceList
      static void remove​(int nKey)
      Remove the subscription whose identifier is specified in parameter
      static Subscription update​(Subscription subscription)
      Update of the subscription which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

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

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

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

        public static Subscription findByPrimaryKey​(int nKey)
        Returns an instance of a subscription whose identifier is specified in parameter
        Parameters:
        nKey - The subscription primary key
        Returns:
        an instance of Subscription
      • getSubscriptionsList

        public static java.util.List<Subscription> getSubscriptionsList()
        Load the data of all the subscription objects and returns them as a list
        Returns:
        the list which contains the data of all the subscription objects
      • getIdSubscriptionsList

        public static java.util.List<java.lang.Integer> getIdSubscriptionsList()
        Load the id of all the subscription objects and returns them as a list
        Returns:
        the list which contains the id of all the subscription objects
      • getSubscriptionsReferenceList

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