Class ControlGroupHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ControlGroup create​(ControlGroup controlGroup)
      Create an instance of the controlGroup class
      static java.util.Optional<ControlGroup> findByPrimaryKey​(int nKey)
      Returns an instance of a controlGroup whose identifier is specified in parameter
      static java.util.List<ControlGroup> getControlGroupsList()
      Load the data of all the controlGroup objects and returns them as a list
      static java.util.List<ControlGroup> getControlGroupsListByIds​(java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      static fr.paris.lutece.util.ReferenceList getControlGroupsReferenceList()
      Load the data of all the controlGroup objects and returns them as a referenceList
      static java.util.List<java.lang.Integer> getIdControlGroupsList()
      Load the id of all the controlGroup objects and returns them as a list
      static fr.paris.lutece.util.ReferenceList getLogicalOperatorsReferenceList​(java.util.Locale locale)
      Load the data of all the logical operators from enum and returns them as a referenceList
      static void remove​(int nKey)
      Remove the controlGroup whose identifier is specified in parameter
      static ControlGroup update​(ControlGroup controlGroup)
      Update of the controlGroup 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 ControlGroup create​(ControlGroup controlGroup)
        Create an instance of the controlGroup class
        Parameters:
        controlGroup - The instance of the ControlGroup which contains the informations to store
        Returns:
        The instance of controlGroup which has been created with its primary key.
      • update

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

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

        public static java.util.Optional<ControlGroup> findByPrimaryKey​(int nKey)
        Returns an instance of a controlGroup whose identifier is specified in parameter
        Parameters:
        nKey - The controlGroup primary key
        Returns:
        an instance of ControlGroup
      • getControlGroupsList

        public static java.util.List<ControlGroup> getControlGroupsList()
        Load the data of all the controlGroup objects and returns them as a list
        Returns:
        the list which contains the data of all the controlGroup objects
      • getIdControlGroupsList

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

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

        public static fr.paris.lutece.util.ReferenceList getLogicalOperatorsReferenceList​(java.util.Locale locale)
        Load the data of all the logical operators from enum and returns them as a referenceList
        Parameters:
        locale - TODO
        Returns:
        the referenceList which contains the data of all the logical operators objects
      • getControlGroupsListByIds

        public static java.util.List<ControlGroup> getControlGroupsListByIds​(java.util.List<java.lang.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