Interface WorkspaceManagerClient
-
- All Superinterfaces:
ManagerClient
- All Known Implementing Classes:
DefaultWorkspaceManager
public interface WorkspaceManagerClient extends ManagerClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidemptyTrash()List<? extends org.gcube.common.storagehub.model.items.Item>getRecentModifiedFilePerVre()longgetTotalItemCount()longgetTotalVolume()<T extends org.gcube.common.storagehub.model.items.Item>
TgetTrashFolder(String... excludeNodes)<T extends org.gcube.common.storagehub.model.items.Item>
TgetVreFolder(String... excludeNodes)List<? extends org.gcube.common.storagehub.model.items.Item>getVreFolders(int start, int limit, String... excludeNodes)List<? extends org.gcube.common.storagehub.model.items.Item>getVreFolders(String... excludeNodes)<T extends org.gcube.common.storagehub.model.items.Item>
TgetWorkspace(String... excludeNodes)StringrestoreFromTrash(String thrashedItemid, String destinationFolderId)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)StringuploadFileToVolatile(File file)StringuploadFileToVolatile(InputStream stream, String filename)StringuploadFileToVolatile(InputStream stream, String filename, long contentLength)-
Methods inherited from interface org.gcube.common.storagehub.client.proxies.ManagerClient
impersonate, register
-
-
-
-
Method Detail
-
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.StorageHubExceptionorg.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.StorageHubExceptionorg.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
-
-