org.gcube.application.aquamaps.aquamapsservice.stubs.wrapper
Class AquaMapsServiceCall
java.lang.Object
org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>
org.gcube.common.core.utils.calls.RICall
org.gcube.application.aquamaps.aquamapsservice.stubs.wrapper.AquaMapsCall
org.gcube.application.aquamaps.aquamapsservice.stubs.wrapper.AquaMapsServiceCall
- All Implemented Interfaces:
- AquaMapsServiceInterface
public class AquaMapsServiceCall
- extends AquaMapsCall
- implements AquaMapsServiceInterface
| Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.RICall |
org.gcube.common.core.utils.calls.RICall.RICallHandler |
| Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.GCUBECall |
org.gcube.common.core.utils.calls.GCUBECall.ResultHolder<RESULT> |
| Fields inherited from class org.gcube.common.core.utils.calls.GCUBECall |
clients |
|
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)
|
static AquaMapsServiceInterface |
getCall(org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager[] securityManager,
String defaultURI,
boolean queryIS)
|
static AquaMapsServiceInterface |
getCall(org.gcube.common.core.scope.GCUBEScope scope,
String defaultURI,
boolean queryIS)
Creates a call with a disabled security manager |
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)
|
String |
getPortTypeName()
|
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 org.gcube.common.core.utils.calls.RICall |
getInitQuery, setEndpoint |
| Methods inherited from class org.gcube.common.core.utils.calls.GCUBECall |
findPortType, getEndpointReference, getLogger, getQuery, getRIQuery, getScopeManager, getSecurityManager, setEndpointReference, setLogger, setQuery, setScopeManager, setSecurityManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCall
public static AquaMapsServiceInterface getCall(org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager[] securityManager,
String defaultURI,
boolean queryIS)
throws Exception
- Throws:
Exception
getCall
public static AquaMapsServiceInterface getCall(org.gcube.common.core.scope.GCUBEScope scope,
String defaultURI,
boolean queryIS)
throws Exception
- Creates a call with a disabled security manager
- Parameters:
scope - defaultURI -
- Returns:
-
- Throws:
Exception
getPortTypeName
public String getPortTypeName()
- Specified by:
getPortTypeName in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>
calculateEnvelope
public Envelope calculateEnvelope(BoundingBox bb,
List<Area> areas,
String speciesId,
boolean useBottom,
boolean useBounding,
boolean useFAO)
throws Exception
- Specified by:
calculateEnvelope in interface AquaMapsServiceInterface
- Throws:
Exception
calculateEnvelopeFromCellSelection
public Envelope calculateEnvelopeFromCellSelection(List<String> cellIds,
String speciesId)
throws Exception
- Specified by:
calculateEnvelopeFromCellSelection in interface AquaMapsServiceInterface
- Throws:
Exception
deleteSubmitted
public int deleteSubmitted(List<Integer> ids)
throws Exception
- Specified by:
deleteSubmitted in interface AquaMapsServiceInterface
- Throws:
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 Exception
- Specified by:
getJSONSubmitted in interface AquaMapsServiceInterface
- Throws:
Exception
getJSONOccurrenceCells
public String getJSONOccurrenceCells(String speciesId,
org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
throws Exception
- Specified by:
getJSONOccurrenceCells in interface AquaMapsServiceInterface
- Throws:
Exception
loadObject
public AquaMapsObject loadObject(int objectId)
throws Exception
- wraps getProfile
- Specified by:
loadObject in interface AquaMapsServiceInterface
- Returns:
-
- Throws:
Exception
loadResource
public Resource loadResource(int resId)
throws Exception
- Specified by:
loadResource in interface AquaMapsServiceInterface
- Throws:
Exception
getJSONResources
public String getJSONResources(org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings,
List<Field> filter)
throws Exception
- Specified by:
getJSONResources in interface AquaMapsServiceInterface
- Throws:
Exception
getJSONSpecies
public String getJSONSpecies(int hspenId,
List<Filter> genericSearch,
List<Filter> advancedFilters,
org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
throws Exception
- Specified by:
getJSONSpecies in interface AquaMapsServiceInterface
- Throws:
Exception
loadEnvelope
public Species loadEnvelope(String speciesId,
int hspenId)
throws Exception
- Specified by:
loadEnvelope in interface AquaMapsServiceInterface
- Throws:
Exception
markSaved
public void markSaved(List<Integer> submittedIds)
throws Exception
- Specified by:
markSaved in interface AquaMapsServiceInterface
- Throws:
Exception
submitJob
public void submitJob(Job toSubmit)
throws Exception
- Specified by:
submitJob in interface AquaMapsServiceInterface
- Throws:
Exception
loadSubmittedById
public Submitted loadSubmittedById(int id)
throws Exception
- Specified by:
loadSubmittedById in interface AquaMapsServiceInterface
- Throws:
Exception
getJSONPhilogeny
public String getJSONPhilogeny(SpeciesOccursumFields level,
ArrayList<Field> filters,
org.gcube_system.namespaces.application.aquamaps.types.PagedRequestSettings settings)
throws Exception
- Specified by:
getJSONPhilogeny in interface AquaMapsServiceInterface
- Throws:
Exception
getCSVSpecies
public File getCSVSpecies(int hspenId,
List<Filter> genericSearch,
List<Filter> advancedFilters)
throws Exception
- Specified by:
getCSVSpecies in interface AquaMapsServiceInterface
- Throws:
Exception
Copyright © 2013. All Rights Reserved.