it.eng.rdlab.soa3.pm.connector.interfaces
Interface PolicyReader

All Known Implementing Classes:
PolicyReaderImpl

public interface PolicyReader

This class provides the methods to read and get policies and policy sets

Author:
Ciro Formisano

Method Summary
 Status getPolicy(String alias, String policyId)
          Gets a policy
 Status getPolicySet(String alias, String policySetId)
          Gets a policy set
 Status listPolicies(String alias)
          Lists all the policies in the PAP
 Status listPolicySets(String alias)
          Lists all the policy sets in the PAP
 

Method Detail

listPolicies

Status listPolicies(String alias)
Lists all the policies in the PAP

Parameters:
alias - the PAP alias (can be null)
Returns:
the status object representing the result of the operation

getPolicy

Status getPolicy(String alias,
                 String policyId)
Gets a policy

Parameters:
alias - the PAP alias (can be null)
policyId - the id of the policy
Returns:
the status object representing the result of the operation

listPolicySets

Status listPolicySets(String alias)
Lists all the policy sets in the PAP

Parameters:
alias - the PAP alias (can be null)
Returns:
the status object representing the result of the operation

getPolicySet

Status getPolicySet(String alias,
                    String policySetId)
Gets a policy set

Parameters:
alias - the PAP alias (can be null)
policySetId - the id of the policy
Returns:
the status object representing the result of the operation


Copyright © 2013. All Rights Reserved.