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