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