Class FeatureGroup

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

public class FeatureGroup extends Object
This class represents business objects feature group
  • Constructor Details

    • FeatureGroup

      public FeatureGroup()
  • Method Details

    • 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
    • getReferenceItem

      public ReferenceItem getReferenceItem()
      Returns a reference item for the feature group
      Returns:
      a reference item
    • getIcon

      public String getIcon()
      Returns the icon of this feature group.
      Returns:
      the feature group icon
    • setIcon

      public void setIcon(String strIcon)
      Sets the icon of the feature group to the specified string.
      Parameters:
      strIcon - the new icon