Class ControlGroupHome


  • public final class ControlGroupHome
    extends Object
    This class provides instances management methods (create, find, ...) for ControlGroup objects
    • 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 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 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 List<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​(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 List<ControlGroup> getControlGroupsListByIds​(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