Class GroupHome
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.GroupHome
-
public final class GroupHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Group right objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Groupcreate(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of a modestatic java.util.Collection<Group>findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the groups liststatic java.util.List<Group>findByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the filtered groups liststatic GroupfindByPrimaryKey(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of an group whose identifier is specified in parameterstatic fr.paris.lutece.util.ReferenceListgetGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the list of all groupsstatic voidremove(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the mode whose identifier is specified in parameterstatic Groupupdate(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the mode which is specified
-
-
-
Method Detail
-
create
public static Group create(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of a mode- Parameters:
group- An instance of a group which contains the informations to createplugin- Plugin- Returns:
- The instance of a mode which has been created with its primary key.
-
update
public static Group update(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the mode which is specified- Parameters:
group- The instance of the group which contains the data to storeplugin- Plugin- Returns:
- The instance of the mode which has been updated
-
remove
public static void remove(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the mode whose identifier is specified in parameter- Parameters:
strGroupKey- The identifier of the group to removeplugin- Plugin
-
findByPrimaryKey
public static Group findByPrimaryKey(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of an group whose identifier is specified in parameter- Parameters:
strGroupKey- The mode primary keyplugin- Plugin- Returns:
- an instance of a group
-
getGroupsList
public static fr.paris.lutece.util.ReferenceList getGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of all groups- Parameters:
plugin- Plugin- Returns:
- A ReferenceList of groups
-
findAll
public static java.util.Collection<Group> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the groups list- Parameters:
plugin- Plugin- Returns:
- Collection of Group
-
findByFilter
public static java.util.List<Group> findByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the filtered groups list- Parameters:
gFilter- filterplugin- Plugin- Returns:
- List of Group
-
-