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