org.wso2.carbon.policy.evaluator
Class PolicyFilterImpl
java.lang.Object
org.wso2.carbon.policy.evaluator.PolicyFilterImpl
- All Implemented Interfaces:
- PolicyFilter
public class PolicyFilterImpl
- extends Object
- implements PolicyFilter
|
Method Summary |
List<org.wso2.carbon.policy.mgt.common.Policy> |
extractPoliciesRelatedToDeviceType(List<org.wso2.carbon.policy.mgt.common.Policy> policyList,
String deviceType)
This mehtod extract the policies related to a given device type from policy list. |
List<org.wso2.carbon.policy.mgt.common.Policy> |
extractPoliciesRelatedToRoles(List<org.wso2.carbon.policy.mgt.common.Policy> policyList,
List<String> roles)
This method will extract the policies related a given roles list from the policy list available. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyFilterImpl
public PolicyFilterImpl()
extractPoliciesRelatedToRoles
public List<org.wso2.carbon.policy.mgt.common.Policy> extractPoliciesRelatedToRoles(List<org.wso2.carbon.policy.mgt.common.Policy> policyList,
List<String> roles)
- This method will extract the policies related a given roles list from the policy list available.
- Specified by:
extractPoliciesRelatedToRoles in interface PolicyFilter
- Parameters:
policyList - roles -
- Returns:
extractPoliciesRelatedToDeviceType
public List<org.wso2.carbon.policy.mgt.common.Policy> extractPoliciesRelatedToDeviceType(List<org.wso2.carbon.policy.mgt.common.Policy> policyList,
String deviceType)
- This mehtod extract the policies related to a given device type from policy list.
- Specified by:
extractPoliciesRelatedToDeviceType in interface PolicyFilter
- Parameters:
policyList - deviceType -
- Returns:
Copyright © 2015 WSO2. All rights reserved.