public interface IPermissionRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<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<Permission> callback)
Gets the Permission from the service
|
Permission |
patch(Permission sourcePermission)
Patches this Permission with a source
|
void |
patch(Permission sourcePermission,
ICallback<Permission> callback)
Patches this Permission with a source
|
Permission |
post(Permission newPermission)
Posts a Permission with a new object
|
void |
post(Permission newPermission,
ICallback<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, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<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<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<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<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 reasonIPermissionRequest select(java.lang.String value)
value - the select clauseIPermissionRequest expand(java.lang.String value)
value - the expand clause