public class DefaultItemManager extends Object implements ItemManagerClient
| Constructor and Description |
|---|
DefaultItemManager(org.gcube.common.clients.delegates.ProxyDelegate<javax.ws.rs.client.WebTarget> config) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
childrenCount(String id) |
String |
createFolder(String parentId,
String name,
String description) |
StreamDescriptor |
download(String id) |
org.gcube.common.storagehub.model.items.Item |
get(String id,
String... excludeNodes) |
List<org.gcube.common.storagehub.model.acls.ACL> |
getACL(String id) |
List<? extends org.gcube.common.storagehub.model.items.Item> |
getAnchestors(String id,
String... excludeNodes) |
List<? extends org.gcube.common.storagehub.model.items.Item> |
getChildren(String id,
int start,
int limit,
String... excludeNodes) |
List<? extends org.gcube.common.storagehub.model.items.Item> |
getChildren(String id,
String... excludeNodes) |
void |
moveToTrash(String id) |
String |
uploadFile(InputStream stream,
String parentId,
String fileName,
String description) |
public DefaultItemManager(org.gcube.common.clients.delegates.ProxyDelegate<javax.ws.rs.client.WebTarget> config)
public List<? extends org.gcube.common.storagehub.model.items.Item> getChildren(String id, String... excludeNodes)
getChildren in interface ItemManagerClientpublic StreamDescriptor download(String id)
download in interface ItemManagerClientpublic org.gcube.common.storagehub.model.items.Item get(String id, String... excludeNodes)
get in interface ItemManagerClientpublic List<? extends org.gcube.common.storagehub.model.items.Item> getChildren(String id, int start, int limit, String... excludeNodes)
getChildren in interface ItemManagerClientpublic Integer childrenCount(String id)
childrenCount in interface ItemManagerClientpublic String uploadFile(InputStream stream, String parentId, String fileName, String description)
uploadFile in interface ItemManagerClientpublic String createFolder(String parentId, String name, String description)
createFolder in interface ItemManagerClientpublic void moveToTrash(String id)
moveToTrash in interface ItemManagerClientpublic List<? extends org.gcube.common.storagehub.model.items.Item> getAnchestors(String id, String... excludeNodes)
getAnchestors in interface ItemManagerClientpublic List<org.gcube.common.storagehub.model.acls.ACL> getACL(String id)
getACL in interface ItemManagerClientCopyright © 2018. All Rights Reserved.