org.syncope.console.rest
Class PolicyRestClient
java.lang.Object
org.syncope.console.rest.AbstractBaseRestClient
org.syncope.console.rest.PolicyRestClient
@Component
public class PolicyRestClient
- extends AbstractBaseRestClient
Console client for invoking Rest Policy services.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyRestClient
public PolicyRestClient()
getGlobalPolicy
public <T extends PolicyTO> T getGlobalPolicy(PolicyType type)
getPolicies
public <T extends PolicyTO> List<T> getPolicies(PolicyType type)
createPolicy
public <T extends PolicyTO> T createPolicy(T policy)
throws InvalidPolicyType
- Throws:
InvalidPolicyType
updatePolicy
public <T extends PolicyTO> T updatePolicy(T policy)
throws InvalidPolicyType
- Throws:
InvalidPolicyType
delete
public void delete(Long id)
Copyright © 2011. All Rights Reserved.