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