public class WorkbookNamedItemRequest extends BaseRequest implements IWorkbookNamedItemRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
WorkbookNamedItemRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the WorkbookNamedItem
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<WorkbookNamedItem> callback)
Delete this item from the service
|
IWorkbookNamedItemRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookNamedItem |
get()
Gets the WorkbookNamedItem from the service
|
void |
get(ICallback<WorkbookNamedItem> callback)
Gets the WorkbookNamedItem from the service
|
WorkbookNamedItem |
patch(WorkbookNamedItem sourceWorkbookNamedItem)
Patches this WorkbookNamedItem with a source
|
void |
patch(WorkbookNamedItem sourceWorkbookNamedItem,
ICallback<WorkbookNamedItem> callback)
Patches this WorkbookNamedItem with a source
|
WorkbookNamedItem |
post(WorkbookNamedItem newWorkbookNamedItem)
Creates a WorkbookNamedItem with a new object
|
void |
post(WorkbookNamedItem newWorkbookNamedItem,
ICallback<WorkbookNamedItem> callback)
Creates a WorkbookNamedItem with a new object
|
IWorkbookNamedItemRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic WorkbookNamedItemRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<WorkbookNamedItem> callback)
get in interface IWorkbookNamedItemRequestcallback - the callback to be called after success or failurepublic WorkbookNamedItem get() throws ClientException
get in interface IWorkbookNamedItemRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<WorkbookNamedItem> callback)
delete in interface IWorkbookNamedItemRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IWorkbookNamedItemRequestClientException - if there was an exception during the delete operationpublic void patch(WorkbookNamedItem sourceWorkbookNamedItem, ICallback<WorkbookNamedItem> callback)
patch in interface IWorkbookNamedItemRequestsourceWorkbookNamedItem - the source object with updatescallback - the callback to be called after success or failurepublic WorkbookNamedItem patch(WorkbookNamedItem sourceWorkbookNamedItem) throws ClientException
patch in interface IWorkbookNamedItemRequestsourceWorkbookNamedItem - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(WorkbookNamedItem newWorkbookNamedItem, ICallback<WorkbookNamedItem> callback)
post in interface IWorkbookNamedItemRequestnewWorkbookNamedItem - the new object to createcallback - the callback to be called after success or failurepublic WorkbookNamedItem post(WorkbookNamedItem newWorkbookNamedItem) throws ClientException
post in interface IWorkbookNamedItemRequestnewWorkbookNamedItem - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IWorkbookNamedItemRequest select(java.lang.String value)
select in interface IWorkbookNamedItemRequestvalue - the select clausepublic IWorkbookNamedItemRequest expand(java.lang.String value)
expand in interface IWorkbookNamedItemRequestvalue - the expand clause