Interface WorkspaceManagerClient

All Superinterfaces:
ManagerClient
All Known Implementing Classes:
DefaultWorkspaceManager

public interface WorkspaceManagerClient extends ManagerClient
  • Method Details

    • getWorkspace

      <T extends org.gcube.common.storagehub.model.items.Item> T getWorkspace(String... excludeNodes)
    • getVreFolders

      List<? extends org.gcube.common.storagehub.model.items.Item> getVreFolders(String... excludeNodes)
    • getVreFolders

      List<? extends org.gcube.common.storagehub.model.items.Item> getVreFolders(int start, int limit, String... excludeNodes)
    • getVreFolder

      <T extends org.gcube.common.storagehub.model.items.Item> T getVreFolder(String... excludeNodes)
    • search

      List<? extends org.gcube.common.storagehub.model.items.Item> search(org.gcube.common.storagehub.model.query.Query<org.gcube.common.storagehub.model.expressions.SearchableItem<?>> query, String... excludeNodes)
    • getTrashFolder

      <T extends org.gcube.common.storagehub.model.items.Item> T getTrashFolder(String... excludeNodes)
    • getRecentModifiedFilePerVre

      List<? extends org.gcube.common.storagehub.model.items.Item> getRecentModifiedFilePerVre()
    • restoreFromTrash

      String restoreFromTrash(String thrashedItemid, String destinationFolderId) throws org.gcube.common.storagehub.model.exceptions.StorageHubException, org.gcube.common.storagehub.model.exceptions.BackendGenericError
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
      org.gcube.common.storagehub.model.exceptions.BackendGenericError
    • emptyTrash

      void emptyTrash() throws org.gcube.common.storagehub.model.exceptions.StorageHubException, org.gcube.common.storagehub.model.exceptions.BackendGenericError
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
      org.gcube.common.storagehub.model.exceptions.BackendGenericError
    • getTotalItemCount

      long getTotalItemCount()
    • getTotalVolume

      long getTotalVolume()
    • uploadFileToVolatile

      String uploadFileToVolatile(InputStream stream, String filename, long contentLength) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
    • uploadFileToVolatile

      String uploadFileToVolatile(InputStream stream, String filename) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException
    • uploadFileToVolatile

      String uploadFileToVolatile(File file) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
      Throws:
      org.gcube.common.storagehub.model.exceptions.StorageHubException