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