public class FolderClientImpl extends BaseClient<com.box.sdk.BoxItem.Info,FolderInput,Folder> implements FolderClient
Constructor and Description |
---|
FolderClientImpl(AbstractConfig config) |
Modifier and Type | Method and Description |
---|---|
Folder |
copy(String id,
String targetId,
String name) |
Folder |
create(String parentId,
String name) |
SharedLink |
createSharedLink(String id,
SharedLinkAccess access,
Date unshareDate,
SharedLinkPermissions permissions) |
void |
delete(String id,
boolean recursive) |
Folder |
get(String id) |
List<Item> |
listItems(String id,
List<String> fields) |
Folder |
move(String userId,
String targetUserId) |
List<Item> |
search(String query,
String parentId) |
Folder |
update(String id,
FolderInput input) |
convert, convert, convert, getBoxAPIConnection, getConfig, getOutputConverter
public FolderClientImpl(AbstractConfig config)
public Folder get(String id)
get
in interface FolderClient
public List<Item> listItems(String id, List<String> fields)
listItems
in interface FolderClient
public Folder create(String parentId, String name)
create
in interface FolderClient
public Folder update(String id, FolderInput input)
update
in interface FolderClient
public void delete(String id, boolean recursive)
delete
in interface FolderClient
public Folder copy(String id, String targetId, String name)
copy
in interface FolderClient
public SharedLink createSharedLink(String id, SharedLinkAccess access, Date unshareDate, SharedLinkPermissions permissions)
createSharedLink
in interface FolderClient
public Folder move(String userId, String targetUserId)
move
in interface FolderClient
Copyright © 2010–2016. All rights reserved.