org.apache.pluto.spi.optional
Interface PortletPreferencesService

All Superinterfaces:
ContainerService
All Known Implementing Classes:
DefaultPortletPreferencesService

public interface PortletPreferencesService
extends ContainerService

Portlet preferences service that should be implemented by the portal. This is an optional container service.


Method Summary
 InternalPortletPreference[] getStoredPreferences(PortletWindow portletWindow, PortletRequest request)
          Returns the stored portlet preferences.
 void store(PortletWindow portletWindow, PortletRequest request, InternalPortletPreference[] preferences)
          Stores the portlet references to the persistent storage.
 

Method Detail

getStoredPreferences

InternalPortletPreference[] getStoredPreferences(PortletWindow portletWindow,
                                                 PortletRequest request)
                                                 throws PortletContainerException
Returns the stored portlet preferences.

Parameters:
portletWindow - the portlet window.
request - the portlet request.
Returns:
the stored portlet preferences.
Throws:
PortletContainerException - if fail to get stored preferences.

store

void store(PortletWindow portletWindow,
           PortletRequest request,
           InternalPortletPreference[] preferences)
           throws PortletContainerException
Stores the portlet references to the persistent storage.

Parameters:
portletWindow - the portlet window.
request - the portlet request.
preferences - the portlet preferences to store.
Throws:
PortletContainerException - if fail to store preferences.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.