| Modifier and Type | Method and Description |
|---|---|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
File destination,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
InputStream |
BoxFileDownload.execute(IBoxRequestAuth auth,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute the download and return the raw InputStream.
|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
OutputStream[] outputStreams,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BoxCollabRequestObject
Entity for adding collaboration request.
|
class |
BoxCommentRequestObject
Entity for a comment message.
|
class |
BoxEventRequestObject |
class |
BoxFileRequestObject |
class |
BoxFileUploadRequestObject |
class |
BoxFolderRequestObject |
class |
BoxGroupRequestObject |
class |
BoxImageRequestObject |
class |
BoxItemRequestObject |
class |
BoxItemRestoreRequestObject |
class |
BoxOAuthRequestObject |
class |
BoxSharedLinkRequestObject
Entity for shared link.
|
class |
BoxUserRequestObject |
| Modifier and Type | Method and Description |
|---|---|
BoxDefaultRequestObject |
BoxDefaultRequestObject.addField(String field)
Add a field in the request, these fields (Please check "Fields" part in developer doc will end up as fields
query parameter in the url.
|
BoxDefaultRequestObject |
BoxDefaultRequestObject.addFields(List<String> fields)
Add fields in the request, these fields (Please check "Fields" part in developer doc will end up as fields
query parameter in the url.
|
BoxDefaultRequestObject |
BoxDefaultRequestObject.addHeader(String key,
String value)
Add a header.
|
BoxDefaultRequestObject |
BoxDefaultRequestObject.addQueryParam(String key,
String value)
Add a query parameter.
|
BoxDefaultRequestObject |
BoxDefaultRequestObject.setPage(int limit,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
BoxCollaborationsManager.deleteCollaboration(String collabId,
BoxDefaultRequestObject requestObject)
Delete a collaboration.
|
void |
BoxCommentsManager.deleteComment(String commentId,
BoxDefaultRequestObject requestObject)
Delete a comment.
|
void |
BoxUsersManager.deleteEmailAlias(String userId,
String emailId,
BoxDefaultRequestObject requestObject)
Removes an email alias from a user.
|
InputStream |
BoxFilesManager.downloadFile(String fileId,
BoxDefaultRequestObject requestObject)
Execute the download and return the raw InputStream.
|
void |
BoxFilesManager.downloadFile(String fileId,
File destination,
IFileTransferListener listener,
BoxDefaultRequestObject requestObject)
Download a file.
|
void |
BoxFilesManager.downloadFile(String fileId,
OutputStream[] outputStreams,
IFileTransferListener listener,
BoxDefaultRequestObject requestObject)
Download a file.
|
BoxCollection |
BoxGroupsManager.getAllCollaborations(String groupId,
BoxDefaultRequestObject requestObject) |
List<BoxUser> |
BoxUsersManager.getAllEnterpriseUser(BoxDefaultRequestObject requestObject,
String filterTerm)
Get the list of all users for the Enterprise with their user_id, public_name, and login if the user is an enterprise admin.
|
BoxCollection |
BoxGroupsManager.getAllGroups(BoxDefaultRequestObject requestObject) |
BoxCollaboration |
BoxCollaborationsManager.getCollaboration(String collabId,
BoxDefaultRequestObject requestObject)
Get a collaboration.
|
BoxComment |
BoxCommentsManager.getComment(String commentId,
BoxDefaultRequestObject requestObject)
Get a comment, given a comment id.
|
BoxUser |
BoxUsersManager.getCurrentUser(BoxDefaultRequestObject requestObject)
Get the current user's information.
|
List<BoxEmailAlias> |
BoxUsersManager.getEmailAliases(String userId,
BoxDefaultRequestObject requestObject)
Retrieves all email aliases for this user.
|
BoxCollection |
BoxEventsManager.getEventOptions(BoxDefaultRequestObject requestObject)
Get Events options.
|
BoxFile |
BoxFilesManager.getFile(String fileId,
BoxDefaultRequestObject requestObject)
Get file given a file id.
|
BoxCollection |
BoxFilesManager.getFileComments(String fileId,
BoxDefaultRequestObject requestObject)
Get comments on a file.
|
List<BoxFileVersion> |
BoxFilesManager.getFileVersions(String fileId,
BoxDefaultRequestObject requestObject)
Get file versions(Note: Versions are only tracked for Box users with premium accounts.).
|
BoxFolder |
BoxFoldersManager.getFolder(String folderId,
BoxDefaultRequestObject requestObject)
Get folder given a folder id.
|
List<BoxCollaboration> |
BoxFoldersManager.getFolderCollaborations(String folderId,
BoxDefaultRequestObject requestObject)
Get collaborations of a folder.
|
BoxItem |
BoxItemsManager.getItem(String id,
BoxDefaultRequestObject requestObject,
BoxResourceType type)
Get item given an item id.
|
BoxGroupMembership |
BoxGroupsManager.getMembership(String membershipId,
BoxDefaultRequestObject requestObject) |
BoxCollection |
BoxGroupsManager.getMemberships(String groupId,
BoxDefaultRequestObject requestObject) |
BoxItem |
BoxSharedItemsManager.getSharedItem(BoxDefaultRequestObject requestObject)
Get the shared item given a SharedItemAuth.
|
BoxFile |
BoxFilesManager.getTrashFile(String fileId,
BoxDefaultRequestObject requestObject)
Get trashed file given a file id.
|
BoxFolder |
BoxFoldersManager.getTrashFolder(String folderId,
BoxDefaultRequestObject requestObject)
Get trash folder given a folder id.
|
BoxItem |
BoxItemsManager.getTrashItem(String itemId,
BoxResourceType type,
BoxDefaultRequestObject requestObject)
Get a trashed item.
|
BoxCollection |
BoxSearchManager.search(String searchQuery,
BoxDefaultRequestObject requestObject)
Perform a search against the user's account.
|
| Constructor and Description |
|---|
DefaultBoxRequest(IBoxConfig config,
IBoxJSONParser parser,
String uriPath,
RestMethod restMethod,
BoxDefaultRequestObject requestObject)
Constructor.
|
Copyright © 2014. All Rights Reserved.