Package | Description |
---|---|
com.box.boxjavalibv2 | |
com.box.boxjavalibv2.dao | |
com.box.boxjavalibv2.requests | |
com.box.boxjavalibv2.resourcemanagers | |
com.box.boxjavalibv2.utils |
Modifier and Type | Method and Description |
---|---|
IBoxResourceManager |
BoxClient.getResourceManagerWithSharedLinkAuth(BoxResourceType type,
java.lang.String sharedLink,
java.lang.String password)
A generic way to get a resourceManager with shared link auth.
|
Modifier and Type | Method and Description |
---|---|
static BoxResourceType |
BoxResourceType.getTypeFromLowercaseString(java.lang.String string)
Deprecated.
|
BoxResourceType |
BoxTypedObject.resourceType()
Deprecated.
|
static BoxResourceType |
BoxResourceType.valueOf(java.lang.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 java.lang.String |
UpdateItemInfoRequest.getUri(java.lang.String fileFolderId,
BoxResourceType type)
Get uri.
|
static java.lang.String |
RestoreTrashItemRequest.getUri(java.lang.String id,
BoxResourceType type) |
static java.lang.String |
GetTrashItemRequest.getUri(java.lang.String id,
BoxResourceType itemType)
Get uri.
|
static java.lang.String |
GetItemRequest.getUri(java.lang.String id,
BoxResourceType type)
Get uri.
|
static java.lang.String |
DeleteTrashItemRequest.getUri(java.lang.String id,
BoxResourceType itemType)
Get uri.
|
static java.lang.String |
CreateSharedLinkRequest.getUri(java.lang.String fileFolderId,
BoxResourceType type)
Get uri.
|
static java.lang.String |
CopyItemRequest.getUri(java.lang.String id,
BoxResourceType type)
Get uri.
|
void |
UpdateItemInfoRequestTest.testRequestIsWellFormed(BoxResourceType type) |
void |
RestoreTrashItemRequestTest.testRequestIsWellFormed(BoxResourceType type) |
void |
GetTrashItemRequestTest.testRequestIsWellFormed(BoxResourceType type) |
void |
GetItemRequestTest.testRequestIsWellFormed(BoxResourceType type) |
void |
DeleteTrashItemRequestTest.testRequestIsWellFormed(BoxResourceType type) |
Modifier and Type | Method and Description |
---|---|
BoxItem |
IBoxItemsManager.copyItem(java.lang.String id,
BoxItemCopyRequestObject requestObject,
BoxResourceType type)
Copy an item.
|
BoxItem |
BoxItemsManagerImpl.copyItem(java.lang.String id,
BoxItemCopyRequestObject requestObject,
BoxResourceType type) |
BoxItem |
IBoxItemsManager.createSharedLink(java.lang.String id,
BoxSharedLinkRequestObject requestObject,
BoxResourceType type)
Create a shared link for an item, given the id .
|
BoxItem |
BoxItemsManagerImpl.createSharedLink(java.lang.String id,
BoxSharedLinkRequestObject requestObject,
BoxResourceType type) |
BoxItem |
IBoxItemsManager.getItem(java.lang.String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type)
Get item given an item id.
|
BoxItem |
BoxItemsManagerImpl.getItem(java.lang.String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type) |
protected java.lang.Object |
AbstractBoxResourceManager.tryCastBoxItem(BoxResourceType type,
java.lang.Object item)
Try to cast a box item into a concrete class(i.e.
|
BoxItem |
IBoxItemsManager.updateItemInfo(java.lang.String id,
BoxItemRequestObject requestObject,
BoxResourceType type)
Update info for an item
|
BoxItem |
BoxItemsManagerImpl.updateItemInfo(java.lang.String id,
BoxItemRequestObject requestObject,
BoxResourceType type) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Utils.getContainerString(BoxResourceType type)
Given a resource type, get the string for it's REST API container.
|