|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.policy.management.PolicyPersistenceManager
public abstract class PolicyPersistenceManager
Constructor Summary | |
---|---|
PolicyPersistenceManager()
|
|
PolicyPersistenceManager(PolicyState state)
|
Method Summary | |
---|---|
void |
addPolicies(java.util.List policies)
A method to add policies to the current state. |
void |
changePolicies(java.util.List policies)
A method to change policies in the current state. |
java.util.List |
getPolicies()
A method to get all current policies from the state. |
StateObject |
getState()
|
void |
removePolicies(java.util.List policies)
A method to remove policies from the current state. |
abstract void |
saveState()
force the state to be saved immediately |
void |
setPolicies(java.util.List policies)
A method to replace all current policies in the state. |
void |
setState(StateObject state)
set the current state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyPersistenceManager()
public PolicyPersistenceManager(PolicyState state)
Method Detail |
---|
public StateObject getState()
getState
in interface PersistenceManager
public void setState(StateObject state)
setState
in interface PersistenceManager
public void addPolicies(java.util.List policies)
policies
- a List containing the changed policies.public void removePolicies(java.util.List policies)
policies
- a List containing the policies to be removed.public void changePolicies(java.util.List policies)
policies
- a List containing the policies to be changed.public void setPolicies(java.util.List policies)
policies
- a List containing the policies to replace the current policies.public java.util.List getPolicies()
public abstract void saveState()
saveState
in interface PersistenceManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |