| Modifier and Type | Method and Description |
|---|---|
BoxResourceManager |
BoxClient.getResourceManagerWithSharedLinkAuth(BoxResourceType type,
String sharedLink,
String password)
A generic way to get a resourceManager with shared link auth.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxResourceType |
BoxResourceType.getTypeFromLowercaseString(String string)
Deprecated.
|
BoxResourceType |
BoxTypedObject.resourceType()
Deprecated.
|
static BoxResourceType |
BoxResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxResourceType[] |
BoxResourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
UpdateItemInfoRequest.getUri(String fileFolderId,
BoxResourceType type)
Get uri.
|
static String |
RestoreTrashItemRequest.getUri(String id,
BoxResourceType type)
Get uri.
|
static String |
GetTrashItemRequest.getUri(String id,
BoxResourceType itemType)
Get uri.
|
static String |
GetItemRequest.getUri(String id,
BoxResourceType type)
Get uri.
|
static String |
DeleteTrashItemRequest.getUri(String id,
BoxResourceType itemType)
Get uri.
|
static String |
CreateSharedLinkRequest.getUri(String fileFolderId,
BoxResourceType type)
Get uri.
|
static String |
CopyItemRequest.getUri(String id,
BoxResourceType type)
Get uri.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxCommentRequestObject |
BoxCommentRequestObject.addCommentRequestObject(BoxResourceType type,
String itemId,
String message)
A BoxCommentRequestObject for AddCommentRequest.
|
BoxCommentRequestObject |
BoxCommentRequestObject.setItem(BoxResourceType type,
String itemId)
Set the item to be commented.
|
| Modifier and Type | Method and Description |
|---|---|
BoxItem |
BoxItemsManager.copyItem(String id,
BoxItemRequestObject requestObject,
BoxResourceType type)
Copy an item.
|
BoxItem |
BoxItemsManager.createSharedLink(String id,
BoxItemRequestObject requestObject,
BoxResourceType type)
Create a shared link for an item, given the id .
|
void |
BoxItemsManager.deleteTrashItem(String id,
BoxResourceType type,
BoxFileRequestObject requestObject)
Permanently delete a trashed item.
|
BoxItem |
BoxItemsManager.getItem(String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type)
Get item given an item id.
|
BoxItem |
BoxItemsManager.getTrashItem(String itemId,
BoxResourceType type,
BoxDefaultRequestObject requestObject)
Get a trashed item.
|
BoxItem |
BoxItemsManager.restoreTrashItem(String id,
BoxResourceType type,
BoxItemRestoreRequestObject requestObject)
Restore a trashed item.
|
protected Object |
BoxResourceManager.tryCastBoxItem(BoxResourceType type,
Object item)
Try to cast a box item into a concrete class(i.e.
|
BoxItem |
BoxItemsManager.updateItemInfo(String id,
BoxItemRequestObject requestObject,
BoxResourceType type)
Update info for an item
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Utils.getContainerString(BoxResourceType type)
Given a resource type, get the string for it's REST API container.
|
Copyright © 2014. All Rights Reserved.