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

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

public class DefaultMaps
extends Object
implements Maps


Constructor Summary
DefaultMaps(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.application.aquamaps.aquamapsservice.stubs.AquaMapsServicePortType> delegate)
           
 
Method Summary
 Envelope calculateEnvelope(BoundingBox bb, List<Area> areas, String speciesId, boolean useBottom, boolean useBounding, boolean useFAO)
           
 Envelope calculateEnvelopeFromCellSelection(List<String> cellIds, String speciesId)
           
 int deleteSubmitted(List<Integer> ids)
           
 File getCSVSpecies(int hspenId, List<Filter> genericSearch, List<Filter> advancedFilters)
           
 String getJSONOccurrenceCells(String speciesId, org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 String getJSONPhilogeny(SpeciesOccursumFields level, ArrayList<Field> filters, org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 String getJSONResources(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings, List<Field> filter)
           
 String getJSONSpecies(int hspenId, List<Filter> genericSearch, List<Filter> advancedFilters, org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 String getJSONSubmitted(String userName, boolean showObjects, String date, Integer jobId, SubmittedStatus status, ObjectType objType, org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
           
 Species loadEnvelope(String speciesId, int hspenId)
           
 AquaMapsObject loadObject(int objectId)
          wraps getProfile
 Resource loadResource(int resId)
           
 Submitted loadSubmittedById(int id)
           
 void markSaved(List<Integer> submittedIds)
           
 void submitJob(Job toSubmit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMaps

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

calculateEnvelope

public Envelope calculateEnvelope(BoundingBox bb,
                                  List<Area> areas,
                                  String speciesId,
                                  boolean useBottom,
                                  boolean useBounding,
                                  boolean useFAO)
                           throws RemoteException,
                                  Exception
Specified by:
calculateEnvelope in interface Maps
Throws:
RemoteException
Exception

calculateEnvelopeFromCellSelection

public Envelope calculateEnvelopeFromCellSelection(List<String> cellIds,
                                                   String speciesId)
                                            throws RemoteException,
                                                   Exception
Specified by:
calculateEnvelopeFromCellSelection in interface Maps
Throws:
RemoteException
Exception

deleteSubmitted

public int deleteSubmitted(List<Integer> ids)
                    throws RemoteException,
                           Exception
Specified by:
deleteSubmitted in interface Maps
Throws:
RemoteException
Exception

markSaved

public void markSaved(List<Integer> submittedIds)
               throws RemoteException,
                      Exception
Specified by:
markSaved in interface Maps
Throws:
RemoteException
Exception

submitJob

public void submitJob(Job toSubmit)
               throws RemoteException,
                      Exception
Specified by:
submitJob in interface Maps
Throws:
RemoteException
Exception

getJSONSubmitted

public String getJSONSubmitted(String userName,
                               boolean showObjects,
                               String date,
                               Integer jobId,
                               SubmittedStatus status,
                               ObjectType objType,
                               org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                        throws RemoteException,
                               Exception
Specified by:
getJSONSubmitted in interface Maps
Throws:
RemoteException
Exception

getJSONOccurrenceCells

public String getJSONOccurrenceCells(String speciesId,
                                     org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                              throws RemoteException,
                                     Exception
Specified by:
getJSONOccurrenceCells in interface Maps
Throws:
RemoteException
Exception

getJSONResources

public String getJSONResources(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings,
                               List<Field> filter)
                        throws RemoteException,
                               Exception
Specified by:
getJSONResources in interface Maps
Throws:
RemoteException
Exception

getJSONSpecies

public String getJSONSpecies(int hspenId,
                             List<Filter> genericSearch,
                             List<Filter> advancedFilters,
                             org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                      throws RemoteException,
                             Exception
Specified by:
getJSONSpecies in interface Maps
Throws:
RemoteException
Exception

getJSONPhilogeny

public String getJSONPhilogeny(SpeciesOccursumFields level,
                               ArrayList<Field> filters,
                               org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
                        throws RemoteException,
                               Exception
Specified by:
getJSONPhilogeny in interface Maps
Throws:
RemoteException
Exception

loadObject

public AquaMapsObject loadObject(int objectId)
                          throws RemoteException,
                                 Exception
Description copied from interface: Maps
wraps getProfile

Specified by:
loadObject in interface Maps
Returns:
Throws:
RemoteException
Exception

loadResource

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

loadEnvelope

public Species loadEnvelope(String speciesId,
                            int hspenId)
                     throws RemoteException,
                            Exception
Specified by:
loadEnvelope in interface Maps
Throws:
RemoteException
Exception

loadSubmittedById

public Submitted loadSubmittedById(int id)
                            throws RemoteException,
                                   Exception
Specified by:
loadSubmittedById in interface Maps
Throws:
RemoteException
Exception

getCSVSpecies

public File getCSVSpecies(int hspenId,
                          List<Filter> genericSearch,
                          List<Filter> advancedFilters)
                   throws RemoteException,
                          Exception
Specified by:
getCSVSpecies in interface Maps
Throws:
RemoteException
Exception


Copyright © 2013. All Rights Reserved.