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)
           
 void deleteAnalysis(String id)
           
 Boolean deleteCustomQuery(String userId)
           
 void deleteResource(int resourceId)
           
 File exportCurrentCustomQuery(String userId)
           
 File exportResource(int resourceId)
           
 File exportTableAsCSV(String table)
           
 Integer generateMaps(String author, boolean enableGIS, Integer hspecId, List<Field> speciesFilter, boolean forceRegeneration)
           
 List<Field> getCustomQueryFields(String userId)
           
 List<Field> getDefaultSources()
           
 Integer getImportStatus(Integer resourceId)
           
 String getJSONSPECGroupGenreationRequests(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 String getJsonSubmittedAnalysis(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 EnvironmentalExecutionReportItem getReport(List<String> ids)
           
 Integer importResource(File toImport, String userId, ResourceType type, String encoding, boolean[] fieldsMask, boolean hasHeader, char delimiter)
           
 File loadAnalysisResults(String id)
           
 String removeRequest(String id, boolean deleteData, boolean deleteJobs)
           
 String resubmitGeneration(String id)
           
 void setCustomQuery(String userId, String queryString)
           
 String submitRequest(SourceGenerationRequest request)
           
 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

getJSONSPECGroupGenreationRequests

public String getJSONSPECGroupGenreationRequests(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                                          throws RemoteException,
                                                 Exception
Specified by:
getJSONSPECGroupGenreationRequests 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

exportResource

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

deleteCustomQuery

public Boolean deleteCustomQuery(String userId)
                          throws RemoteException,
                                 Exception
Specified by:
deleteCustomQuery in interface DataManagement
Throws:
RemoteException
Exception

setCustomQuery

public void 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

getImportStatus

public Integer getImportStatus(Integer resourceId)
                        throws RemoteException,
                               Exception
Specified by:
getImportStatus in interface DataManagement
Throws:
RemoteException
Exception

importResource

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

getCustomQueryFields

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

exportTableAsCSV

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

getJsonSubmittedAnalysis

public String getJsonSubmittedAnalysis(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                                throws RemoteException,
                                       Exception
Specified by:
getJsonSubmittedAnalysis 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

exportCurrentCustomQuery

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

deleteAnalysis

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


Copyright © 2013. All Rights Reserved.