public interface IListItemRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ListItem> callback)
Delete this item from the service
|
IListItemRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ListItem |
get()
Gets the ListItem from the service
|
void |
get(ICallback<ListItem> callback)
Gets the ListItem from the service
|
ListItem |
patch(ListItem sourceListItem)
Patches this ListItem with a source
|
void |
patch(ListItem sourceListItem,
ICallback<ListItem> callback)
Patches this ListItem with a source
|
ListItem |
post(ListItem newListItem)
Posts a ListItem with a new object
|
void |
post(ListItem newListItem,
ICallback<ListItem> callback)
Posts a ListItem with a new object
|
IListItemRequest |
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<ListItem> callback)
callback - the callback to be called after success or failureListItem get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<ListItem> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(ListItem sourceListItem, ICallback<ListItem> callback)
sourceListItem - the source object with updatescallback - the callback to be called after success or failureListItem patch(ListItem sourceListItem) throws ClientException
sourceListItem - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(ListItem newListItem, ICallback<ListItem> callback)
newListItem - the new object to createcallback - the callback to be called after success or failureListItem post(ListItem newListItem) throws ClientException
newListItem - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIListItemRequest select(java.lang.String value)
value - the select clauseIListItemRequest expand(java.lang.String value)
value - the expand clause