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
Exception
public String getPhylogenyJSON(String level) throws Exception
getPhylogenyJSON
in interface DBInterface
Exception
public String getMaps(String mapRequestId, org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings) throws Exception
getMaps
in interface DBInterface
Exception
public Integer putMaps(String mapRequestId, List<CompoundMapItem> items) throws Exception
putMaps
in interface DBInterface
Exception
public void cleanMaps(String requestId) throws Exception
cleanMaps
in interface DBInterface
Exception
public boolean isUpToDate()
isUpToDate
in interface DBInterface
public void setLastUpdateTime(long lastUpdateTime)
public String getAssociatedScope()
public void fetchSpecies() throws RemoteException, Exception
fetchSpecies
in interface DBInterface
RemoteException
Exception
Copyright © 2015. All Rights Reserved.