| org.apache.wsrp4j.producer.provider.PortletStateManager
All known Subclasses: com.liferay.portal.wsrp.PortletStateManagerImpl,
PortletStateManager | public interface PortletStateManager (Code) | | Manages the portlet states. Provides convenience mehtods usefull for state handling
author: Stefan Behl |
INITIALIZATION_FAILED | final public static int INITIALIZATION_FAILED(Code) | | defines an error state
|
destroy | public void destroy(String portletHandle)(Code) | | Destroys a portlet state
Parameters: portletHandle - String representing a portlet handle |
get | public PortletState get(String portletHandle)(Code) | | Returns the portlet's state for a given portlet handle
Parameters: portletHandle - String representing a portlet handle PortletState |
getAsPropertyList | public PropertyList getAsPropertyList(String portletHandle)(Code) | | Returns the portlet's state as PropertyList
Parameters: portletHandle - String representing a portlte handle PropertyList |
getAsPropertyList | public PropertyList getAsPropertyList(PortletState state)(Code) | | Converts a portlet's state to a PropertyList
Parameters: state - the portlet's state PropertyList |
getAsPropertyList | public PropertyList getAsPropertyList(String portletHandle, String[] names)(Code) | | Converts a subset of the portlet state to a PropertyList. The subset
of the state is represented by an array of names.
Parameters: portletHandle - String representing a portlet handle Parameters: names - array of String PropertyList |
getAsString | public String getAsString(String portletHandle)(Code) | | Returns the portlet's state as String for a given portlet handle
Parameters: portletHandle - String representing a portlet handle String representing the portlet's state |
getAsString | public String getAsString(PortletState state)(Code) | | Converts a PortletState object to java.lang.String
Parameters: state - PortletState java.lang.String representing a portlet state |
getAsString | public String getAsString(String portletHandle, String[] names)(Code) | | Converts a subset of the portlet stateto java.lang.String.
The subset of the state is represented by an array of names.
Parameters: portletHandle - String representing a portlet handle Parameters: names - array of String String representing a subset of a portlte state |
getModelDescription | public ModelDescription getModelDescription(String portletHandle, String[] desiredLocales, boolean sendAllLocales)(Code) | | Returns the WSRP model description for a portlet's state.
Parameters: portletHandle - String representing a portlet handle Parameters: desiredLocales - determine the desired locales Parameters: sendAllLocales - indicates if all locales are desired ModelDescription |
set | public void set(String portletHandle, PortletState state)(Code) | | Set the portlet's state
Parameters: portletHandle - String representing a portlet handle Parameters: state - PortletState |
setAsPropertyList | public void setAsPropertyList(String portletHandle, PropertyList state)(Code) | | Set the portlet state
Parameters: portletHandle - String representing a portlet handle Parameters: state - PropretyList representing the portlte's state |
setAsString | public void setAsString(String portletHandle, String state)(Code) | | Set the portlet state
Parameters: portletHandle - String representing a portlet handle Parameters: state - String representing the portlet's state |
|
|