|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated Replaced by PortletPreferences
@Deprecated
public interface 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.
Method Summary | |
---|---|
boolean |
isModifiable(String key) Deprecated Use #isReadOnly |
void |
setValue(String key, String value) Deprecated Replaced by PortletPreferences.setValue(String, String) |
void |
setValues(String key, String[] values) Deprecated Replaced by PortletPreferences.setValues(String, String[]) |
void |
store() Deprecated Replaced by PortletPreferences.store() |
Methods inherited from interface javax.portlet.PortletPreferences |
---|
getMap, getNames, getValue, getValues, isReadOnly, reset |
Method Detail |
---|
@Deprecated
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.
key
- name of the preference
@Deprecated
void setValue(String key,
String value)
throws UnmodifiableException
PortletPreferences.setValue(String, String)
Sets the value of the given preference.
setValue
in interface PortletPreferences
key
- name of the preferencevalue
- value to be setUnmodifiableException
- thrown if the preference is marked read-onlyPortletPreferences.setValues(String, String[])
@Deprecated
void setValues(String key,
String[] values)
throws UnmodifiableException
PortletPreferences.setValues(String, String[])
Sets the value of the given preference.
setValues
in interface PortletPreferences
key
- name of the preferencevalues
- value to be setUnmodifiableException
- thrown if the preference is marked read-onlyPortletPreferences.setValue(String,String)
@Deprecated
void store()
throws IOException
PortletPreferences.store()
Stores the current set of preferences.
store
in interface PortletPreferences
IOException
- thrown if there is an error while storing the preferencesUnsupportedOperationException
- if this method is called inside a render call, or if customization is not enabled.SecurityException
- if the current user has insufficient privileges to modify preferences.PreferencesValidator
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.