it.eng.rdlab.soa3.pm.connector.impl
Class PolicyDeleterImpl

java.lang.Object
  extended by it.eng.rdlab.soa3.pm.connector.impl.PolicyDeleterImpl
All Implemented Interfaces:
PolicyDeleter

public class PolicyDeleterImpl
extends Object
implements PolicyDeleter

Standard implementation of Policy Deleter

Author:
Ciro Formisano (ENG)

Constructor Summary
PolicyDeleterImpl()
           
PolicyDeleterImpl(String url)
           
 
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
 void setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyDeleterImpl

public PolicyDeleterImpl()

PolicyDeleterImpl

public PolicyDeleterImpl(String url)
Method Detail

setUrl

public void setUrl(String url)

clear

public Status clear()
Clears the repository

Specified by:
clear in interface PolicyDeleter
Returns:
the status object representing the result of the operation

deletePolicy

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

Specified by:
deletePolicy in interface PolicyDeleter
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

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

Specified by:
deletePolicySet in interface PolicyDeleter
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

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

Specified by:
deleteRule in interface PolicyDeleter
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 © 2013. All Rights Reserved.