org.gcube.application.aquamaps.aquamapsspeciesview.servlet.db
Class DBManager
java.lang.Object
org.gcube.application.aquamaps.aquamapsspeciesview.servlet.db.DBManager
- All Implemented Interfaces:
- DBInterface
public class DBManager
- extends Object
- implements DBInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected DBSession session
DBManager
protected DBManager(String scope)
throws Exception
- Throws:
Exception
getInitializedScopes
public static Set<String> getInitializedScopes()
deleteDb
public static void deleteDb(String currentScope)
throws Exception
- Throws:
Exception
getInstance
public static DBInterface getInstance(String currentScopeString)
throws Exception
- Throws:
Exception
getPhylogenyJSON
public String getPhylogenyJSON(String level)
throws Exception
- Specified by:
getPhylogenyJSON
in interface DBInterface
- Throws:
Exception
getMaps
public String getMaps(String mapRequestId,
org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.PagedRequestSettings settings)
throws Exception
- Specified by:
getMaps
in interface DBInterface
- Throws:
Exception
putMaps
public Integer putMaps(String mapRequestId,
List<CompoundMapItem> items)
throws Exception
- Specified by:
putMaps
in interface DBInterface
- Throws:
Exception
cleanMaps
public void cleanMaps(String requestId)
throws Exception
- Specified by:
cleanMaps
in interface DBInterface
- Throws:
Exception
isUpToDate
public boolean isUpToDate()
- Specified by:
isUpToDate
in interface DBInterface
setLastUpdateTime
public void setLastUpdateTime(long lastUpdateTime)
getAssociatedScope
public String getAssociatedScope()
fetchSpecies
public void fetchSpecies()
throws RemoteException,
Exception
- Specified by:
fetchSpecies
in interface DBInterface
- Throws:
RemoteException
Exception
Copyright © 2014. All Rights Reserved.