|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wmps.WMPSDatabase
public class WMPSDatabase
Provides database functionalities for the wmps.
| Constructor Summary | |
|---|---|
WMPSDatabase(CacheDatabase cacheDatabase)
Creates a new WMPSDatabase instance. |
|
| Method Summary | |
|---|---|
Connection |
acquireConnection()
Creates a valid db connection with properties read from the configuration file. |
void |
insertData(Connection connection,
PrintMap request)
Inserts data into the table. |
protected void |
releaseConnection(Connection connection)
Releases the current database connection. |
PrintMap |
selectPrintMapRequest(Connection connection)
Select the PrintMap request that has been in the databank for the longest time. i.e the first in queue to be processed. |
void |
updateDB(Connection connection,
String id,
Timestamp timeStamp,
String state)
Updating the processed field in the db to signify that the PrintMap request has been successfully carried out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WMPSDatabase(CacheDatabase cacheDatabase)
throws Exception
cacheDatabase -
Exception| Method Detail |
|---|
public void insertData(Connection connection,
PrintMap request)
throws PrintMapServiceException,
IOException
connection - request -
IOException
PrintMapServiceException
IOException
public Connection acquireConnection()
throws Exception
Exception
protected void releaseConnection(Connection connection)
throws SQLException
connection -
SQLException
public PrintMap selectPrintMapRequest(Connection connection)
throws PrintMapServiceException
connection -
PrintMapServiceException
public void updateDB(Connection connection,
String id,
Timestamp timeStamp,
String state)
throws SQLException
connection - id - timeStamp - state -
SQLException
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org