org.gcube.data.analysis.statisticalmanager.persistence
Class SMPersistenceManager

java.lang.Object
  extended by org.gcube.data.analysis.statisticalmanager.persistence.SMPersistenceManager

public class SMPersistenceManager
extends Object


Constructor Summary
SMPersistenceManager()
           
 
Method Summary
static long addComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationRequest request, String category)
           
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 org.gcube.data.analysis.statisticalmanager.stubs.SMComputations 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)
           
static void removeImporter(long importerId)
           
static void removeResource(String resourceId)
           
static void setComputationalInfrastructure(long operationId, org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE infra)
           
static void setOperationStatus(long operationId, org.gcube.data.analysis.statisticalmanager.SMOperationStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMPersistenceManager

public SMPersistenceManager()
Method Detail

addImporter

public static long addImporter(org.gcube.data.analysis.statisticalmanager.stubs.SMCreateTableRequest request)
                        throws Exception
Throws:
Exception

addCreatedResource

public static void addCreatedResource(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
                               throws Exception
Throws:
Exception

addSystemImporter

public static long addSystemImporter(String description,
                                     org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
                              throws Exception
Throws:
Exception

getResources

public static List<org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource> getResources(String user,
                                                                                                               String template)

getOperation

public static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMOperation getOperation(long operationId)
                                                                                                   throws Exception
Throws:
Exception

getComputations

public static org.gcube.data.analysis.statisticalmanager.stubs.SMComputations getComputations(String user,
                                                                                              String algorithm,
                                                                                              String category)
                                                                                       throws Exception
Throws:
Exception

addComputation

public static long addComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationRequest request,
                                  String category)
                           throws Exception
Throws:
Exception

addCreatedResource

public static void addCreatedResource(long operationId,
                                      org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMResource resource)
                               throws Exception
Throws:
Exception

setOperationStatus

public static void setOperationStatus(long operationId,
                                      org.gcube.data.analysis.statisticalmanager.SMOperationStatus status)

setComputationalInfrastructure

public static void setComputationalInfrastructure(long operationId,
                                                  org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE infra)

removeComputation

public static void removeComputation(long operationId)

removeResource

public static void removeResource(String resourceId)

removeImporter

public static void removeImporter(long importerId)

getFile

public static org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMFile getFile(String fileId)


Copyright © 2012. All Rights Reserved.