public class TrashClientImpl extends BaseClient<com.box.sdk.BoxItem.Info,Void,Void> implements TrashClient
TrashClient
.Constructor and Description |
---|
TrashClientImpl(AbstractConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFile(String id) |
void |
deleteFolder(String id) |
File |
getFile(String id,
List<String> fields) |
Folder |
getFolder(String id,
List<String> fields) |
PaginatedResult<Item> |
list(int offset,
int limit,
List<String> fields) |
File |
restoreFile(String id,
String name,
String parentId) |
Folder |
restoreFolder(String id,
String name,
String parentId) |
convert, convert, convert, execute, getBoxAPIConnection, getConfig, getOutputConverter
public TrashClientImpl(AbstractConfig config)
public PaginatedResult<Item> list(int offset, int limit, List<String> fields)
list
in interface TrashClient
public Folder getFolder(String id, List<String> fields)
getFolder
in interface TrashClient
public void deleteFolder(String id)
deleteFolder
in interface TrashClient
public Folder restoreFolder(String id, String name, String parentId)
restoreFolder
in interface TrashClient
public File getFile(String id, List<String> fields)
getFile
in interface TrashClient
public void deleteFile(String id)
deleteFile
in interface TrashClient
public File restoreFile(String id, String name, String parentId)
restoreFile
in interface TrashClient
Copyright © 2010–2017. All rights reserved.