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