Class ItemContainer<I extends org.gcube.common.storagehub.model.items.Item>

    • Field Detail

      • itemId

        protected String itemId
      • item

        protected I extends org.gcube.common.storagehub.model.items.Item item
    • Method Detail

      • setItem

        protected void setItem​(I item)
      • getId

        public String getId()
      • get

        public I get()
      • invalidateItem

        protected void invalidateItem()
      • download

        public StreamDescriptor download​(String... nodeIdsToExclude)
                                  throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • getAnchestors

        public ListResolver getAnchestors()
                                   throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • delete

        public void delete()
                    throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • forceDelete

        public void forceDelete()
                         throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • rename

        public void rename​(String newName)
                    throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • move

        public void move​(FolderContainer folder)
                  throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • setMetadata

        public void setMetadata​(org.gcube.common.storagehub.model.Metadata metadata)
                         throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • setHidden

        public void setHidden()
                       throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • setDescription

        public void setDescription​(String description)
                            throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • setVisible

        public void setVisible()
                        throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • getRootSharedFolder

        public FolderContainer getRootSharedFolder()
                                            throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException