Class GroupHome
java.lang.Object
fr.paris.lutece.plugins.forms.business.GroupHome
This class provides instances management methods (create, find, ...) for Group objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupCreate an instance of the group classstatic GroupfindByPrimaryKey(int nKey) Returns an instance of a group whose identifier is specified in parameterLoad the data of all the group objects and returns them as a listgetGroupsListByIdStepList(List<Integer> idStepList) Load the data of all the group objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the group objects and returns them as a referenceListLoad the id of all the group objects and returns them as a liststatic voidremove(int nKey) Remove the group whose identifier is specified in parameterstatic GroupUpdate of the group which is specified in parameter
-
Method Details
-
create
Create an instance of the group class- Parameters:
group- The instance of the Group which contains the informations to store- Returns:
- The instance of group which has been created with its primary key.
-
update
Update of the group which is specified in parameter- Parameters:
group- The instance of the Group which contains the data to store- Returns:
- The instance of the group which has been updated
-
remove
public static void remove(int nKey) Remove the group whose identifier is specified in parameter- Parameters:
nKey- The group Id
-
findByPrimaryKey
Returns an instance of a group whose identifier is specified in parameter- Parameters:
nKey- The group primary key- Returns:
- an instance of Group
-
getGroupsList
Load the data of all the group objects and returns them as a list- Returns:
- the list which contains the data of all the group objects
-
getIdGroupsList
Load the id of all the group objects and returns them as a list- Returns:
- the list which contains the id of all the group objects
-
getGroupsReferenceList
public static fr.paris.lutece.util.ReferenceList getGroupsReferenceList()Load the data of all the group objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the group objects
-
getGroupsListByIdStepList
Load the data of all the group objects and returns them as a list- Parameters:
idStepList-- Returns:
- the list which contains the data of all the group objects
-