public class WorkSpaceManagement extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_FORMAT |
protected static org.gcube.common.resources.gcore.GCoreEndpoint |
gCoreEndpoint |
static org.slf4j.Logger |
logger |
protected static String |
NAME_FORMAT |
protected static Map<String,String> |
restEndpointMap |
protected static String |
SERVICE_CLASS |
protected static String |
SERVICE_NAME |
protected static String |
STATUS_FORMAT |
static String |
USER_AGENT |
| Constructor and Description |
|---|
WorkSpaceManagement() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToZipFile(ZipOutputStream zos,
File file) |
static String |
createFolder(String parentPath,
String folderName,
String folderDescription) |
static String |
getHome() |
protected static org.gcube.common.resources.gcore.GCoreEndpoint |
getHomeLibraryGCoreEndpoint() |
protected static org.gcube.resources.discovery.client.queries.api.SimpleQuery |
queryForHomeLibraryGCoreEndpoint() |
static void |
uploadFile(InputStream inputStream,
String name,
String description,
String mimeType,
String parentPath) |
static boolean |
zipAndBackupFiles(String targetFolder,
String name,
File... files) |
public static org.slf4j.Logger logger
protected static final org.gcube.common.resources.gcore.GCoreEndpoint gCoreEndpoint
protected static final String CLASS_FORMAT
protected static final String NAME_FORMAT
protected static final String STATUS_FORMAT
protected static final String SERVICE_CLASS
protected static final String SERVICE_NAME
public static final String USER_AGENT
protected static org.gcube.resources.discovery.client.queries.api.SimpleQuery queryForHomeLibraryGCoreEndpoint()
protected static org.gcube.common.resources.gcore.GCoreEndpoint getHomeLibraryGCoreEndpoint()
public static void addToZipFile(ZipOutputStream zos, File file) throws Exception
Exceptionpublic static boolean zipAndBackupFiles(String targetFolder, String name, File... files) throws Exception
Exceptionpublic static String createFolder(String parentPath, String folderName, String folderDescription) throws Exception
ExceptionCopyright © 2018. All Rights Reserved.