public interface ItemManagerClient
| Modifier and Type | Method and Description |
|---|---|
Integer |
childrenCount(String id) |
Integer |
childrenCount(String id,
Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType) |
String |
copy(String id,
String destinationFolderId,
String newFilename) |
String |
createFolder(String parentId,
String name,
String description) |
String |
createGcubeItem(String parentId,
org.gcube.common.storagehub.model.items.GCubeItem item) |
void |
delete(String id) |
StreamDescriptor |
download(String id,
String... excludeNodes) |
StreamDescriptor |
downloadSpecificVersion(String id,
String version) |
List<? extends org.gcube.common.storagehub.model.items.Item> |
findChildrenByNamePattern(String id,
String name,
String... excludeNodes) |
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,
Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType,
String... excludeNodes) |
List<? extends org.gcube.common.storagehub.model.items.Item> |
getChildren(String id,
int start,
int limit,
Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType,
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) |
List<org.gcube.common.storagehub.model.service.Version> |
getFileVersions(String id) |
URL |
getPublickLink(String id) |
org.gcube.common.storagehub.model.items.Item |
getRootSharedFolder(String id) |
String |
move(String id,
String destinationFolderId) |
String |
rename(String id,
String newName) |
String |
setMetadata(String id,
org.gcube.common.storagehub.model.Metadata metadata) |
String |
shareFolder(String id,
Set<String> users,
org.gcube.common.storagehub.model.acls.AccessType accessType) |
String |
unshareFolder(String id,
Set<String> users) |
String |
uploadArchive(InputStream stream,
String parentId,
String extractionFolderName) |
String |
uploadFile(InputStream stream,
String parentId,
String fileName,
String description) |
List<? extends org.gcube.common.storagehub.model.items.Item> getChildren(String id, String... excludeNodes)
List<? extends org.gcube.common.storagehub.model.items.Item> getChildren(String id, Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType, String... excludeNodes)
List<? extends org.gcube.common.storagehub.model.items.Item> getChildren(String id, int start, int limit, Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType, 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> getAnchestors(String id, String... excludeNodes)
Integer childrenCount(String id, Class<? extends org.gcube.common.storagehub.model.items.Item> onlyOfType)
StreamDescriptor download(String id, String... excludeNodes)
String uploadFile(InputStream stream, String parentId, String fileName, String description)
void delete(String id)
List<? extends org.gcube.common.storagehub.model.items.Item> findChildrenByNamePattern(String id, String name, String... excludeNodes)
org.gcube.common.storagehub.model.items.Item getRootSharedFolder(String id)
String shareFolder(String id, Set<String> users, org.gcube.common.storagehub.model.acls.AccessType accessType)
String uploadArchive(InputStream stream, String parentId, String extractionFolderName)
StreamDescriptor downloadSpecificVersion(String id, String version)
Copyright © 2018. All Rights Reserved.