| Package | Description |
|---|---|
| com.box.boxjavalibv2.dao | |
| com.box.boxjavalibv2.filetransfer | |
| com.box.boxjavalibv2.resourcemanagers |
| Constructor and Description |
|---|
BoxFile(BoxFile obj)
Copy constructor, this does deep copy for all the fields.
|
| Modifier and Type | Method and Description |
|---|---|
BoxFile |
BoxFileUpload.execute(BoxFilesManager manager,
BoxFileUploadRequestObject requestObject)
Execute the upload task.
|
BoxFile |
BoxFileUpload.execute(String fileId,
BoxFilesManager manager,
BoxFileUploadRequestObject requestObject)
Upload a new version of file with known file id and sha1.
|
| Modifier and Type | Method and Description |
|---|---|
BoxFile |
BoxFilesManager.copyFile(String fileId,
BoxFileRequestObject requestObject)
Copy a file.
|
BoxFile |
BoxFilesManager.createSharedLink(String fileId,
BoxFileRequestObject requestObject)
Create a shared link for a file, given the id of the file/folder.
|
BoxFile |
BoxFilesManager.getFile(String fileId,
BoxDefaultRequestObject requestObject)
Get file given a file id.
|
BoxFile |
BoxFilesManager.getTrashFile(String fileId,
BoxDefaultRequestObject requestObject)
Get trashed file given a file id.
|
BoxFile |
BoxFilesManager.restoreTrashFile(String id,
BoxItemRestoreRequestObject requestObject)
Restore a trashed file.
|
BoxFile |
BoxFilesManager.updateFileInfo(String fileId,
BoxFileRequestObject requestObject)
Update info for a file.
|
BoxFile |
BoxFilesManager.uploadFile(BoxFileUploadRequestObject requestObject)
Upload file/files.
|
BoxFile |
BoxFilesManager.uploadNewVersion(String fileId,
BoxFileUploadRequestObject requestObject)
Upload a new version of a file.
|
| Modifier and Type | Method and Description |
|---|---|
static List<BoxFile> |
BoxFilesManager.getFiles(BoxCollection collection)
Get files in a collection.
|
Copyright © 2014. All Rights Reserved.