org.gcube.application.aquamaps.aquamapsservice.client.proxies
Class DefaultDataManagement

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.client.proxies.DefaultDataManagement
All Implemented Interfaces:
DataManagement

public class DefaultDataManagement
extends Object
implements DataManagement


Constructor Summary
DefaultDataManagement(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.application.aquamaps.aquamapsservice.stubs.DataManagementPortType> delegate)
           
 
Method Summary
 String analyzeTables(Analysis request)
           
 Integer asyncImportResource(File toImport, String userId, ResourceType type, String encoding, boolean[] fieldsMask, boolean hasHeader, char delimiter)
           
 void deleteAnalysis(String id)
           
 void deleteResource(int resourceId)
           
 File exportTableAsCSV(String table, String basketId, String user, String toSaveName, org.gcube.application.aquamaps.aquamapsservice.stubs.ExportOperation operationType)
           
 Integer generateMaps(String author, boolean enableGIS, Integer hspecId, List<Field> speciesFilter, boolean forceRegeneration)
           
 List<Field> getDefaultSources()
           
 String getJSONView(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings, String tableName, List<Field> filters)
           
 EnvironmentalExecutionReportItem getReport(List<String> ids)
           
 String getSystemTableName(SystemTable tableType)
           
 File loadAnalysisResults(String id)
           
 Resource loadResource(int resId)
           
 String removeRequest(String id, boolean deleteData, boolean deleteJobs)
           
 String resubmitGeneration(String id)
           
 CustomQueryDescriptor setCustomQuery(String userId, String queryString)
           
 String submitRequest(SourceGenerationRequest request)
           
 Resource syncImportResource(File toImport, String userId, ResourceType type, String encoding, boolean[] fieldsMask, boolean hasHeader, char delimiter)
           
 Resource updateResource(Resource toUpdate)
           
 String viewCustomQuery(String userId, org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataManagement

public DefaultDataManagement(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.application.aquamaps.aquamapsservice.stubs.DataManagementPortType> delegate)
Method Detail

analyzeTables

public String analyzeTables(Analysis request)
                     throws RemoteException,
                            Exception
Specified by:
analyzeTables in interface DataManagement
Throws:
RemoteException
Exception

submitRequest

public String submitRequest(SourceGenerationRequest request)
                     throws RemoteException,
                            Exception
Specified by:
submitRequest in interface DataManagement
Throws:
RemoteException
Exception

getReport

public EnvironmentalExecutionReportItem getReport(List<String> ids)
                                           throws RemoteException,
                                                  Exception
Specified by:
getReport in interface DataManagement
Throws:
RemoteException
Exception

generateMaps

public Integer generateMaps(String author,
                            boolean enableGIS,
                            Integer hspecId,
                            List<Field> speciesFilter,
                            boolean forceRegeneration)
                     throws RemoteException,
                            Exception
Specified by:
generateMaps in interface DataManagement
Throws:
RemoteException
Exception

removeRequest

public String removeRequest(String id,
                            boolean deleteData,
                            boolean deleteJobs)
                     throws RemoteException,
                            Exception
Specified by:
removeRequest in interface DataManagement
Throws:
RemoteException
Exception

getDefaultSources

public List<Field> getDefaultSources()
                              throws RemoteException,
                                     Exception
Specified by:
getDefaultSources in interface DataManagement
Throws:
RemoteException
Exception

updateResource

public Resource updateResource(Resource toUpdate)
                        throws RemoteException,
                               Exception
Specified by:
updateResource in interface DataManagement
Throws:
RemoteException
Exception

deleteResource

public void deleteResource(int resourceId)
                    throws RemoteException,
                           Exception
Specified by:
deleteResource in interface DataManagement
Throws:
RemoteException
Exception

setCustomQuery

public CustomQueryDescriptor setCustomQuery(String userId,
                                            String queryString)
                                     throws RemoteException,
                                            Exception
Specified by:
setCustomQuery in interface DataManagement
Throws:
RemoteException
Exception

viewCustomQuery

public String viewCustomQuery(String userId,
                              org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                       throws RemoteException,
                              Exception
Specified by:
viewCustomQuery in interface DataManagement
Throws:
RemoteException
Exception

asyncImportResource

public Integer asyncImportResource(File toImport,
                                   String userId,
                                   ResourceType type,
                                   String encoding,
                                   boolean[] fieldsMask,
                                   boolean hasHeader,
                                   char delimiter)
                            throws RemoteException,
                                   Exception
Specified by:
asyncImportResource in interface DataManagement
Throws:
RemoteException
Exception

syncImportResource

public Resource syncImportResource(File toImport,
                                   String userId,
                                   ResourceType type,
                                   String encoding,
                                   boolean[] fieldsMask,
                                   boolean hasHeader,
                                   char delimiter)
                            throws RemoteException,
                                   Exception
Specified by:
syncImportResource in interface DataManagement
Throws:
RemoteException
Exception

exportTableAsCSV

public File exportTableAsCSV(String table,
                             String basketId,
                             String user,
                             String toSaveName,
                             org.gcube.application.aquamaps.aquamapsservice.stubs.ExportOperation operationType)
                      throws RemoteException,
                             Exception
Specified by:
exportTableAsCSV in interface DataManagement
Throws:
RemoteException
Exception

loadAnalysisResults

public File loadAnalysisResults(String id)
                         throws RemoteException,
                                Exception
Specified by:
loadAnalysisResults in interface DataManagement
Throws:
RemoteException
Exception

resubmitGeneration

public String resubmitGeneration(String id)
                          throws RemoteException,
                                 Exception
Specified by:
resubmitGeneration in interface DataManagement
Throws:
RemoteException
Exception

deleteAnalysis

public void deleteAnalysis(String id)
                    throws RemoteException,
                           Exception
Specified by:
deleteAnalysis in interface DataManagement
Throws:
RemoteException
Exception

getJSONView

public String getJSONView(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings,
                          String tableName,
                          List<Field> filters)
                   throws RemoteException,
                          Exception
Specified by:
getJSONView in interface DataManagement
Throws:
RemoteException
Exception

getSystemTableName

public String getSystemTableName(SystemTable tableType)
                          throws RemoteException,
                                 Exception
Specified by:
getSystemTableName in interface DataManagement
Throws:
RemoteException
Exception

loadResource

public Resource loadResource(int resId)
                      throws RemoteException,
                             Exception
Specified by:
loadResource in interface DataManagement
Throws:
RemoteException
Exception


Copyright © 2013. All Rights Reserved.