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 errorMessage,
String errorDesc,
org.gcube.data.analysis.statisticalmanager.SMOperationStatus status) |
public static long addImporter(org.gcube.data.analysis.statisticalmanager.stubs.SMCreateTableRequest request)
throws ISException,
HibernateManagementException
public static void addCreatedResource(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws ISException,
HibernateManagementException
public static long addSystemImporter(String description, org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource) throws ISException, HibernateManagementException
public static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource> getResources(String user, String template) throws ISException, HibernateManagementException
public static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMOperation getOperation(long operationId)
throws ISException,
HibernateManagementException
public static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation> getComputations(String user, String algorithm, String category) throws ISException, HibernateManagementException
public static long addComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationRequest request,
String category)
throws ISException,
HibernateManagementException
public static void addCreatedResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws ISException,
HibernateManagementException
public static void addCreatedDWCAResource(long operationId,
org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
throws ISException,
HibernateManagementException
public static void setOperationStatus(long operationId,
String errorMessage,
String errorDesc,
org.gcube.data.analysis.statisticalmanager.SMOperationStatus status)
throws ISException,
HibernateManagementException
public static void setComputationalInfrastructure(long operationId,
org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE infra)
throws ISException,
HibernateManagementException
public static void removeComputation(long operationId,
boolean force)
throws ISException,
HibernateManagementException,
HLManagementException
public static void removeResource(String resourceId, boolean forceComputationRemoval) throws ISException, HibernateManagementException, HLManagementException
public static void removeImporter(long importerId)
throws ISException,
HibernateManagementException
public static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMFile getFile(String fileId) throws ISException, HibernateManagementException
Copyright © 2016. All Rights Reserved.