org.gcube.data.harmonization.occurrence
Class ReconciliationImpl

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.ReconciliationImpl
All Implemented Interfaces:
Reconciliation

public class ReconciliationImpl
extends Object
implements Reconciliation


Constructor Summary
ReconciliationImpl(org.gcube.common.core.scope.GCUBEScope scope, String user)
           
 
Method Summary
 void closeTableConnection()
           
 List<StatisticalOperation> getCapabilities()
          Gets information about available operation on occurrence point data sets
 List<ImportedOccurrenceSet> getImportedList()
           
 String getJSONImported(PagedRequestSettings settings)
          Get Json view of currently connected table
 void getResult(String operationId)
          Get result of the selected operation
 List<SubmittedOperation> getSubmittedOperationList()
           
 String importOccurrenceFromWorkspace(String fileId)
          Imports selected file from user's workspace
 List<String> openTableInspection(String tableId)
          Opens connection to a table for direct inspection
 String saveResultToWorkspace(String operationId)
          Save selected result to workspace
 String submitUnaryOperation(String importedId, String operation, Map<String,String> parameters)
          Submit operation process on selected imported data set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconciliationImpl

public ReconciliationImpl(org.gcube.common.core.scope.GCUBEScope scope,
                          String user)
Method Detail

importOccurrenceFromWorkspace

public String importOccurrenceFromWorkspace(String fileId)
Description copied from interface: Reconciliation
Imports selected file from user's workspace

Specified by:
importOccurrenceFromWorkspace in interface Reconciliation
Returns:
imported Id

getImportedList

public List<ImportedOccurrenceSet> getImportedList()
Specified by:
getImportedList in interface Reconciliation
Returns:

getJSONImported

public String getJSONImported(PagedRequestSettings settings)
                       throws Exception
Description copied from interface: Reconciliation
Get Json view of currently connected table

Specified by:
getJSONImported in interface Reconciliation
Returns:
Throws:
Exception

getCapabilities

public List<StatisticalOperation> getCapabilities()
Description copied from interface: Reconciliation
Gets information about available operation on occurrence point data sets

Specified by:
getCapabilities in interface Reconciliation
Returns:
list of Statistical Operation, one for each available algorithm

getResult

public void getResult(String operationId)
Description copied from interface: Reconciliation
Get result of the selected operation

Specified by:
getResult in interface Reconciliation

saveResultToWorkspace

public String saveResultToWorkspace(String operationId)
Description copied from interface: Reconciliation
Save selected result to workspace

Specified by:
saveResultToWorkspace in interface Reconciliation
Returns:
saved Item id

submitUnaryOperation

public String submitUnaryOperation(String importedId,
                                   String operation,
                                   Map<String,String> parameters)
Description copied from interface: Reconciliation
Submit operation process on selected imported data set

Specified by:
submitUnaryOperation in interface Reconciliation
Returns:

getSubmittedOperationList

public List<SubmittedOperation> getSubmittedOperationList()
Specified by:
getSubmittedOperationList in interface Reconciliation

openTableInspection

public List<String> openTableInspection(String tableId)
                                 throws Exception
Description copied from interface: Reconciliation
Opens connection to a table for direct inspection

Specified by:
openTableInspection in interface Reconciliation
Returns:
list of field of selected table
Throws:
Exception

closeTableConnection

public void closeTableConnection()
                          throws Exception
Specified by:
closeTableConnection in interface Reconciliation
Throws:
Exception


Copyright © 2012. All Rights Reserved.