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

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

public class FeatureGroup
extends Object

This class represents business objects feature group


Constructor Summary
FeatureGroup()
           
 
Method Summary
 void addFeature(Right right)
          Add a feature to the group
 String getDescription()
          Returns the description of this feature group.
 String getDescriptionKey()
          Returns the description of this feature group.
 Collection<Right> getFeatures()
          Returns all features affected to the group
 String getId()
          Returns the identifier of this feature group
 String getLabel()
          Returns the label of this feature group.
 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(String strDescriptionKey)
          Sets the description of the feature group to the specified string.
 void setId(String strId)
          Sets the identifier of the feature group to the specified string.
 void setLabelKey(String strLabelKey)
          Sets the label of the feature group to the specified string.
 void setLocale(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(Locale locale)
Sets the locale to use

Parameters:
locale - the locale to use

getId

public String getId()
Returns the identifier of this feature group

Returns:
the identifier of this feature group

setId

public void setId(String strId)
Sets the identifier of the feature group to the specified string.

Parameters:
strId - the new identifier

getLabelKey

public String getLabelKey()
Returns the label of this feature group.

Returns:
the feature group label

getLabel

public String getLabel()
Returns the label of this feature group.

Returns:
the feature group label

setLabelKey

public void setLabelKey(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 String getDescriptionKey()
Returns the description of this feature group.

Returns:
the feature group description

getDescription

public String getDescription()
Returns the description of this feature group.

Returns:
the feature group description

setDescriptionKey

public void setDescriptionKey(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 Collection<Right> getFeatures()
Returns all features affected to the group

Returns:
a collection


Copyright © 2014 Mairie de Paris. All Rights Reserved.