|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
java.lang.String |
createState(ConsumerState state)
Create the initial state. |
void |
destroyState(java.lang.String stateId)
Destroy the state. |
ConsumerStateContext |
loadState(java.lang.String stateId)
Load the state. |
void |
updateState(java.lang.String stateId,
ConsumerState propertyMap)
Update the state. |
| Method Detail |
public ConsumerStateContext loadState(java.lang.String stateId) throws java.lang.IllegalArgumentException, NoSuchStateException, InvalidStateIdException
stateId - 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 validpublic java.lang.String createState(ConsumerState state) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - if the portlet id is null
public void updateState(java.lang.String stateId,
ConsumerState propertyMap)
throws java.lang.IllegalArgumentException,
NoSuchStateException,
InvalidStateIdException
stateId - propertyMap - the updated state
java.lang.IllegalArgumentException - if the state id is null or the values are null
NoSuchStateException - is the specified state does not exist
InvalidStateIdException - if the state id is not valid
public void destroyState(java.lang.String stateId)
throws java.lang.IllegalArgumentException,
NoSuchStateException,
InvalidStateIdException
stateId -
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||