Class GroupHome
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.GroupHome
-
public final class GroupHome extends Object
This class provides instances management methods (create, find, ...) for Group objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Groupcreate(Group group)Create an instance of the group classstatic GroupfindByPrimaryKey(int nKey)Returns an instance of a group whose identifier is specified in parameterstatic List<Group>getGroupsList()Load the data of all the group objects and returns them as a liststatic List<Group>getGroupsListByIdStepList(List<Integer> idStepList)Load the data of all the group objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetGroupsReferenceList()Load the data of all the group objects and returns them as a referenceListstatic List<Integer>getIdGroupsList()Load 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(Group group)Update of the group which is specified in parameter
-
-
-
Method Detail
-
create
public static Group create(Group group)
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
public static Group update(Group group)
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
public static Group findByPrimaryKey(int nKey)
Returns an instance of a group whose identifier is specified in parameter- Parameters:
nKey- The group primary key- Returns:
- an instance of Group
-
getGroupsList
public static List<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
public static List<Integer> 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
-
-