Class ControlGroupHome
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.ControlGroupHome
-
public final class ControlGroupHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for ControlGroup objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlGroupcreate(ControlGroup controlGroup)Create an instance of the controlGroup classstatic java.util.Optional<ControlGroup>findByPrimaryKey(int nKey)Returns an instance of a controlGroup whose identifier is specified in parameterstatic java.util.List<ControlGroup>getControlGroupsList()Load the data of all the controlGroup objects and returns them as a liststatic 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 liststatic fr.paris.lutece.util.ReferenceListgetControlGroupsReferenceList()Load the data of all the controlGroup objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdControlGroupsList()Load the id of all the controlGroup objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetLogicalOperatorsReferenceList(java.util.Locale locale)Load 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 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
-
-