public interface IBoxItemsManager extends IBoxResourceManager
| Modifier and Type | Method and Description |
|---|---|
BoxItem |
copyItem(String id,
BoxItemCopyRequestObject requestObject,
BoxResourceType type)
Copy an item.
|
BoxItem |
createSharedLink(String id,
BoxSharedLinkRequestObject requestObject,
BoxResourceType type)
Create a shared link for an item, given the id .
|
BoxItem |
getItem(String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type)
Get item given an item id.
|
BoxItem |
updateItemInfo(String id,
BoxItemRequestObject requestObject,
BoxResourceType type)
Update info for an item
|
BoxItem getItem(String id, BoxDefaultRequestObject requestObject, BoxResourceType type) throws BoxRestException, BoxServerException, AuthFatalFailureException
id - id of the itemrequestObject - requestObjecttype - resource typeBoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.BoxItem copyItem(String id, BoxItemCopyRequestObject requestObject, BoxResourceType type) throws BoxRestException, BoxServerException, AuthFatalFailureException
id - id of the itemrequestObject - request objecttype - resource type of the itemBoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.BoxItem updateItemInfo(String id, BoxItemRequestObject requestObject, BoxResourceType type) throws UnsupportedEncodingException, BoxRestException, BoxServerException, AuthFatalFailureException
id - id of the itemrequestObject - request objecttype - resource type of the itemUnsupportedEncodingException - exceptionBoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.BoxItem createSharedLink(String id, BoxSharedLinkRequestObject requestObject, BoxResourceType type) throws BoxRestException, BoxServerException, AuthFatalFailureException
id - id of the itemrequestObject - request objecttype - resource type of this itemBoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.Copyright © 2014. All Rights Reserved.