void replacePolicyInResourceTree(Policy oldPolicy,Policy newPolicy) throws PolicyException, SSOException {
  removePolicyFromResourceTree(oldPolicy);
  addPolicyToResourceTree(newPolicy);
}

void replacePolicyInResourceTree ( Policy oldPolicy , Policy newPolicy ) throws PolicyException , SSOException { removePolicyFromResourceTree ( oldPolicy ) ; addPolicyToResourceTree ( newPolicy ) ; }
replaces resource names of a policy in the resource tree .
