Class FeatureGroup
- java.lang.Object
-
- fr.paris.lutece.portal.business.right.FeatureGroup
-
public class FeatureGroup extends java.lang.ObjectThis class represents business objects feature group
-
-
Constructor Summary
Constructors Constructor Description FeatureGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFeature(Right right)Add a feature to the groupjava.lang.StringgetDescription()Returns the description of this feature group.java.lang.StringgetDescriptionKey()Returns the description of this feature group.java.util.Collection<Right>getFeatures()Returns all features affected to the groupjava.lang.StringgetIcon()Returns the icon of this feature group.java.lang.StringgetId()Returns the identifier of this feature groupjava.lang.StringgetLabel()Returns the label of this feature group.java.lang.StringgetLabelKey()Returns the label of this feature group.intgetOrder()Returns the order of this feature group.ReferenceItemgetReferenceItem()Returns a reference item for the feature groupbooleanisEmpty()Tells whether or not the feature list is emptyvoidsetDescriptionKey(java.lang.String strDescriptionKey)Sets the description of the feature group to the specified string.voidsetIcon(java.lang.String strIcon)Sets the icon of the feature group to the specified string.voidsetId(java.lang.String strId)Sets the identifier of the feature group to the specified string.voidsetLabelKey(java.lang.String strLabelKey)Sets the label of the feature group to the specified string.voidsetLocale(java.util.Locale locale)Sets the locale to usevoidsetOrder(int nOrder)Sets the order of the feature group to the specified int.
-
-
-
Method Detail
-
setLocale
public void setLocale(java.util.Locale locale)
Sets the locale to use- Parameters:
locale- the locale to use
-
getId
public java.lang.String getId()
Returns the identifier of this feature group- Returns:
- the identifier of this feature group
-
setId
public void setId(java.lang.String strId)
Sets the identifier of the feature group to the specified string.- Parameters:
strId- the new identifier
-
getLabelKey
public java.lang.String getLabelKey()
Returns the label of this feature group.- Returns:
- the feature group label
-
getLabel
public java.lang.String getLabel()
Returns the label of this feature group.- Returns:
- the feature group label
-
setLabelKey
public void setLabelKey(java.lang.String strLabelKey)
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
public java.lang.String getDescriptionKey()
Returns the description of this feature group.- Returns:
- the feature group description
-
getDescription
public java.lang.String getDescription()
Returns the description of this feature group.- Returns:
- the feature group description
-
setDescriptionKey
public void setDescriptionKey(java.lang.String strDescriptionKey)
Sets the description of the feature group to the specified string.- Parameters:
strDescriptionKey- the new description
-
addFeature
public void addFeature(Right right)
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
public java.util.Collection<Right> getFeatures()
Returns all features affected to the group- Returns:
- a collection
-
getReferenceItem
public ReferenceItem getReferenceItem()
Returns a reference item for the feature group- Returns:
- a reference item
-
getIcon
public java.lang.String getIcon()
Returns the icon of this feature group.- Returns:
- the feature group icon
-
setIcon
public void setIcon(java.lang.String strIcon)
Sets the icon of the feature group to the specified string.- Parameters:
strIcon- the new icon
-
-