public interface ApiUserClient extends ResourceUserClient, ApiClient, CrudMethodFilter
| Modifier and Type | Method and Description |
|---|---|
Object |
create(Object inputData)
Creates a new instance of the given resource, as defined by the inputData.
|
Object |
create(Object inputData,
String id)
Creates a new instance of the given resource, as defined by the inputData and id.
|
int |
delete(Map<String,Object> params)
Deletes the resource instances specified by the params.
|
boolean |
delete(String id)
Deletes the resource instance specified by id.
|
Object |
get(String id)
Returns the resource specified by the id.
|
List<String> |
keys(Map<String,Object> params)
Returns the list of keys of the resources filtered by the params.
|
List<Object> |
list(Map<String,Object> params)
Returns the list of objects/resources specified by the params.
|
Object |
modify(Object partialtData,
String id)
Note: Partial update/PATCH support...
|
Object |
update(Object inputData,
String id)
Updates the resource instance, as defined by the inputData and id.
|
getResourceBaseUrlgetAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getRequestRetryPolicygetUserCredentialisMethodSupportedObject get(String id) throws RestApiException, IOException
id - Unique id of the resource.RestApiExceptionIOExceptionList<Object> list(Map<String,Object> params) throws RestApiException, IOException
params - Selection filter.RestApiExceptionIOExceptionList<String> keys(Map<String,Object> params) throws RestApiException, IOException
params - Selection filter.RestApiExceptionIOExceptionObject create(Object inputData) throws RestApiException, IOException
inputData - A representation of the resource instance to be created.RestApiExceptionIOExceptionObject create(Object inputData, String id) throws RestApiException, IOException
inputData - A representation of the resource instance to be created.id - The unique resource id.RestApiExceptionIOExceptionObject update(Object inputData, String id) throws RestApiException, IOException
inputData - A new resource instance.id - The resource id.RestApiExceptionIOExceptionObject modify(Object partialtData, String id) throws RestApiException, IOException
partialtData - A "partial" representation of the new resource instance.id - The resource id.RestApiExceptionIOExceptionboolean delete(String id) throws RestApiException, IOException
id - The resource id.RestApiExceptionIOExceptionint delete(Map<String,Object> params) throws RestApiException, IOException
params - RestApiExceptionIOExceptionCopyright © 2013. All rights reserved.