DEPRECATED Replaced by PortletPreferences
PortletPreferences
The PortletPreferences
interface represents preferences
associated with a portlet instance.
Portlet preferences are name-value pairs of data. A named preference may have multiple values.
Portlet preferences may be specified at development time, be updated by portal administrators, and also be updated by portlets during actions.
A preference may be marked as read-only at deployment time. In such cases portlets can not modify such a preference. But administrators may still change the value of such a preference.
PortletPreferences
Method Summary |
public boolean |
|
public void | |
public void | |
public void |
|
Methods from interface javax.portlet. |
getMap, getNames, getValue, getValues, isReadOnly, reset, |
Method Detail |
DEPRECATED Use #isReadOnly
public boolean isModifiable(String
key)
Returns true
if the given preference is modifiable. Modifiable preferences
can be modified by a portlet in any mode during its action-processing phase.
DEPRECATED Replaced by PortletPreferences.setValue(String, String)
public void setValue(String
key,String
value)
throwsUnmodifiableException
Sets the value of the given preference.
UnmodifiableException
DEPRECATED Replaced by PortletPreferences.setValues(String, String[])
public void setValues(String
key,String
[] values)
throwsUnmodifiableException
Sets the value of the given preference.
UnmodifiableException
DEPRECATED Replaced by PortletPreferences.store()
public void store()
throwsIOException
Stores the current set of preferences.
IOException