|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyDirectory
$Revision: 1.9 $
Method Summary | |
---|---|
void |
addPolicies(java.util.Vector policies)
Each element of the Vector is an instance of a Msg class specifying an individual policy fields |
void |
addPolicy(Msg policy)
|
void |
changePolicies(java.util.Vector policies)
|
void |
changePolicy(Msg policy)
|
java.util.Vector |
getApplicablePoliciesForEntity(java.lang.String entityId)
Obtain the set of policies directly and indirectly applicable to a specified entity. |
java.util.Vector |
getConditionalPolicies()
|
java.util.List |
getPolicies()
Obtain an List over all policies. |
java.util.Map |
getPoliciesByEntities()
Obtain a table of all original policies (pre-deconfliction and OWL->XML conversion) in the system, indexed by the id(s) of the entity(s) to which they apply |
java.util.Vector |
getPoliciesForEntity(java.lang.String entityId)
Obtain the original (pre-deconfliction and OWL->XML conversion) policies directly applicable to the specified entity This method does not return all policies applicable to the entity (e.g., if you specified the id of an agent, it would only return policies for that agent, *not* including policies for the agent container, exec env, host, domain, which apply to the agent) |
Msg |
getPolicy(java.lang.String policyId)
|
void |
removePolicies(java.util.List policies)
|
void |
removePolicy(Msg policy)
|
void |
setConditionalPolicies(java.util.Vector condPols)
|
void |
updatePolicies(java.util.List addedPolicies,
java.util.List changedPolicies,
java.util.List removedPolicies)
|
Method Detail |
---|
void addPolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void addPolicies(java.util.Vector policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
policies
- The Vector of policies to be added to the collection of all policies.
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void removePolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void removePolicies(java.util.List policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void changePolicy(Msg policy) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void changePolicies(java.util.Vector policies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
void updatePolicies(java.util.List addedPolicies, java.util.List changedPolicies, java.util.List removedPolicies) throws OntologyPolicyIncorrect, PoliciesHarmonizedException, PrecedenceUndeterminedException, DirectoryFailure
OntologyPolicyIncorrect
PoliciesHarmonizedException
PrecedenceUndeterminedException
DirectoryFailure
java.util.List getPolicies() throws DirectoryFailure
DirectoryFailure
Msg getPolicy(java.lang.String policyId) throws DirectoryFailure
DirectoryFailure
java.util.Vector getPoliciesForEntity(java.lang.String entityId) throws DirectoryFailure
entityId
- id of the entity
DirectoryFailure
java.util.Map getPoliciesByEntities() throws DirectoryFailure
DirectoryFailure
java.util.Vector getApplicablePoliciesForEntity(java.lang.String entityId) throws DirectoryFailure
entityId
- id of the entity
DirectoryFailure
java.util.Vector getConditionalPolicies() throws DirectoryFailure
DirectoryFailure
void setConditionalPolicies(java.util.Vector condPols) throws DirectoryFailure
DirectoryFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |