|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.core.DefaultPortletPreferencesService
public class DefaultPortletPreferencesService
Default implementation of the portlet preferences service. The portlet preferences service is a singleton held by the pluto portlet container.
PortletPreferences
,
PortletPreferencesImpl
,
PortletPreferences
Constructor Summary | |
---|---|
DefaultPortletPreferencesService()
Default no-arg constructor. |
Method Summary | |
---|---|
InternalPortletPreference[] |
getStoredPreferences(PortletWindow portletWindow,
PortletRequest request)
Returns the stored portlet preferences array. |
void |
store(PortletWindow portletWindow,
PortletRequest request,
InternalPortletPreference[] preferences)
Stores the portlet preferences to the in-memory storage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPortletPreferencesService()
Method Detail |
---|
public InternalPortletPreference[] getStoredPreferences(PortletWindow portletWindow, PortletRequest request) throws PortletContainerException
getStoredPreferences
in interface PortletPreferencesService
portletWindow
- the portlet window.request
- the portlet request from which the remote user is retrieved.
PortletContainerException
public void store(PortletWindow portletWindow, PortletRequest request, InternalPortletPreference[] preferences) throws PortletContainerException
The preferences managed by this service should be protected from being directly accessed, so this method clones the passed-in preferences array and saves it.
store
in interface PortletPreferencesService
portletWindow
- the portlet windowrequest
- the portlet request from which the remote user is retrieved.preferences
- the portlet preferences to store.
PortletContainerException
PortletPreferences.store()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |