Class PortletPreferencesImpl
java.lang.Object
org.gatein.pc.portlet.impl.jsr168.api.PortletPreferencesImpl
- All Implemented Interfaces:
javax.portlet.PortletPreferences
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates the object is used during a action phase.protected final ContainerPreferencesInfo.protected static final org.exoplatform.services.log.LogThe logger.protected final int.protected final org.gatein.pc.api.state.PropertyContext.static final intIndicates the object is used during a render phase.Keep track of updatesprotected final javax.portlet.PreferencesValidator. -
Constructor Summary
ConstructorsConstructorDescriptionPortletPreferencesImpl(org.gatein.pc.api.state.PropertyContext prefs, ContainerPreferencesInfo containerPrefs, javax.portlet.PreferencesValidator validator, int mode) -
Method Summary
-
Field Details
-
log
protected static final org.exoplatform.services.log.Log logThe logger. -
ACTION
public static final int ACTIONIndicates the object is used during a action phase.- See Also:
-
RENDER
public static final int RENDERIndicates the object is used during a render phase.- See Also:
-
prefs
protected final org.gatein.pc.api.state.PropertyContext prefs. -
validator
protected final javax.portlet.PreferencesValidator validator. -
containerPrefs
. -
mode
protected final int mode. -
updates
Keep track of updates
-
-
Constructor Details
-
PortletPreferencesImpl
public PortletPreferencesImpl(org.gatein.pc.api.state.PropertyContext prefs, ContainerPreferencesInfo containerPrefs, javax.portlet.PreferencesValidator validator, int mode)
-
-
Method Details
-
getMap
- Specified by:
getMapin interfacejavax.portlet.PortletPreferences
-
getNames
- Specified by:
getNamesin interfacejavax.portlet.PortletPreferences
-
getValue
- Specified by:
getValuein interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentException
-
getValues
- Specified by:
getValuesin interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentException
-
isReadOnly
- Specified by:
isReadOnlyin interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentException
-
reset
- Specified by:
resetin interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentExceptionjavax.portlet.ReadOnlyException
-
setValue
public void setValue(String key, String value) throws IllegalArgumentException, javax.portlet.ReadOnlyException - Specified by:
setValuein interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentExceptionjavax.portlet.ReadOnlyException
-
setValues
public void setValues(String key, String[] values) throws IllegalArgumentException, javax.portlet.ReadOnlyException - Specified by:
setValuesin interfacejavax.portlet.PortletPreferences- Throws:
IllegalArgumentExceptionjavax.portlet.ReadOnlyException
-
store
- Specified by:
storein interfacejavax.portlet.PortletPreferences- Throws:
IOExceptionjavax.portlet.ValidatorException
-