|
||||||||||
| 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(Collection<NodeState> nodes)
Delegate the load. |
Collection<NodeState> |
delegateSave()
Delegate the save. |
Collection<String> |
getProperties()
Return all the properties of the state. |
String |
getProperty(String key)
Return the property referenced by a certain key. |
String |
getProperty(String key,
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 state manager. |
void |
setProperty(String key,
String value)
Set the property. |
| Method Detail |
|---|
String getProperty(String key)
key - The property key.
String getProperty(String key,
String defaults)
key - The property key.defaults - The default value if we don't find the property.
void setProperty(String key,
String value)
key - The property key.value - The property value.Collection<String> getProperties()
boolean isDelegated()
Collection<NodeState> delegateSave()
void delegateLoad(Collection<NodeState> nodes)
nodes - The nodes of the state.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||