public abstract class ItemContainer<I extends org.gcube.common.storagehub.model.items.Item> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected I |
item |
protected ItemManagerClient |
itemclient |
protected String |
itemId |
| Modifier | Constructor and Description |
|---|---|
protected |
ItemContainer(ItemManagerClient itemclient,
I item) |
protected |
ItemContainer(ItemManagerClient itemclient,
String itemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
StreamDescriptor |
download(String... nodeIdsToExclude) |
void |
forceDelete() |
I |
get() |
ListResolver |
getAnchestors() |
String |
getId() |
FolderContainer |
getRootSharedFolder() |
abstract ContainerType |
getType() |
protected void |
invalidateItem() |
void |
move(FolderContainer folder) |
void |
rename(String newName) |
void |
setDescription(String description) |
void |
setHidden() |
protected void |
setItem(I item) |
void |
setMetadata(org.gcube.common.storagehub.model.Metadata metadata) |
void |
setVisible() |
protected ItemManagerClient itemclient
protected String itemId
protected I extends org.gcube.common.storagehub.model.items.Item item
protected ItemContainer(ItemManagerClient itemclient, I item)
protected ItemContainer(ItemManagerClient itemclient, String itemId)
protected void setItem(I item)
public String getId()
public abstract ContainerType getType()
public I get()
protected void invalidateItem()
public StreamDescriptor download(String... nodeIdsToExclude) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic ListResolver getAnchestors() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void delete()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void forceDelete()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void rename(String newName) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void move(FolderContainer folder) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void setMetadata(org.gcube.common.storagehub.model.Metadata metadata)
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void setHidden()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void setDescription(String description) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void setVisible()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic FolderContainer getRootSharedFolder() throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionCopyright © 2021. All Rights Reserved.