public class PolicyManagementServiceImpl extends Object implements PolicyManagementService
| Constructor and Description |
|---|
PolicyManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
activatePolicies(List<Integer> policyIds) |
javax.ws.rs.core.Response |
addPolicy(PolicyWrapper policyWrapper) |
javax.ws.rs.core.Response |
applyChanges() |
javax.ws.rs.core.Response |
deactivatePolicies(List<Integer> policyIds) |
javax.ws.rs.core.Response |
getEffectivePolicy(String deviceType,
String deviceId) |
javax.ws.rs.core.Response |
getPolicies(String ifModifiedSince,
int offset,
int limit) |
javax.ws.rs.core.Response |
getPolicy(int id,
String ifModifiedSince) |
javax.ws.rs.core.Response |
removePolicies(List<Integer> policyIds) |
javax.ws.rs.core.Response |
updatePolicy(int id,
PolicyWrapper policyWrapper) |
javax.ws.rs.core.Response |
updatePolicyPriorities(List<PriorityUpdatedPolicyWrapper> priorityUpdatedPolicies) |
public javax.ws.rs.core.Response addPolicy(PolicyWrapper policyWrapper)
addPolicy in interface PolicyManagementServicepublic javax.ws.rs.core.Response getPolicies(@HeaderParam(value="If-Modified-Since")
String ifModifiedSince,
int offset,
int limit)
getPolicies in interface PolicyManagementServicepublic javax.ws.rs.core.Response getPolicy(int id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getPolicy in interface PolicyManagementServicepublic javax.ws.rs.core.Response updatePolicy(int id,
PolicyWrapper policyWrapper)
updatePolicy in interface PolicyManagementServicepublic javax.ws.rs.core.Response removePolicies(List<Integer> policyIds)
removePolicies in interface PolicyManagementServicepublic javax.ws.rs.core.Response activatePolicies(List<Integer> policyIds)
activatePolicies in interface PolicyManagementServicepublic javax.ws.rs.core.Response deactivatePolicies(List<Integer> policyIds)
deactivatePolicies in interface PolicyManagementServicepublic javax.ws.rs.core.Response applyChanges()
applyChanges in interface PolicyManagementServicepublic javax.ws.rs.core.Response updatePolicyPriorities(List<PriorityUpdatedPolicyWrapper> priorityUpdatedPolicies)
updatePolicyPriorities in interface PolicyManagementServicepublic javax.ws.rs.core.Response getEffectivePolicy(String deviceType, String deviceId)
getEffectivePolicy in interface PolicyManagementServiceCopyright © 2017 WSO2. All rights reserved.