Class FeatureGroup
java.lang.Object
fr.paris.lutece.portal.business.right.FeatureGroup
This class represents business objects feature group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeature(Right right) Add a feature to the groupReturns the description of this feature group.Returns the description of this feature group.Returns all features affected to the groupgetIcon()Returns the icon of this feature group.getId()Returns the identifier of this feature groupgetLabel()Returns the label of this feature group.Returns the label of this feature group.intgetOrder()Returns the order of this feature group.Returns a reference item for the feature groupbooleanisEmpty()Tells whether or not the feature list is emptyvoidsetDescriptionKey(String strDescriptionKey) Sets the description of the feature group to the specified string.voidSets the icon of the feature group to the specified string.voidSets the identifier of the feature group to the specified string.voidsetLabelKey(String strLabelKey) Sets the label of the feature group to the specified string.voidSets the locale to usevoidsetOrder(int nOrder) Sets the order of the feature group to the specified int.
-
Constructor Details
-
FeatureGroup
public FeatureGroup()
-
-
Method Details
-
setLocale
Sets the locale to use- Parameters:
locale- the locale to use
-
getId
Returns the identifier of this feature group- Returns:
- the identifier of this feature group
-
setId
Sets the identifier of the feature group to the specified string.- Parameters:
strId- the new identifier
-
getLabelKey
Returns the label of this feature group.- Returns:
- the feature group label
-
getLabel
Returns the label of this feature group.- Returns:
- the feature group label
-
setLabelKey
Sets the label of the feature group to the specified string.- Parameters:
strLabelKey- the new label
-
getOrder
public int getOrder()Returns the order of this feature group.- Returns:
- the feature group order
-
setOrder
public void setOrder(int nOrder) Sets the order of the feature group to the specified int.- Parameters:
nOrder- the new level
-
getDescriptionKey
Returns the description of this feature group.- Returns:
- the feature group description
-
getDescription
Returns the description of this feature group.- Returns:
- the feature group description
-
setDescriptionKey
Sets the description of the feature group to the specified string.- Parameters:
strDescriptionKey- the new description
-
addFeature
Add a feature to the group- Parameters:
right- The feature to add
-
isEmpty
public boolean isEmpty()Tells whether or not the feature list is empty- Returns:
- _aFeaturesList
-
getFeatures
Returns all features affected to the group- Returns:
- a collection
-
getReferenceItem
Returns a reference item for the feature group- Returns:
- a reference item
-
getIcon
Returns the icon of this feature group.- Returns:
- the feature group icon
-
setIcon
Sets the icon of the feature group to the specified string.- Parameters:
strIcon- the new icon
-