public interface ExternalPolicyService extends RestService
Modifier and Type | Method and Description |
---|---|
ExternalPolicy |
create(ExternalPolicyCreate externalPolicy)
Create a new external policy
|
ActionResponse |
delete(String id)
Delete of the external policy
|
ExternalPolicy |
get(String id)
Get the specified external policy by ID
|
List<? extends ExternalPolicy> |
list()
List all external policies
|
List<? extends ExternalPolicy> |
list(Map<String,String> filteringParams)
Returns list of external policies filtered by parameters.
|
ExternalPolicy |
update(String externalPolicyId,
ExternalPolicyCreate externalPolicy)
Updates an existing external policy
|
List<? extends ExternalPolicy> list()
List<? extends ExternalPolicy> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersExternalPolicy get(String id)
id
- the external policy idActionResponse delete(String id)
id
- the external policy idExternalPolicy create(ExternalPolicyCreate externalPolicy)
external
- policyExternalPolicy update(String externalPolicyId, ExternalPolicyCreate externalPolicy)
external
- policy identifierexternal
- policy that is be used to updatedCopyright © 2017. All rights reserved.