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