Class PortletStatePersistenceManagerService
- java.lang.Object
-
- org.gatein.pc.portlet.state.producer.AbstractPortletStatePersistenceManager
-
- org.gatein.pc.portlet.impl.state.producer.PortletStatePersistenceManagerService
-
- All Implemented Interfaces:
PortletStatePersistenceManager
public class PortletStatePersistenceManagerService extends AbstractPortletStatePersistenceManager
An in memory implementation of the producer state persistence manager.- Version:
- $Revision: 7215 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description PortletStatePersistenceManagerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateStateContext(String portletId, org.gatein.pc.api.state.PropertyMap propertyMap)protected PortletStateContextdestroyStateContext(String stateId)intgetSize()protected PortletStateContextgetStateContext(String stateId)protected voidupdateStateContext(PortletStateContext stateContext)-
Methods inherited from class org.gatein.pc.portlet.state.producer.AbstractPortletStatePersistenceManager
cloneState, cloneState, createState, destroyState, getState, loadState, updateState
-
-
-
-
Method Detail
-
getStateContext
protected PortletStateContext getStateContext(String stateId) throws InvalidStateIdException
- Specified by:
getStateContextin classAbstractPortletStatePersistenceManager- Throws:
InvalidStateIdException
-
createStateContext
protected String createStateContext(String portletId, org.gatein.pc.api.state.PropertyMap propertyMap)
- Specified by:
createStateContextin classAbstractPortletStatePersistenceManager
-
destroyStateContext
protected PortletStateContext destroyStateContext(String stateId) throws InvalidStateIdException
- Specified by:
destroyStateContextin classAbstractPortletStatePersistenceManager- Throws:
InvalidStateIdException
-
updateStateContext
protected void updateStateContext(PortletStateContext stateContext)
- Specified by:
updateStateContextin classAbstractPortletStatePersistenceManager
-
getSize
public int getSize()
-
-