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