fr.paris.lutece.portal.business.group
Class GroupHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.group.GroupHome

public final class GroupHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for Group right objects


Method Summary
static Group create(Group group)
          Creation of an instance of a mode
static java.util.Collection<Group> findAll()
          Returns the groups list
static Group findByPrimaryKey(java.lang.String strGroupKey)
          Returns an instance of an group whose identifier is specified in parameter
static ReferenceList getGroupsList()
          Return the list of all groups
static void remove(java.lang.String strGroupKey)
          Remove the mode whose identifier is specified in parameter
static Group update(Group group)
          Update of the mode which is specified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Group create(Group group)
Creation of an instance of a mode

Parameters:
group - An instance of a group which contains the informations to create
Returns:
The instance of a mode which has been created with its primary key.

update

public static Group update(Group group)
Update of the mode which is specified

Parameters:
group - The instance of the group which contains the data to store
Returns:
The instance of the mode which has been updated

remove

public static void remove(java.lang.String strGroupKey)
Remove the mode whose identifier is specified in parameter

Parameters:
strGroupKey - The identifier of the group to remove

findByPrimaryKey

public static Group findByPrimaryKey(java.lang.String strGroupKey)
Returns an instance of an group whose identifier is specified in parameter

Parameters:
strGroupKey - The mode primary key
Returns:
an instance of a group

getGroupsList

public static ReferenceList getGroupsList()
Return the list of all groups

Returns:
A ReferenceList of groups

findAll

public static java.util.Collection<Group> findAll()
Returns the groups list

Returns:
Collection of Group


Copyright © 2007 Mairie de Paris. All Rights Reserved.