fr.paris.lutece.portal.business.right
Class FeatureGroupHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.right.FeatureGroupHome

public final class FeatureGroupHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for feature groups objects


Method Summary
static FeatureGroup create(FeatureGroup featureGroup)
          Creation of an instance of an feature group
static FeatureGroup findByPrimaryKey(java.lang.String strKey)
          Returns an instance of an feature group whose identifier is specified in parameter
static int getFeatureGroupsCount()
          Gets the count of groups
static java.util.List<FeatureGroup> getFeatureGroupsList()
          Loads the data of all the feature groups and returns them in form of a collection
static void remove(java.lang.String strId)
          Remove the feature group whose identifier is specified in parameter
static FeatureGroup update(FeatureGroup featureGroup)
          Update of the feature group 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 FeatureGroup create(FeatureGroup featureGroup)
Creation of an instance of an feature group

Parameters:
featureGroup - An instance of an feature group which contains the informations to store
Returns:
The instance of an feature group which has been created with its primary key.

update

public static FeatureGroup update(FeatureGroup featureGroup)
Update of the feature group which is specified

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

remove

public static void remove(java.lang.String strId)
Remove the feature group whose identifier is specified in parameter

Parameters:
strId - The identifier of the feature group to remove

findByPrimaryKey

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

Parameters:
strKey - The feature group primary key
Returns:
an instance of an feature group

getFeatureGroupsList

public static java.util.List<FeatureGroup> getFeatureGroupsList()
Loads the data of all the feature groups and returns them in form of a collection

Returns:
the collection which contains the data of all the feature groups

getFeatureGroupsCount

public static int getFeatureGroupsCount()
Gets the count of groups

Returns:
the count of groups


Copyright © 2007 Mairie de Paris. All Rights Reserved.