public interface PolicyManager
| Modifier and Type | Method and Description |
|---|---|
javax.xml.transform.Source |
getPolicyConfiguration(java.lang.String policyKey)
Retrieve policy configuration with policy key
|
javax.xml.transform.Source |
getPolicyConfiguration(java.lang.String policyKey,
int version)
Retrieve policy version configuration with policy key, and version
|
java.lang.String |
getPolicyKey(Policy policy)
Match existing policy against the Policy model by either policy name or policy id.
|
boolean |
updateAllowed(PolicyKey policyKey)
Checks if current user is allowed to update policy.
|
void |
updatePolicyConfiguration(PolicyKey policyKey,
javax.xml.transform.Source policyConfiguration)
Save policy configuration for a policy key.
|
void updatePolicyConfiguration(PolicyKey policyKey,
javax.xml.transform.Source policyConfiguration)
throws GException
policyKey - policyConfiguration - GExceptionjavax.xml.transform.Source getPolicyConfiguration(java.lang.String policyKey)
throws GException
policyKey - policy keyGExceptionjavax.xml.transform.Source getPolicyConfiguration(java.lang.String policyKey,
int version)
throws GException
policyKey - policy keyversion - versionGExceptionjava.lang.String getPolicyKey(Policy policy) throws GException
policy - modelGExceptionboolean updateAllowed(PolicyKey policyKey)
throws GException
policyKey - GException?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.