public class DBManager extends Object implements DBInterface
| Modifier | Constructor and Description |
|---|---|
protected |
DBManager(String scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMaps(String requestId) |
static void |
deleteDb(String currentScope) |
void |
fetchSpecies() |
String |
getAssociatedScope() |
static Set<String> |
getInitializedScopes() |
static DBInterface |
getInstance(String currentScopeString) |
String |
getMaps(String mapRequestId,
org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) |
String |
getPhylogenyJSON(String level) |
boolean |
isUpToDate() |
Integer |
putMaps(String mapRequestId,
List<CompoundMapItem> items) |
void |
setLastUpdateTime(long lastUpdateTime) |
protected DBSession session
public static DBInterface getInstance(String currentScopeString) throws Exception
Exceptionpublic String getPhylogenyJSON(String level) throws Exception
getPhylogenyJSON in interface DBInterfaceExceptionpublic String getMaps(String mapRequestId, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
getMaps in interface DBInterfaceExceptionpublic Integer putMaps(String mapRequestId, List<CompoundMapItem> items) throws Exception
putMaps in interface DBInterfaceExceptionpublic void cleanMaps(String requestId) throws Exception
cleanMaps in interface DBInterfaceExceptionpublic boolean isUpToDate()
isUpToDate in interface DBInterfacepublic void setLastUpdateTime(long lastUpdateTime)
public String getAssociatedScope()
public void fetchSpecies()
throws RemoteException,
Exception
fetchSpecies in interface DBInterfaceRemoteExceptionExceptionCopyright © 2014. All Rights Reserved.