|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.pluto.core.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,
javax.portlet.PortletRequest request)
Returns the stored portlet preferences array. |
void |
store(PortletWindow portletWindow,
javax.portlet.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,
javax.portlet.PortletRequest request)
throws PortletContainerException
getStoredPreferences in interface PortletPreferencesServiceportletWindow - the portlet window.request - the portlet request from which the remote user is retrieved.
PortletContainerException
public void store(PortletWindow portletWindow,
javax.portlet.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 PortletPreferencesServiceportletWindow - the portlet windowrequest - the portlet request from which the remote user is retrieved.preferences - the portlet preferences to store.
PortletContainerExceptionPortletPreferences.store()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||