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