public class BaseItemCollectionRequest extends BaseCollectionRequest<BaseItemCollectionResponse,IItemCollectionPage> implements IBaseItemCollectionRequest
| Constructor and Description |
|---|
BaseItemCollectionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request builder for this collection of Item
|
| Modifier and Type | Method and Description |
|---|---|
IItemCollectionPage |
buildFromResponse(BaseItemCollectionResponse response) |
Item |
create(Item newItem)
Deprecated.
As of release 1.1.3, replaced by
post(Item) |
void |
create(Item newItem,
ICallback<Item> callback)
Deprecated.
As of release 1.1.3, replaced by
post(Item, ICallback) |
IItemCollectionRequest |
expand(java.lang.String value) |
IItemCollectionPage |
get() |
void |
get(ICallback<IItemCollectionPage> callback) |
Item |
post(Item newItem) |
void |
post(Item newItem,
ICallback<Item> callback) |
IItemCollectionRequest |
select(java.lang.String value) |
IItemCollectionRequest |
top(int value) |
addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getHeaders, getHttpMethod, getOptions, getRequestUrl, sendpublic BaseItemCollectionRequest(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<IItemCollectionPage> callback)
get in interface IBaseItemCollectionRequestpublic IItemCollectionPage get() throws ClientException
get in interface IBaseItemCollectionRequestClientException@Deprecated public void create(Item newItem, ICallback<Item> callback)
post(Item, ICallback)create in interface IBaseItemCollectionRequest@Deprecated public Item create(Item newItem) throws ClientException
post(Item)create in interface IBaseItemCollectionRequestClientExceptionpublic void post(Item newItem, ICallback<Item> callback)
post in interface IBaseItemCollectionRequestpublic Item post(Item newItem) throws ClientException
post in interface IBaseItemCollectionRequestClientExceptionpublic IItemCollectionRequest expand(java.lang.String value)
expand in interface IBaseItemCollectionRequestpublic IItemCollectionRequest select(java.lang.String value)
select in interface IBaseItemCollectionRequestpublic IItemCollectionRequest top(int value)
top in interface IBaseItemCollectionRequestpublic IItemCollectionPage buildFromResponse(BaseItemCollectionResponse response)