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