com.endeca.portal.attributes.model
Class Group

java.lang.Object
  extended by com.endeca.portal.attributes.model.BasePropertyContainer
      extended by com.endeca.portal.attributes.model.Group

public class Group
extends BasePropertyContainer

Represents a group object serializable via Jackson

Author:
Endeca Technologies, Inc

Field Summary
static java.lang.String ATTRIBUTE_KEYS_PROPERTY
           
static java.lang.String DISPLAY_NAME_PROPERTY
           
static java.lang.String IS_CATCHALL_PROPERTY
           
static java.lang.String LOCALIZED_DISPLAY_NAME_PROPERTY
           
static java.lang.String SYSTEM_LOCALIZED_DN_SETTINGS
           
 
Fields inherited from class com.endeca.portal.attributes.model.BasePropertyContainer
KEY_PROPERTY, properties
 
Constructor Summary
Group()
           
 
Method Summary
 java.util.List<java.lang.String> getAttributeKeys()
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayName(java.util.Locale locale)
          Get display name by locale settings
 java.lang.String getDisplayName(javax.portlet.PortletRequest request)
          Get display name by request
 java.lang.String getDisplayName(java.lang.String languageId)
          Get display name bu language id
 java.lang.String getLocalizedDisplayName()
           
 boolean isCatchAll()
           
 void setAttributeKeys(java.util.List<java.lang.String> attributeKeys)
           
 void setCatchAll(boolean isCatchAll)
          Sets whether or not this is a catch-all group
 void setDisplayName(java.lang.String displayName)
           
 void setLocalizedDisplayName(java.lang.String displayName)
           
 
Methods inherited from class com.endeca.portal.attributes.model.BasePropertyContainer
addProperty, getKey, getProperties, getProperty, getProperty, isEmpty, isValid, setKey, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DISPLAY_NAME_PROPERTY

public static final java.lang.String DISPLAY_NAME_PROPERTY
See Also:
Constant Field Values

LOCALIZED_DISPLAY_NAME_PROPERTY

public static final java.lang.String LOCALIZED_DISPLAY_NAME_PROPERTY
See Also:
Constant Field Values

ATTRIBUTE_KEYS_PROPERTY

public static final java.lang.String ATTRIBUTE_KEYS_PROPERTY
See Also:
Constant Field Values

IS_CATCHALL_PROPERTY

public static final java.lang.String IS_CATCHALL_PROPERTY
See Also:
Constant Field Values

SYSTEM_LOCALIZED_DN_SETTINGS

public static final java.lang.String SYSTEM_LOCALIZED_DN_SETTINGS
See Also:
Constant Field Values
Constructor Detail

Group

public Group()
Method Detail

setDisplayName

public void setDisplayName(java.lang.String displayName)
Parameters:
displayName - the displayName to set

getDisplayName

public java.lang.String getDisplayName()
Returns:
the displayName

getDisplayName

public java.lang.String getDisplayName(java.lang.String languageId)
Get display name bu language id

Parameters:
languageId -
Returns:

getDisplayName

public java.lang.String getDisplayName(java.util.Locale locale)
Get display name by locale settings

Parameters:
locale -
Returns:

getDisplayName

public java.lang.String getDisplayName(javax.portlet.PortletRequest request)
Get display name by request

Parameters:
locale -
Returns:

setLocalizedDisplayName

public void setLocalizedDisplayName(java.lang.String displayName)
Parameters:
LocalizedDisplayName - the LocalizedDisplayName to set

getLocalizedDisplayName

public java.lang.String getLocalizedDisplayName()
Returns:
the LocalizedDisplayName

isCatchAll

public boolean isCatchAll()
Returns:
true if this is a "catch all" group

setCatchAll

public void setCatchAll(boolean isCatchAll)
Sets whether or not this is a catch-all group

Parameters:
isCatchAll -

setAttributeKeys

public void setAttributeKeys(java.util.List<java.lang.String> attributeKeys)
Parameters:
attributeKeys - the attributeKeys to set

getAttributeKeys

public java.util.List<java.lang.String> getAttributeKeys()
Returns:
the attributeKeys