public interface IDirectoryObjectRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<DirectoryObject> callback)
Delete this item from the service
|
IDirectoryObjectRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DirectoryObject |
get()
Gets the DirectoryObject from the service
|
void |
get(ICallback<DirectoryObject> callback)
Gets the DirectoryObject from the service
|
DirectoryObject |
patch(DirectoryObject sourceDirectoryObject)
Patches this DirectoryObject with a source
|
void |
patch(DirectoryObject sourceDirectoryObject,
ICallback<DirectoryObject> callback)
Patches this DirectoryObject with a source
|
DirectoryObject |
post(DirectoryObject newDirectoryObject)
Posts a DirectoryObject with a new object
|
void |
post(DirectoryObject newDirectoryObject,
ICallback<DirectoryObject> callback)
Posts a DirectoryObject with a new object
|
IDirectoryObjectRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<DirectoryObject> callback)
callback - the callback to be called after success or failureDirectoryObject get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<DirectoryObject> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(DirectoryObject sourceDirectoryObject, ICallback<DirectoryObject> callback)
sourceDirectoryObject - the source object with updatescallback - the callback to be called after success or failureDirectoryObject patch(DirectoryObject sourceDirectoryObject) throws ClientException
sourceDirectoryObject - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(DirectoryObject newDirectoryObject, ICallback<DirectoryObject> callback)
newDirectoryObject - the new object to createcallback - the callback to be called after success or failureDirectoryObject post(DirectoryObject newDirectoryObject) throws ClientException
newDirectoryObject - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIDirectoryObjectRequest select(java.lang.String value)
value - the select clauseIDirectoryObjectRequest expand(java.lang.String value)
value - the expand clause