public class SakaiOptionalPortletContainerServices.SakaiPortletPreferencesService extends Object implements org.apache.pluto.spi.optional.PortletPreferencesService
| Constructor and Description |
|---|
SakaiPortletPreferencesService() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pluto.internal.InternalPortletPreference[] |
getStoredPreferences(org.apache.pluto.PortletWindow portletWindow,
javax.portlet.PortletRequest request)
Returns the stored portlet preferences array.
|
void |
store(org.apache.pluto.PortletWindow portletWindow,
javax.portlet.PortletRequest request,
org.apache.pluto.internal.InternalPortletPreference[] preferences)
Stores the portlet preferences to the in-memory storage.
|
public org.apache.pluto.internal.InternalPortletPreference[] getStoredPreferences(org.apache.pluto.PortletWindow portletWindow,
javax.portlet.PortletRequest request)
throws org.apache.pluto.PortletContainerException
getStoredPreferences in interface org.apache.pluto.spi.optional.PortletPreferencesServiceportletWindow - the portlet window.request - the portlet request from which the remote user is retrieved.org.apache.pluto.PortletContainerExceptionpublic void store(org.apache.pluto.PortletWindow portletWindow,
javax.portlet.PortletRequest request,
org.apache.pluto.internal.InternalPortletPreference[] preferences)
throws org.apache.pluto.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 org.apache.pluto.spi.optional.PortletPreferencesServiceportletWindow - the portlet windowrequest - the portlet request from which the remote user is retrieved.preferences - the portlet preferences to store.org.apache.pluto.PortletContainerExceptionPortletPreferences.store()Copyright © 2003–2016 Sakai Project. All rights reserved.