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

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

public class FeatureGroup
extends java.lang.Object

This class represents business objects feature group


Constructor Summary
FeatureGroup()
           
 
Method Summary
 void addFeature(Right right)
          Add a feature to the group
 java.lang.String getDescription()
          Returns the description of this feature group.
 java.lang.String getDescriptionKey()
          Returns the description of this feature group.
 java.util.Collection<Right> getFeatures()
          Returns all features affected to the group
 java.lang.String getId()
          Returns the identifier of this feature group
 java.lang.String getLabel()
          Returns the label of this feature group.
 java.lang.String getLabelKey()
          Returns the label of this feature group.
 int getOrder()
          Returns the order of this feature group.
 boolean isEmpty()
          Tells whether or not the feature list is empty
 void setDescriptionKey(java.lang.String strDescriptionKey)
          Sets the description of the feature group to the specified string.
 void setId(java.lang.String strId)
          Sets the identifier of the feature group to the specified string.
 void setLabelKey(java.lang.String strLabelKey)
          Sets the label of the feature group to the specified string.
 void setLocale(java.util.Locale locale)
          Sets the locale to use
 void setOrder(int nOrder)
          Sets the order of the feature group to the specified int.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureGroup

public FeatureGroup()
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


Copyright © 2012 Mairie de Paris. All Rights Reserved.