|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.portlet.impl.state.consumer.ConsumerPersistenceManagerService
public class ConsumerPersistenceManagerService
Constructor Summary | |
---|---|
ConsumerPersistenceManagerService()
|
Method Summary | |
---|---|
java.lang.String |
createState(ConsumerState state)
Create the initial state. |
void |
destroyState(java.lang.String stateId)
Destroy the state. |
int |
getSize()
|
ConsumerStateContext |
loadState(java.lang.String stateId)
Load the state. |
void |
updateState(java.lang.String stateId,
ConsumerState state)
Update the state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumerPersistenceManagerService()
Method Detail |
---|
public ConsumerStateContext loadState(java.lang.String stateId) throws java.lang.IllegalArgumentException, NoSuchStateException, InvalidStateIdException
ConsumerPersistenceManager
loadState
in interface ConsumerPersistenceManager
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
ConsumerPersistenceManager
createState
in interface ConsumerPersistenceManager
java.lang.IllegalArgumentException
- if the portlet id is nullpublic void updateState(java.lang.String stateId, ConsumerState state) throws java.lang.IllegalArgumentException, NoSuchStateException, InvalidStateIdException
ConsumerPersistenceManager
updateState
in interface ConsumerPersistenceManager
state
- 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 validpublic void destroyState(java.lang.String stateId) throws java.lang.IllegalArgumentException, NoSuchStateException, InvalidStateIdException
ConsumerPersistenceManager
destroyState
in interface ConsumerPersistenceManager
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 int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |