public class WorkspaceManager extends Object
| Constructor and Description |
|---|
WorkspaceManager(Record record) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFromWS(WorkspaceContent toDelete) |
org.gcube.common.storagehub.client.dsl.FolderContainer |
getApplicationBaseFolder() |
org.gcube.common.storagehub.client.dsl.FileContainer |
getFileById(String id) |
org.gcube.common.storagehub.client.dsl.FolderContainer |
getSubFolder(String path) |
org.gcube.common.storagehub.client.dsl.FolderContainer |
getWSBase() |
WorkspaceContent |
storeToWS(File f,
org.gcube.common.storagehub.client.dsl.FolderContainer destination,
String name,
String description) |
public WorkspaceManager(Record record)
public org.gcube.common.storagehub.client.dsl.FolderContainer getApplicationBaseFolder()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic org.gcube.common.storagehub.client.dsl.FileContainer getFileById(String id) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic org.gcube.common.storagehub.client.dsl.FolderContainer getWSBase()
throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic org.gcube.common.storagehub.client.dsl.FolderContainer getSubFolder(String path) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic WorkspaceContent storeToWS(File f, org.gcube.common.storagehub.client.dsl.FolderContainer destination, String name, String description) throws FileNotFoundException, org.gcube.common.storagehub.model.exceptions.StorageHubException
FileNotFoundExceptionorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionpublic void deleteFromWS(WorkspaceContent toDelete) throws org.gcube.common.storagehub.model.exceptions.StorageHubException
org.gcube.common.storagehub.model.exceptions.StorageHubExceptionCopyright © 2020. All Rights Reserved.