| Package | Description |
|---|---|
| com.box.boxjavalibv2.requests | |
| com.box.boxjavalibv2.requests.requestobjects | |
| com.box.boxjavalibv2.resourcemanagers |
| Constructor and Description |
|---|
RestoreTrashItemRequest(IBoxConfig config,
IBoxJSONParser parser,
String id,
BoxResourceType type,
BoxItemRestoreRequestObject requestObject)
Cosntructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxItemRestoreRequestObject |
BoxItemRestoreRequestObject.restoreItemRequestObject()
Default request object for restoring a trashed item.
|
BoxItemRestoreRequestObject |
BoxItemRestoreRequestObject.setNewName(String newName)
Rename the restored item.
|
BoxItemRestoreRequestObject |
BoxItemRestoreRequestObject.setNewParent(String parentId)
Set new parent for the restored item.
|
| Modifier and Type | Method and Description |
|---|---|
BoxFile |
BoxFilesManager.restoreTrashFile(String id,
BoxItemRestoreRequestObject requestObject)
Restore a trashed file.
|
BoxFolder |
BoxFoldersManager.restoreTrashFolder(String id,
BoxItemRestoreRequestObject requestObject)
Restore a trashed folder.
|
BoxItem |
BoxItemsManager.restoreTrashItem(String id,
BoxResourceType type,
BoxItemRestoreRequestObject requestObject)
Restore a trashed item.
|
Copyright © 2014. All Rights Reserved.