Class ConsumerPersistenceManagerService
- java.lang.Object
-
- org.gatein.pc.portlet.impl.state.consumer.AbstractConsumerPersistenceManagerService<byte[]>
-
- org.gatein.pc.portlet.impl.state.consumer.ConsumerPersistenceManagerService
-
- All Implemented Interfaces:
ConsumerPersistenceManager<byte[]>
public class ConsumerPersistenceManagerService extends AbstractConsumerPersistenceManagerService<byte[]>
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ConsumerPersistenceManagerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConsumerStateContext<byte[]>get(String stateId)org.gatein.pc.api.PortletStateType<byte[]>getStateType()Returns the consumer state type.protected voidput(String stateId, ConsumerStateContext<byte[]> state)protected voidremove(String stateId)protected intsize()-
Methods inherited from class org.gatein.pc.portlet.impl.state.consumer.AbstractConsumerPersistenceManagerService
createState, destroyState, getSize, loadState, updateState
-
-
-
-
Method Detail
-
getStateType
public org.gatein.pc.api.PortletStateType<byte[]> getStateType()
Description copied from interface:ConsumerPersistenceManagerReturns the consumer state type.- Returns:
- the consume state type
-
get
protected ConsumerStateContext<byte[]> get(String stateId)
- Specified by:
getin classAbstractConsumerPersistenceManagerService<byte[]>
-
put
protected void put(String stateId, ConsumerStateContext<byte[]> state)
- Specified by:
putin classAbstractConsumerPersistenceManagerService<byte[]>
-
remove
protected void remove(String stateId)
- Specified by:
removein classAbstractConsumerPersistenceManagerService<byte[]>
-
size
protected int size()
- Specified by:
sizein classAbstractConsumerPersistenceManagerService<byte[]>
-
-