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) |
PaginatedResult<Item> |
listItems(String id,
int offset,
int limit,
List<String> fields) |
Folder |
move(String userId,
String targetUserId) |
List<Item> |
search(SearchParams params) |
List<Item> |
search(String query,
String parentId) |
Folder |
update(String id,
FolderInput input) |
convert, convert, convert, execute, getBoxAPIConnection, getConfig, getOutputConverter
public FolderClientImpl(AbstractConfig config)
public Folder get(String id)
get
in interface FolderClient
public PaginatedResult<Item> listItems(String id, int offset, int limit, 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
public List<Item> search(String query, String parentId)
search
in interface FolderClient
public List<Item> search(SearchParams params)
search
in interface FolderClient
Copyright © 2010–2019. All rights reserved.