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