org.jboss.portal.portlet.info
Interface PreferenceInfo

All Known Implementing Classes:
ContainerPreferenceInfo, PreferenceInfoSupport

public interface PreferenceInfo

Describes a Portlet preference.

Since:
2.4
Version:
$Revision: 6818 $
Author:
Julien Viet

Method Summary
 LocalizedString getDescription()
          Retrieves the localized description of the described preference.
 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.
 

Method Detail

getKey

java.lang.String getKey()
Retrieves the key associated to the described preference.

Returns:
the key associated to the described preference.

getDisplayName

LocalizedString getDisplayName()
Retrieves the localized display name of the described preference.

Returns:
the localized display name of the described preference.
See Also:
LocalizedString

getDescription

LocalizedString getDescription()
Retrieves the localized description of the described preference.

Returns:
the localized description of the described preference.
See Also:
LocalizedString

isReadOnly

java.lang.Boolean isReadOnly()
Return true if the preference is read-only, false otherwise or null if it cannot be determined.

Returns:
true if the described preference is read-only, false otherwise.