|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IState
A state. It's a persistent object manager by the state manager. This object permit to store certain property to recover it after the application has been exited.
Method Summary | |
---|---|
void |
delegateLoad(java.util.List<NodeState> nodes)
Delegate the load. |
java.util.List<NodeState> |
delegateSave()
Delegate the save. |
java.util.List<java.lang.String> |
getProperties()
Return all the properties of the state. |
java.lang.String |
getProperty(java.lang.String key)
Return the property referenced by a certain key. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaults)
Return the property referenced by a certain key or a default value if the property doesn't exist. |
boolean |
isDelegated()
Indicate if the write and read operations are delegated to the state or are standard managed by the statemanager. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set the property. |
Method Detail |
---|
java.lang.String getProperty(java.lang.String key)
key
- The property key.
java.lang.String getProperty(java.lang.String key, java.lang.String defaults)
key
- The property key.defaults
- The default value if we don't find the property.
void setProperty(java.lang.String key, java.lang.String value)
key
- The property key.value
- The property value.java.util.List<java.lang.String> getProperties()
boolean isDelegated()
java.util.List<NodeState> delegateSave()
void delegateLoad(java.util.List<NodeState> nodes)
nodes
- The noads of the state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |