|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyDBManager
This interface defines methods to manage policy database
Method Summary | |
---|---|
void |
addPolicy(PolicyInformation policy)
Add the given policy object to this database. |
java.util.Enumeration |
getAllPolicies()
Get all policy objects contained in this database. |
PolicyInformation |
getPolicyInformation(java.lang.String policyID)
Get the policy for the given policy id. |
void |
refreshAllPoliciesComplete()
refresh all cached property values for all policies in this database. |
void |
refreshAllPoliciesPartial(java.util.Vector properties)
refresh cached values of only those properties that are specified for all the policies in this database. |
void |
refreshPolicyComplete(java.lang.String policyID)
refresh all cached property values for the given policy. |
void |
refreshPolicyPartial(java.lang.String policyID,
java.util.Vector properties)
refresh cached values of only those properties that are specified for the given policy. |
void |
refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs)
refresh cached values of all properties of the specified policies. |
void |
refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs,
java.util.Vector properties)
refresh cached values of only those properties that are specified for only specified policies. |
void |
removeAllPolicies()
remove all policy objects contained in this database. |
PolicyInformation |
removePolicyInformation(java.lang.String policyID)
Remove from this database the policy object for the given policy id. |
void |
setPolicy(PolicyInformation policy)
Set the policy object. |
Method Detail |
---|
PolicyInformation getPolicyInformation(java.lang.String policyID)
policyID
- A String indicating the policy id.
PolicyInformation removePolicyInformation(java.lang.String policyID)
policyID
- A String indicating the policy id.
void setPolicy(PolicyInformation policy)
policy
- The policy object to be setvoid addPolicy(PolicyInformation policy)
policy
- The policy object to be added.java.util.Enumeration getAllPolicies()
void removeAllPolicies()
void refreshPolicyComplete(java.lang.String policyID)
policyID
- A String indicating the policy id.void refreshPolicyPartial(java.lang.String policyID, java.util.Vector properties)
policyID
- A String indicating the policy id.properties
- A Vector containing property names whose values
are to be refreshed.void refreshAllPoliciesComplete()
void refreshAllPoliciesPartial(java.util.Vector properties)
properties
- A Vector containing property names whose values
are to be refreshed.void refreshSpecifiedPoliciesComplete(java.util.Vector policyIDs)
policyIDs
- A Vector containing ids of those policies that
are to be refreshed.void refreshSpecifiedPoliciesPartial(java.util.Vector policyIDs, java.util.Vector properties)
policyIDs
- A Vector containing ids of those policies that
are to be refreshed.properties
- A Vector containing property names whose values
are to be refreshed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |