|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.right.FeatureGroupHome
public final class FeatureGroupHome
This class provides instances management methods (create, find, ...) for feature groups objects
Method Summary | |
---|---|
static int |
changeRightOrder(FeatureGroup featureGroup,
int nNewOrder)
Change the order in a Right |
static FeatureGroup |
create(FeatureGroup featureGroup)
Creation of an instance of an feature group |
static void |
deleteEntryFromList(int nOrderId)
Delete entry (specify by nOrderId) |
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 |
---|
public static FeatureGroup create(FeatureGroup featureGroup)
featureGroup
- An instance of an feature group which contains the informations to store
public static FeatureGroup update(FeatureGroup featureGroup)
featureGroup
- The instance of the feature group which contains the data to store
public static void remove(java.lang.String strId)
strId
- The identifier of the feature group to removepublic static void deleteEntryFromList(int nOrderId)
nOrderId
- The order to deletepublic static FeatureGroup findByPrimaryKey(java.lang.String strKey)
strKey
- The feature group primary key
public static java.util.List<FeatureGroup> getFeatureGroupsList()
public static int getFeatureGroupsCount()
public static int changeRightOrder(FeatureGroup featureGroup, int nNewOrder)
Right
featureGroup
- The FeatureGroup
nNewOrder
- The new place in the list or END_OF_LIST to place Right at the end
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |