public interface IAdministrativeUnitRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<AdministrativeUnit> callback)
Delete this item from the service
|
IAdministrativeUnitRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
AdministrativeUnit |
get()
Gets the AdministrativeUnit from the service
|
void |
get(ICallback<AdministrativeUnit> callback)
Gets the AdministrativeUnit from the service
|
AdministrativeUnit |
patch(AdministrativeUnit sourceAdministrativeUnit)
Patches this AdministrativeUnit with a source
|
void |
patch(AdministrativeUnit sourceAdministrativeUnit,
ICallback<AdministrativeUnit> callback)
Patches this AdministrativeUnit with a source
|
AdministrativeUnit |
post(AdministrativeUnit newAdministrativeUnit)
Posts a AdministrativeUnit with a new object
|
void |
post(AdministrativeUnit newAdministrativeUnit,
ICallback<AdministrativeUnit> callback)
Posts a AdministrativeUnit with a new object
|
IAdministrativeUnitRequest |
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<AdministrativeUnit> callback)
callback - the callback to be called after success or failureAdministrativeUnit get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<AdministrativeUnit> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(AdministrativeUnit sourceAdministrativeUnit, ICallback<AdministrativeUnit> callback)
sourceAdministrativeUnit - the source object with updatescallback - the callback to be called after success or failureAdministrativeUnit patch(AdministrativeUnit sourceAdministrativeUnit) throws ClientException
sourceAdministrativeUnit - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(AdministrativeUnit newAdministrativeUnit, ICallback<AdministrativeUnit> callback)
newAdministrativeUnit - the new object to createcallback - the callback to be called after success or failureAdministrativeUnit post(AdministrativeUnit newAdministrativeUnit) throws ClientException
newAdministrativeUnit - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIAdministrativeUnitRequest select(java.lang.String value)
value - the select clauseIAdministrativeUnitRequest expand(java.lang.String value)
value - the expand clause