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