public class BasePermissionRequest extends BaseRequest implements IBasePermissionRequest
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BasePermissionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request for the Permission
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
create(Permission newPermission)
Deprecated.
As of release 1.1.3, replaced by
post(Permission) |
void |
create(Permission newPermission,
ICallback<Permission> callback)
Deprecated.
As of release 1.1.3, replaced by
post(Permission, ICallback) |
void |
delete() |
void |
delete(ICallback<java.lang.Void> callback) |
IPermissionRequest |
expand(java.lang.String value) |
Permission |
get() |
void |
get(ICallback<Permission> callback) |
Permission |
patch(Permission sourcePermission) |
void |
patch(Permission sourcePermission,
ICallback<Permission> callback) |
Permission |
post(Permission newPermission) |
void |
post(Permission newPermission,
ICallback<Permission> callback) |
IPermissionRequest |
select(java.lang.String value) |
IPermissionRequest |
top(int value) |
Permission |
update(Permission sourcePermission)
Deprecated.
As of release 1.1.3, replaced by
patch(Permission) |
void |
update(Permission sourcePermission,
ICallback<Permission> callback)
Deprecated.
As of release 1.1.3, replaced by
patch(Permission, ICallback) |
addHeader, getClient, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, send, send, setHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getHeaders, getHttpMethod, getOptions, getRequestUrlpublic BasePermissionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
requestUrl - The request urlclient - The service clientoptions - The options for this requestpublic void get(ICallback<Permission> callback)
get in interface IBasePermissionRequestpublic Permission get() throws ClientException
get in interface IBasePermissionRequestClientException@Deprecated public void update(Permission sourcePermission, ICallback<Permission> callback)
patch(Permission, ICallback)update in interface IBasePermissionRequest@Deprecated public Permission update(Permission sourcePermission) throws ClientException
patch(Permission)update in interface IBasePermissionRequestClientExceptionpublic void patch(Permission sourcePermission, ICallback<Permission> callback)
patch in interface IBasePermissionRequestpublic Permission patch(Permission sourcePermission) throws ClientException
patch in interface IBasePermissionRequestClientExceptionpublic void delete(ICallback<java.lang.Void> callback)
delete in interface IBasePermissionRequestpublic void delete()
throws ClientException
delete in interface IBasePermissionRequestClientException@Deprecated public void create(Permission newPermission, ICallback<Permission> callback)
post(Permission, ICallback)create in interface IBasePermissionRequest@Deprecated public Permission create(Permission newPermission) throws ClientException
post(Permission)create in interface IBasePermissionRequestClientExceptionpublic void post(Permission newPermission, ICallback<Permission> callback)
post in interface IBasePermissionRequestpublic Permission post(Permission newPermission) throws ClientException
post in interface IBasePermissionRequestClientExceptionpublic IPermissionRequest select(java.lang.String value)
select in interface IBasePermissionRequestpublic IPermissionRequest top(int value)
top in interface IBasePermissionRequestpublic IPermissionRequest expand(java.lang.String value)
expand in interface IBasePermissionRequest