public interface IPrintJobRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PrintJob> callback)
Delete this item from the service
|
IPrintJobRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintJob |
get()
Gets the PrintJob from the service
|
void |
get(ICallback<? super PrintJob> callback)
Gets the PrintJob from the service
|
PrintJob |
patch(PrintJob sourcePrintJob)
Patches this PrintJob with a source
|
void |
patch(PrintJob sourcePrintJob,
ICallback<? super PrintJob> callback)
Patches this PrintJob with a source
|
PrintJob |
post(PrintJob newPrintJob)
Posts a PrintJob with a new object
|
void |
post(PrintJob newPrintJob,
ICallback<? super PrintJob> callback)
Posts a PrintJob with a new object
|
PrintJob |
put(PrintJob newPrintJob)
Posts a PrintJob with a new object
|
void |
put(PrintJob newPrintJob,
ICallback<? super PrintJob> callback)
Posts a PrintJob with a new object
|
IPrintJobRequest |
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 PrintJob> callback)
callback - the callback to be called after success or failurePrintJob get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super PrintJob> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(PrintJob sourcePrintJob, ICallback<? super PrintJob> callback)
sourcePrintJob - the source object with updatescallback - the callback to be called after success or failurePrintJob patch(PrintJob sourcePrintJob) throws ClientException
sourcePrintJob - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(PrintJob newPrintJob, ICallback<? super PrintJob> callback)
newPrintJob - the new object to createcallback - the callback to be called after success or failurePrintJob post(PrintJob newPrintJob) throws ClientException
newPrintJob - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(PrintJob newPrintJob, ICallback<? super PrintJob> callback)
newPrintJob - the object to create/updatecallback - the callback to be called after success or failurePrintJob put(PrintJob newPrintJob) throws ClientException
newPrintJob - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIPrintJobRequest select(java.lang.String value)
value - the select clauseIPrintJobRequest expand(java.lang.String value)
value - the expand clause