Class AbstractAnyRestClient<TO extends AnyTO>
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.AbstractAnyRestClient<TO>
-
- All Implemented Interfaces:
Serializable
,RestClient
- Direct Known Subclasses:
AnyObjectRestClient
,GroupRestClient
,UserRestClient
public abstract class AbstractAnyRestClient<TO extends AnyTO> extends BaseRestClient
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description AbstractAnyRestClient()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Map<String,String>
associate(ResourceAssociationAction action, String etag, String key, List<StatusBean> statuses)
Map<String,String>
batch(BatchRequest batchRequest)
abstract int
count(String realm, String fiql, String type)
Map<String,String>
deassociate(ResourceDeassociationAction action, String etag, String key, List<StatusBean> statuses)
ProvisioningResult<TO>
delete(String etag, String key)
protected abstract Class<? extends AnyService<TO>>
getAnyServiceClass()
protected List<BatchResponseItem>
parseBatchResponse(javax.ws.rs.core.Response response)
TO
read(String key)
abstract List<TO>
search(String realm, String fiql, int page, int size, SortParam<String> sort, String type)
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
getAnyServiceClass
protected abstract Class<? extends AnyService<TO>> getAnyServiceClass()
-
search
public abstract List<TO> search(String realm, String fiql, int page, int size, SortParam<String> sort, String type)
-
delete
public ProvisioningResult<TO> delete(String etag, String key)
-
parseBatchResponse
protected List<BatchResponseItem> parseBatchResponse(javax.ws.rs.core.Response response) throws IOException
- Throws:
IOException
-
associate
public Map<String,String> associate(ResourceAssociationAction action, String etag, String key, List<StatusBean> statuses)
-
deassociate
public Map<String,String> deassociate(ResourceDeassociationAction action, String etag, String key, List<StatusBean> statuses)
-
batch
public Map<String,String> batch(BatchRequest batchRequest)
-
-