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
Exceptionint removeFromBasket(List<String> speciesIds, String userName) throws Exception
Exceptionint addToUserBasket(List<String> speciesIds, String userName) throws Exception
ExceptionString getPerturbation(String speciesId, String userName) throws Exception
Exceptionvoid setPerturbation(String speciesIds, String userName, String jsonString) throws Exception
Exceptionvoid clearPerturbation(String speciesId, String userName) throws Exception
Exceptionint addToObjectBasket(List<String> speciesIds, String userName, String title) throws Exception
Exceptionint removeFromObjectBasket(List<String> speciesIds, String userName, String title) throws Exception
ExceptionString getObjectJSONBasket(String userName, String title, int start, int limit, String sortColumn, String sortDirection) throws Exception
ExceptionList<String> getObjectBasketIds(String userName, String title) throws Exception
Exceptionint clearObjectBasket(String userName, String title) throws Exception
Exceptionint removeObjectByTitle(String userName, String title) throws Exception
Exceptionint removeObjectByType(String userName, ClientObjectType type) throws Exception
Exceptionint createObjectsBySelection(List<String> ids, String title, ClientObjectType type, float threshold, String bbox, String username) throws Exception
Exceptionint updateObject(String userName, String oldTitle, String title, ClientObjectType type, String bbox, float threshold, boolean gis) throws Exception
ExceptionList<ClientObject> getObjects(String userName) throws Exception
ExceptionString getJSONObjectsByType(String userName, ClientObjectType type, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exceptionlong getObjectBasketCount(String userName, String title) throws Exception
Exceptionlong getObjectCountByType(String userName, ClientObjectType type) throws Exception
Exceptionint fetchGeneratedObjRelatedSpecies(int objId,
List<String> speciesIds)
throws Exception
ExceptionString getFetchedJSONBasket(int objId, int start, int limit, String sortColumn, String sortDirection) throws Exception
Exceptionint addToAreaSelection(String user, List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> selection) throws Exception
ExceptionString getJSONAreaSelection(String user, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
ExceptionList<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> getAreaSelection(String user) throws Exception
Exceptionint removeFromAreaSelection(String user, List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> toRemove) throws Exception
ExceptionString getJSONAreasByType(boolean includeFAO, boolean includeEEZ, boolean includeLME, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
ExceptionList<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Area> getAreasByType(boolean includeFAO, boolean includeEEZ, boolean includeLME) throws Exception
Exceptionboolean isUpToDate()
Copyright © 2016. All Rights Reserved.