public interface PolicyRuleService
Modifier and Type | Method and Description |
---|---|
PolicyRule |
create(PolicyRule policyRule)
Create a new policy rule
|
ActionResponse |
delete(String id)
Delete of the policy rule
|
PolicyRule |
get(String id)
Get the specified policy rule by ID
|
List<? extends PolicyRule> |
list()
List all policy rules
|
List<? extends PolicyRule> |
list(Map<String,String> filteringParams)
Returns list of policy rules filtered by parameters.
|
PolicyRule |
update(String policyRuleId,
PolicyRule policyRule)
Updates an existing policy rule
|
List<? extends PolicyRule> list()
List<? extends PolicyRule> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersPolicyRule get(String id)
id
- the policy rule idActionResponse delete(String id)
id
- the policy rule idPolicyRule create(PolicyRule policyRule)
policy
- rulePolicyRule update(String policyRuleId, PolicyRule policyRule)
policy
- rule identifierpolicy
- rule that is be used to updatedCopyright © 2017. All rights reserved.