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