站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ContainerPreferenceInfo - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.container.info
Class ContainerPreferenceInfo

java.lang.Object
  extended byorg.jboss.portal.portlet.container.info.ContainerPreferenceInfo
All Implemented Interfaces:
PreferenceInfo

public class ContainerPreferenceInfo
extends java.lang.Object
implements PreferenceInfo


Constructor Summary
ContainerPreferenceInfo(java.lang.String key, LocalizedString displayName, boolean readOnly, Value value)
           
 
Method Summary
 Value getDefaultValue()
          Return the default value or null if it cannot be determined.
 LocalizedString getDisplayName()
          Retrieves the localized display name of the described preference.
 java.lang.String getKey()
          Retrieves the key associated to the described preference.
 java.lang.Boolean isReadOnly()
          Return true if the preference is read-only, false otherwise or null if it cannot be determined.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerPreferenceInfo

public ContainerPreferenceInfo(java.lang.String key,
                               LocalizedString displayName,
                               boolean readOnly,
                               Value value)
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: PreferenceInfo
Retrieves the key associated to the described preference.

Specified by:
getKey in interface PreferenceInfo
Returns:
the key associated to the described preference.

getDisplayName

public LocalizedString getDisplayName()
Description copied from interface: PreferenceInfo
Retrieves the localized display name of the described preference.

Specified by:
getDisplayName in interface PreferenceInfo
Returns:
the localized display name of the described preference.
See Also:
LocalizedString

isReadOnly

public java.lang.Boolean isReadOnly()
Description copied from interface: PreferenceInfo
Return true if the preference is read-only, false otherwise or null if it cannot be determined.

Specified by:
isReadOnly in interface PreferenceInfo
Returns:
true if the described preference is read-only, false otherwise.

getDefaultValue

public Value getDefaultValue()
Description copied from interface: PreferenceInfo
Return the default value or null if it cannot be determined.

Specified by:
getDefaultValue in interface PreferenceInfo
Returns:
the default value