public interface PolicyVersionManager
Modifier and Type | Method and Description |
---|---|
String |
createVersion(PolicyDTO policyDTO) |
void |
deletePolicy(String policyId) |
PolicyDTO |
getPolicy(String policyId,
String version) |
String[] |
getVersions(String policyId) |
void |
init(Properties properties)
init policy version handler
|
void init(Properties properties)
properties
- PolicyDTO getPolicy(String policyId, String version) throws EntitlementException
policyId
- version
- EntitlementException
String createVersion(PolicyDTO policyDTO) throws EntitlementException
policyDTO
- EntitlementException
void deletePolicy(String policyId) throws EntitlementException
policyId
- EntitlementException
String[] getVersions(String policyId) throws EntitlementException
policyId
- EntitlementException
Copyright © 2016 WSO2. All rights reserved.