public class JahiaPortletPreferencesServiceImpl
extends org.apache.pluto.driver.container.DefaultPortletPreferencesService
| Constructor and Description |
|---|
JahiaPortletPreferencesServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
JahiaPreferencesService |
getJahiaPreferencesService() |
Map<String,org.apache.pluto.container.PortletPreference> |
getStoredPreferences(org.apache.pluto.container.PortletWindow portletWindow,
javax.portlet.PortletRequest request)
Returns the stored portlet preferences array.
|
void |
setJahiaPreferencesService(JahiaPreferencesService jahiaPreferencesService) |
void |
store(org.apache.pluto.container.PortletWindow portletWindow,
javax.portlet.PortletRequest request,
Map<String,org.apache.pluto.container.PortletPreference> stringPortletPreferenceMap)
Stores the portlet preferences to the in-memory storage.
|
public JahiaPreferencesService getJahiaPreferencesService()
public void setJahiaPreferencesService(JahiaPreferencesService jahiaPreferencesService)
public Map<String,org.apache.pluto.container.PortletPreference> getStoredPreferences(org.apache.pluto.container.PortletWindow portletWindow, javax.portlet.PortletRequest request) throws org.apache.pluto.container.PortletContainerException
getStoredPreferences in interface org.apache.pluto.container.PortletPreferencesServicegetStoredPreferences in class org.apache.pluto.driver.container.DefaultPortletPreferencesServiceportletWindow - the portlet window.request - the portlet request from which the remote user is retrieved.org.apache.pluto.container.PortletContainerExceptionpublic void store(org.apache.pluto.container.PortletWindow portletWindow,
javax.portlet.PortletRequest request,
Map<String,org.apache.pluto.container.PortletPreference> stringPortletPreferenceMap)
throws org.apache.pluto.container.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.container.PortletPreferencesServicestore in class org.apache.pluto.driver.container.DefaultPortletPreferencesServiceportletWindow - the portlet windowrequest - the portlet request from which the remote user is retrieved.stringPortletPreferenceMap - the portlet preferences to store.org.apache.pluto.container.PortletContainerExceptionPortletPreferences.store()Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.