public class WorkSpaceManagement extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
WorkSpaceManagement() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.gcube.common.homelibrary.home.workspace.WorkspaceFolder |
createFolder(String user,
String parentId,
String folderName,
String folderDescription)
Create Folder into workspace
|
protected static org.gcube.common.homelibrary.home.workspace.WorkspaceFolder |
init(String user)
Init
Return a workspace folder
|
protected static boolean |
onSaveBackupFile(com.couchbase.client.java.Bucket accountingBucket,
String bucket,
String scope,
String startKeyString,
String endKeyString,
AggregationType aggType)
Save a backup file compressed into workspace
|
protected static void |
saveItemOnWorkspace(String user,
InputStream inputStream,
String name,
String description,
String folderId)
Save a Item on workspace
|
protected static boolean onSaveBackupFile(com.couchbase.client.java.Bucket accountingBucket,
String bucket,
String scope,
String startKeyString,
String endKeyString,
AggregationType aggType)
throws Exception
bucket - startKeyString - endKeyString - aggType - Exceptionprotected static org.gcube.common.homelibrary.home.workspace.WorkspaceFolder init(String user) throws Exception
user - Exceptionprotected static org.gcube.common.homelibrary.home.workspace.WorkspaceFolder createFolder(String user, String parentId, String folderName, String folderDescription) throws Exception
user - parentId - folder parentfolderName - folderDescription - ExceptionCopyright © 2017. All Rights Reserved.