public interface DBInterface
Modifier and Type | Method and Description |
---|---|
int |
addToAreaSelection(String user,
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> selection) |
int |
addToObjectBasket(List<String> speciesIds,
String userName,
String title) |
int |
addToUserBasket(List<String> speciesIds,
String userName) |
int |
changeGis(String userName,
List<String> titles) |
int |
clearBasket(String userName) |
int |
clearObjectBasket(String userName,
String title) |
void |
clearPerturbation(String speciesId,
String userName) |
int |
createObjectsBySelection(List<String> ids,
String title,
ClientObjectType type,
float threshold,
String bbox,
String username) |
int |
deleteFetched(String objId) |
int |
fetchGeneratedObjRelatedSpecies(int objId,
List<String> speciesIds) |
int |
fetchSpecies() |
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> |
getAreasByType(boolean includeFAO,
boolean includeEEZ,
boolean includeLME) |
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> |
getAreaSelection(String user) |
long |
getBasketCount(String userName) |
String |
getFetchedJSONBasket(int objId,
int start,
int limit,
String sortColumn,
String sortDirection) |
String |
getJSONAreasByType(boolean includeFAO,
boolean includeEEZ,
boolean includeLME,
org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) |
String |
getJSONAreaSelection(String user,
org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) |
String |
getJSONObjectsByType(String userName,
ClientObjectType type,
int start,
int limit,
String sortColumn,
String sortDirection) |
long |
getObjectBasketCount(String userName,
String title) |
List<String> |
getObjectBasketIds(String userName,
String title) |
long |
getObjectCount(String userName) |
long |
getObjectCountByType(String userName,
ClientObjectType type) |
String |
getObjectJSONBasket(String userName,
String title,
int start,
int limit,
String sortColumn,
String sortDirection) |
List<ClientObject> |
getObjects(String userName) |
String |
getPerturbation(String speciesId,
String userName) |
String |
getPhylogenyJSON(String level) |
String |
getSpecies() |
List<String> |
getUserBasketIds(String userName) |
String |
getUserJSONBasket(String userName,
int start,
int limit,
String sortColumn,
String sortDirection) |
boolean |
isUpToDate() |
int |
removeFromAreaSelection(String user,
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> toRemove) |
int |
removeFromBasket(List<String> speciesIds,
String userName) |
int |
removeFromObjectBasket(List<String> speciesIds,
String userName,
String title) |
int |
removeObjectByTitle(String userName,
String title) |
int |
removeObjectByType(String userName,
ClientObjectType type) |
int |
removeSession(String userName) |
void |
setPerturbation(String speciesIds,
String userName,
String jsonString) |
int |
updateObject(String userName,
String oldTitle,
String title,
ClientObjectType type,
String bbox,
float threshold,
boolean gis) |
String getUserJSONBasket(String userName, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exception
int removeFromBasket(List<String> speciesIds, String userName) throws Exception
Exception
int addToUserBasket(List<String> speciesIds, String userName) throws Exception
Exception
String getPerturbation(String speciesId, String userName) throws Exception
Exception
void setPerturbation(String speciesIds, String userName, String jsonString) throws Exception
Exception
void clearPerturbation(String speciesId, String userName) throws Exception
Exception
int addToObjectBasket(List<String> speciesIds, String userName, String title) throws Exception
Exception
int removeFromObjectBasket(List<String> speciesIds, String userName, String title) throws Exception
Exception
String getObjectJSONBasket(String userName, String title, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exception
List<String> getObjectBasketIds(String userName, String title) throws Exception
Exception
int clearObjectBasket(String userName, String title) throws Exception
Exception
int removeObjectByTitle(String userName, String title) throws Exception
Exception
int removeObjectByType(String userName, ClientObjectType type) throws Exception
Exception
int createObjectsBySelection(List<String> ids, String title, ClientObjectType type, float threshold, String bbox, String username) throws Exception
Exception
int updateObject(String userName, String oldTitle, String title, ClientObjectType type, String bbox, float threshold, boolean gis) throws Exception
Exception
List<ClientObject> getObjects(String userName) throws Exception
Exception
String getJSONObjectsByType(String userName, ClientObjectType type, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exception
long getObjectBasketCount(String userName, String title) throws Exception
Exception
long getObjectCountByType(String userName, ClientObjectType type) throws Exception
Exception
int fetchGeneratedObjRelatedSpecies(int objId, List<String> speciesIds) throws Exception
Exception
String getFetchedJSONBasket(int objId, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exception
int addToAreaSelection(String user, List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> selection) throws Exception
Exception
String getJSONAreaSelection(String user, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
Exception
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> getAreaSelection(String user) throws Exception
Exception
int removeFromAreaSelection(String user, List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> toRemove) throws Exception
Exception
String getJSONAreasByType(boolean includeFAO, boolean includeEEZ, boolean includeLME, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
Exception
List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> getAreasByType(boolean includeFAO, boolean includeEEZ, boolean includeLME) throws Exception
Exception
boolean isUpToDate()
Copyright © 2018. All Rights Reserved.