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

All Known Implementing Classes:
PolicyDeleterImpl

public interface PolicyDeleter

This class provides the methods to delete policies and policy sets

Author:
Ciro Formisano

Method Summary
 Status clear()
          Clears the repository
 Status deletePolicy(String alias, String policyId)
          Deletes the policy
 Status deletePolicySet(String alias, String policySetId)
          Deletes the policy set
 Status deleteRule(String alias, String ruleId)
          Deletes the rule
 

Method Detail

clear

Status clear()
Clears the repository

Returns:
the status object representing the result of the operation

deletePolicy

Status deletePolicy(String alias,
                    String policyId)
Deletes the policy

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

deletePolicySet

Status deletePolicySet(String alias,
                       String policySetId)
Deletes the policy set

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

deleteRule

Status deleteRule(String alias,
                  String ruleId)
Deletes the rule

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


Copyright © 2012. All Rights Reserved.