public interface PortletStatePersistenceManager
| Modifier and Type | Method and Description |
|---|---|
String |
cloneState(String stateId)
Clone an existing state.
|
String |
cloneState(String stateId,
PropertyMap propertyMap)
Clone an existing state.
|
String |
createState(String portletId,
PropertyMap propertyMap)
Create the initial state.
|
void |
destroyState(String stateId)
Destroy the state.
|
PortletStateContext |
loadState(String stateId)
Load the state.
|
void |
updateState(String stateId,
PropertyMap propertyMap)
Update the state.
|
PortletStateContext loadState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - the state idIllegalArgumentException - if the state id is nullNoSuchStateException - is the specified state does not existInvalidStateIdException - if the state id is not validString createState(String portletId, PropertyMap propertyMap) throws IllegalArgumentException
portletId - the id that this state refers toIllegalArgumentException - if the portlet id is nullString cloneState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - the id that this state refers toIllegalArgumentException - if the state id is nullNoSuchStateException - is the specified state does not existInvalidStateIdException - if the state id is not validString cloneState(String stateId, PropertyMap propertyMap) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - the id that this state refers topropertyMap - the values of the cloned stateIllegalArgumentException - if the state id is null or the value is nulNoSuchStateException - is the specified state does not existInvalidStateIdException - if the state id is not validvoid updateState(String stateId, PropertyMap propertyMap) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - propertyMap - the updated stateIllegalArgumentException - if the state id is null or the values are nullNoSuchStateException - is the specified state does not existInvalidStateIdException - if the state id is not validvoid destroyState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - IllegalArgumentException - if the state id is nullNoSuchStateException - is the specified state does not existInvalidStateIdException - if the state id is not validCopyright © 2003-2019 GateIn. All Rights Reserved.