|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.state.producer.PortletStatePersistenceManagerService
public class PortletStatePersistenceManagerService
An in memory implementation of the producer state persistence manager.
| Constructor Summary | |
|---|---|
PortletStatePersistenceManagerService()
|
|
| Method Summary | |
|---|---|
java.lang.String |
cloneState(java.lang.String stateId)
Clone an existing state. |
java.lang.String |
cloneState(java.lang.String stateId,
PropertyMap propertyMap)
Clone an existing state. |
java.lang.String |
createState(java.lang.String portletId,
PropertyMap propertyMap)
Create the initial state. |
void |
destroyState(java.lang.String stateId)
Destroy the state. |
int |
getSize()
|
PortletStateContext |
loadState(java.lang.String stateId)
Load the state. |
void |
updateState(java.lang.String stateId,
PropertyMap propertyMap)
Update the state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletStatePersistenceManagerService()
| Method Detail |
|---|
public PortletStateContext loadState(java.lang.String stateId)
throws java.lang.IllegalArgumentException,
NoSuchStateException,
InvalidStateIdException
PortletStatePersistenceManager
loadState in interface PortletStatePersistenceManagerstateId - the state id
java.lang.IllegalArgumentException - if the state id is null
NoSuchStateException - is the specified state does not exist
InvalidStateIdException - if the state id is not valid
public java.lang.String createState(java.lang.String portletId,
PropertyMap propertyMap)
PortletStatePersistenceManager
createState in interface PortletStatePersistenceManagerportletId - the id that this state refers to
public java.lang.String cloneState(java.lang.String stateId,
PropertyMap propertyMap)
throws NoSuchStateException,
InvalidStateIdException
PortletStatePersistenceManager
cloneState in interface PortletStatePersistenceManagerstateId - the id that this state refers topropertyMap - the values of the cloned state
NoSuchStateException - is the specified state does not exist
InvalidStateIdException - if the state id is not valid
public java.lang.String cloneState(java.lang.String stateId)
throws java.lang.IllegalArgumentException,
NoSuchStateException,
InvalidStateIdException
PortletStatePersistenceManager
cloneState in interface PortletStatePersistenceManagerstateId - the id that this state refers to
java.lang.IllegalArgumentException - if the state id is null
NoSuchStateException - is the specified state does not exist
InvalidStateIdException - if the state id is not valid
public void updateState(java.lang.String stateId,
PropertyMap propertyMap)
throws NoSuchStateException,
InvalidStateIdException
PortletStatePersistenceManager
updateState in interface PortletStatePersistenceManagerpropertyMap - the updated state
NoSuchStateException - is the specified state does not exist
InvalidStateIdException - if the state id is not valid
public void destroyState(java.lang.String stateId)
throws InvalidStateIdException,
NoSuchStateException
PortletStatePersistenceManager
destroyState in interface PortletStatePersistenceManagerInvalidStateIdException - if the state id is not valid
NoSuchStateException - is the specified state does not existpublic int getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||