public class FolderContainer extends ItemContainer<org.gcube.common.storagehub.model.items.FolderItem>
item, itemclient, itemId| Modifier | Constructor and Description |
|---|---|
protected |
FolderContainer(ItemManagerClient itemclient,
org.gcube.common.storagehub.model.items.FolderItem item) |
protected |
FolderContainer(ItemManagerClient itemclient,
String folderId) |
| Modifier and Type | Method and Description |
|---|---|
ListResolver |
findByName(String namePattern) |
List<org.gcube.common.storagehub.model.acls.ACL> |
getAcls() |
ContainerType |
getType() |
ListResolverTyped |
list() |
FolderContainer |
newFolder(String name,
String description) |
GenericItemContainer |
newGcubeItem(org.gcube.common.storagehub.model.items.GCubeItem item) |
FolderContainer |
newHiddenFolder(String name,
String description) |
FolderContainer |
share(Set<String> users,
org.gcube.common.storagehub.model.acls.AccessType accessType) |
FolderContainer |
unshare(Set<String> users) |
FolderContainer |
uploadArchive(InputStream stream,
String extractionFolderName) |
FileContainer |
uploadFile(InputStream stream,
String filename,
String description) |
delete, download, get, getAnchestors, getId, getRootSharedFolder, invalidateItem, move, rename, setItem, setMetadataprotected FolderContainer(ItemManagerClient itemclient, org.gcube.common.storagehub.model.items.FolderItem item)
protected FolderContainer(ItemManagerClient itemclient, String folderId)
public ContainerType getType()
getType in class ItemContainer<org.gcube.common.storagehub.model.items.FolderItem>public ListResolverTyped list() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic FileContainer uploadFile(InputStream stream, String filename, String description) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic FolderContainer uploadArchive(InputStream stream, String extractionFolderName) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic FolderContainer newFolder(String name, String description) throws Exception
Exceptionpublic FolderContainer newHiddenFolder(String name, String description) throws Exception
Exceptionpublic GenericItemContainer newGcubeItem(org.gcube.common.storagehub.model.items.GCubeItem item) throws Exception
Exceptionpublic List<org.gcube.common.storagehub.model.acls.ACL> getAcls() throws Exception
Exceptionpublic ListResolver findByName(String namePattern) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic FolderContainer share(Set<String> users, org.gcube.common.storagehub.model.acls.AccessType accessType) throws Exception
Exceptionpublic FolderContainer unshare(Set<String> users) throws Exception
ExceptionCopyright © 2019. All Rights Reserved.