public interface IPrintTaskRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PrintTask> callback)
Delete this item from the service
|
IPrintTaskRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintTask |
get()
Gets the PrintTask from the service
|
void |
get(ICallback<? super PrintTask> callback)
Gets the PrintTask from the service
|
PrintTask |
patch(PrintTask sourcePrintTask)
Patches this PrintTask with a source
|
void |
patch(PrintTask sourcePrintTask,
ICallback<? super PrintTask> callback)
Patches this PrintTask with a source
|
PrintTask |
post(PrintTask newPrintTask)
Posts a PrintTask with a new object
|
void |
post(PrintTask newPrintTask,
ICallback<? super PrintTask> callback)
Posts a PrintTask with a new object
|
PrintTask |
put(PrintTask newPrintTask)
Posts a PrintTask with a new object
|
void |
put(PrintTask newPrintTask,
ICallback<? super PrintTask> callback)
Posts a PrintTask with a new object
|
IPrintTaskRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super PrintTask> callback)
callback - the callback to be called after success or failurePrintTask get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super PrintTask> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(PrintTask sourcePrintTask, ICallback<? super PrintTask> callback)
sourcePrintTask - the source object with updatescallback - the callback to be called after success or failurePrintTask patch(PrintTask sourcePrintTask) throws ClientException
sourcePrintTask - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(PrintTask newPrintTask, ICallback<? super PrintTask> callback)
newPrintTask - the new object to createcallback - the callback to be called after success or failurePrintTask post(PrintTask newPrintTask) throws ClientException
newPrintTask - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(PrintTask newPrintTask, ICallback<? super PrintTask> callback)
newPrintTask - the object to create/updatecallback - the callback to be called after success or failurePrintTask put(PrintTask newPrintTask) throws ClientException
newPrintTask - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIPrintTaskRequest select(java.lang.String value)
value - the select clauseIPrintTaskRequest expand(java.lang.String value)
value - the expand clause