Class ControlGroupHome
java.lang.Object
fr.paris.lutece.plugins.forms.business.ControlGroupHome
This class provides instances management methods (create, find, ...) for ControlGroup objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic ControlGroupcreate(ControlGroup controlGroup) Create an instance of the controlGroup classstatic Optional<ControlGroup>findByPrimaryKey(int nKey) Returns an instance of a controlGroup whose identifier is specified in parameterstatic List<ControlGroup>Load the data of all the controlGroup objects and returns them as a liststatic List<ControlGroup>getControlGroupsListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the controlGroup objects and returns them as a referenceListLoad the id of all the controlGroup objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the logical operators from enum and returns them as a referenceListstatic voidremove(int nKey) Remove the controlGroup whose identifier is specified in parameterstatic ControlGroupupdate(ControlGroup controlGroup) Update of the controlGroup which is specified in parameter
-
Method Details
-
create
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
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
Returns an instance of a controlGroup whose identifier is specified in parameter- Parameters:
nKey- The controlGroup primary key- Returns:
- an instance of 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
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
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
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
-