public class PolicyFilterImpl extends Object implements PolicyFilter
| Constructor and Description |
|---|
PolicyFilterImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> |
extractPoliciesRelatedToDeviceType(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList,
String deviceType)
This mehtod extract the policies related to a given device type from policy list.
|
List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> |
extractPoliciesRelatedToRoles(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList,
List<String> roles)
This method will extract the policies related a given roles list from the policy list available.
|
public List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> extractPoliciesRelatedToRoles(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList, List<String> roles)
extractPoliciesRelatedToRoles in interface PolicyFilterpolicyList - roles - public List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> extractPoliciesRelatedToDeviceType(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList, String deviceType)
extractPoliciesRelatedToDeviceType in interface PolicyFilterpolicyList - deviceType - Copyright © 2017 WSO2. All rights reserved.