|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.portal.provider.v2.preference.NameValuePreferenceDataObject oracle.portal.provider.v2.personalize.NameValuePersonalizationObject
public class NameValuePersonalizationObject
Base customization data class. Manages customization data all portlets should support. By default, this is the portlet's title and short title.
Generally, portlets should support customization even if they only allow a user to customize the titlebar. Portlets providing further customization (data) should use a subclassed version of this class as a data class and override the init() method so that further data items can be defaulted.
Constructor Summary | |
---|---|
NameValuePersonalizationObject()
Null Constructor. |
Method Summary | |
---|---|
java.lang.String |
getPortletShortTitle()
Gets the string to be displayed for the Portlet's title when there is limited space. |
java.lang.String |
getPortletTitle()
Gets the string to be displayed on the Portlet's title bar. |
java.lang.String |
getReferencePath()
Gets the the identifying path string used to store and retrieve the contents of this PersonalizationObject from the storage medium |
void |
init(PortletReference pr)
Init method used to initialize the data object after instantiation via its null constructor. |
void |
setPortletShortTitle(java.lang.String title)
Sets the string to be displayed for the Portlet's title when there is limited space. |
void |
setPortletTitle(java.lang.String title)
Sets the string to be displayed on the Portlet's title bar. |
void |
setReferencePath(java.lang.String path)
Optionally records the identifying path string used to store and retrieve the contents of this PersonalizationObject from the storage medium |
Methods inherited from class oracle.portal.provider.v2.preference.NameValuePreferenceDataObject |
---|
getBoolean, getBooleanArray, getContentVersion, getDouble, getDoubleArray, getFloat, getFloatArray, getInteger, getIntegerArray, getLong, getLongArray, getNames, getString, getStringArray, putBoolean, putBooleanArray, putDouble, putDoubleArray, putFloat, putFloatArray, putInteger, putIntegerArray, putLong, putLongArray, putString, putStringArray, read, remove, setContentVersion, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.portal.provider.v2.preference.PreferenceDataObject |
---|
getContentVersion, read, setContentVersion, write |
Constructor Detail |
---|
public NameValuePersonalizationObject()
Method Detail |
---|
public void init(PortletReference pr)
Behavior is to initialize the title using the (static) title from the
portlet metadata (portlet.getTitle()
). The portlet's
default Locale is used to retrieve the title.
init
in interface PersonalizationObject
pr
- the portlet reference used to initialize this object.public void setReferencePath(java.lang.String path)
path
- identifying path against which the
PersonalizationObject data is storedpublic java.lang.String getReferencePath()
public void setPortletTitle(java.lang.String title)
title
- string to be displayed on the Portlet's title bar.public java.lang.String getPortletTitle()
public void setPortletShortTitle(java.lang.String title)
title
- string to be displayed for the Portlet's title when there
is limited space.public java.lang.String getPortletShortTitle()
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |