public interface IListRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<List> callback)
Delete this item from the service
|
IListRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
List |
get()
Gets the List from the service
|
void |
get(ICallback<List> callback)
Gets the List from the service
|
List |
patch(List sourceList)
Patches this List with a source
|
void |
patch(List sourceList,
ICallback<List> callback)
Patches this List with a source
|
List |
post(List newList)
Posts a List with a new object
|
void |
post(List newList,
ICallback<List> callback)
Posts a List with a new object
|
IListRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<List> callback)
callback - the callback to be called after success or failureList get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<List> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(List sourceList, ICallback<List> callback)
sourceList - the source object with updatescallback - the callback to be called after success or failureList patch(List sourceList) throws ClientException
sourceList - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(List newList, ICallback<List> callback)
newList - the new object to createcallback - the callback to be called after success or failureList post(List newList) throws ClientException
newList - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIListRequest select(java.lang.String value)
value - the select clauseIListRequest expand(java.lang.String value)
value - the expand clause