|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyManagement
Defines the operations to manage policies in KAoS including adding, modifying and removing.
Method Summary | |
---|---|
void |
addPolicy(java.lang.String owlPolicyDescription)
Add the specified policy into KAoS. |
java.util.Vector |
getPoliciesForEntity(java.lang.String id)
Return policies for the entity, whose id is specified. |
PolicyMsg |
getPolicy(java.lang.String id)
Return the policy identified by the given id. |
void |
modifyPolicy(java.lang.String policyID,
java.lang.String owlPolicyDescription)
Modify the specified policy in KAoS. |
void |
removePolicy(java.lang.String policyID)
Remove the specified policy from KAoS. |
Method Detail |
---|
void addPolicy(java.lang.String owlPolicyDescription) throws ServiceFailure
owlPolicyDescription
- OWL String containing the policy description.
ServiceFailure
- if the policy service is not available.void modifyPolicy(java.lang.String policyID, java.lang.String owlPolicyDescription) throws ServiceFailure
policyID
- String containing the unique policy id.owlPolicyDescription
- OWL String containing the modified policy description.
ServiceFailure
- if the policy service is not available.void removePolicy(java.lang.String policyID) throws ServiceFailure
policyID
- String containing the unique policy id.
ServiceFailure
- if the policy service is not available.PolicyMsg getPolicy(java.lang.String id) throws ServiceFailure
id
- String containing the id of the requested policy.
ServiceFailure
java.util.Vector getPoliciesForEntity(java.lang.String id) throws ServiceFailure
id
- String containing the id of the entity, whose policies are being requested.
ServiceFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |