public class SMPersistenceManager extends Object
| Constructor and Description |
|---|
SMPersistenceManager() |
| Modifier and Type | Method and Description |
|---|---|
static long |
addComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationRequest request,
String category) |
static void |
addCreatedDWCAResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) |
static void |
addCreatedResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) |
static void |
addCreatedResource(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) |
static long |
addImporter(org.gcube.data.analysis.statisticalmanager.stubs.SMCreateTableRequest request) |
static long |
addSystemImporter(String description,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) |
static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation> |
getComputations(String user,
String algorithm,
String category) |
static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMFile |
getFile(String fileId) |
static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMOperation |
getOperation(long operationId) |
static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource> |
getResources(String user,
String template) |
static void |
removeComputation(long operationId,
boolean force) |
static void |
removeImporter(long importerId) |
static void |
removeResource(String resourceId,
boolean forceComputationRemoval) |
static void |
setComputationalInfrastructure(long operationId,
org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE infra) |
static void |
setOperationStatus(long operationId,
String errorName,
String errorDesc,
org.gcube.data.analysis.statisticalmanager.SMOperationStatus status) |
public static long addImporter(org.gcube.data.analysis.statisticalmanager.stubs.SMCreateTableRequest request)
throws Exception
Exceptionpublic static void addCreatedResource(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws Exception
Exceptionpublic static long addSystemImporter(String description, org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) throws Exception
Exceptionpublic static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource> getResources(String user, String template) throws StatisticalManagerException, Exception
StatisticalManagerExceptionExceptionpublic static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMOperation getOperation(long operationId)
throws Exception
Exceptionpublic static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation> getComputations(String user, String algorithm, String category) throws Exception
Exceptionpublic static long addComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationRequest request,
String category)
throws Exception
Exceptionpublic static void addCreatedResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws Exception
Exceptionpublic static void addCreatedDWCAResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws Exception
Exceptionpublic static void setOperationStatus(long operationId,
String errorName,
String errorDesc,
org.gcube.data.analysis.statisticalmanager.SMOperationStatus status)
throws StatisticalManagerException,
Exception
StatisticalManagerExceptionExceptionpublic static void setComputationalInfrastructure(long operationId,
org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE infra)
throws StatisticalManagerException,
Exception
StatisticalManagerExceptionExceptionpublic static void removeComputation(long operationId,
boolean force)
throws StatisticalManagerException,
Exception
StatisticalManagerExceptionExceptionpublic static void removeResource(String resourceId, boolean forceComputationRemoval) throws StatisticalManagerException, Exception
StatisticalManagerExceptionExceptionpublic static void removeImporter(long importerId)
throws StatisticalManagerException,
Exception
StatisticalManagerExceptionExceptionpublic static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMFile getFile(String fileId) throws StatisticalManagerException, Exception
StatisticalManagerExceptionExceptionCopyright © 2015. All Rights Reserved.