kaos.policy.management
Interface PolicySetDirectory

All Known Subinterfaces:
DirectoryService
All Known Implementing Classes:
GridDirectoryServicePolicyCert, KAoSDirectoryService, TunnelClient

public interface PolicySetDirectory

Defines the operations that can be invoked on a policy set directory service. $Revision: 1.4 $


Method Summary
 void addPolicySet(Msg policySet)
           
 void addPolicySets(java.util.Vector policySets)
          Each element of the Vector is an instance of a Msg class specifying an individual policy set fields
 void changePolicySet(Msg policySet)
           
 void changePolicySets(java.util.Vector policySets)
           
 PolicySetMsg getPolicySet(java.lang.String policySetId)
           
 java.util.List getPolicySets()
          Obtain an Vector over all policy sets.
 void removePolicySet(Msg policySet)
           
 void removePolicySets(java.util.Vector policySets)
           
 

Method Detail

addPolicySet

void addPolicySet(Msg policySet)
                  throws DirectoryFailure
Throws:
DirectoryFailure

addPolicySets

void addPolicySets(java.util.Vector policySets)
                   throws DirectoryFailure
Each element of the Vector is an instance of a Msg class specifying an individual policy set fields

Parameters:
policySets - The Vector of policies set to be added to the collection of all policies.
Throws:
DirectoryFailure

removePolicySet

void removePolicySet(Msg policySet)
                     throws DirectoryFailure
Throws:
DirectoryFailure

removePolicySets

void removePolicySets(java.util.Vector policySets)
                      throws DirectoryFailure
Throws:
DirectoryFailure

changePolicySet

void changePolicySet(Msg policySet)
                     throws DirectoryFailure
Throws:
DirectoryFailure

changePolicySets

void changePolicySets(java.util.Vector policySets)
                      throws DirectoryFailure
Throws:
DirectoryFailure

getPolicySets

java.util.List getPolicySets()
                             throws DirectoryFailure
Obtain an Vector over all policy sets.

Returns:
List of policy set Msgs.
Throws:
DirectoryFailure

getPolicySet

PolicySetMsg getPolicySet(java.lang.String policySetId)
                          throws DirectoryFailure
Throws:
DirectoryFailure