|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.deegree_impl.services.wfs.WFSMainLoop
org.deegree_impl.services.wfs.mysql.CTransaction
class defining the processing of a transaction request
Field Summary | |
private DatastoreConfiguration |
config
|
private DBConnectionPool |
pool
|
Fields inherited from class org.deegree_impl.services.wfs.WFSMainLoop |
parent, request |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
CTransaction(MySQLDataStore parent,
OGCWebServiceRequest request)
Creates a new CTransaction object. |
Method Summary | |
private java.lang.String |
addLineStringProperty(GMLLineString line)
adds a linestring to the insert statement |
private java.lang.String |
addMultiLineStringProperty(GMLMultiLineString mline)
adds a multilinestring to the insert statement |
private java.lang.String |
addMultiPointProperty(GMLMultiPoint mpoint)
adds a multipoint to the insert statement |
private java.lang.String |
addMultiPolygonProperty(GMLMultiPolygon mpoly)
adds a multipolygon to the insert statement |
private java.lang.String |
addPointProperty(GMLPoint point)
adds a point to the insert statement |
private java.lang.String |
addPolygonProperty(GMLPolygon poly)
adds a polygon to the insert statement |
private java.lang.String[] |
getAffectedFeatureTypes(WFSOperation[] operations)
returns the list of feature types that are affected by a Transaction |
private java.lang.String |
getGeomInsert(java.lang.String gml)
generates a sql insert statement from the submitted feature that inserts its values into a table thats name equals the name of the features feature type. |
java.util.ArrayList |
performInsert(InsertTree tree,
MySQLDBAccess osa)
|
private java.lang.Object[] |
performInsert(WFSInsert insert)
performs an insertion of one or more features into the database |
protected OGCWebServiceResponse[] |
performRequest(OGCWebServiceRequest request)
|
Methods inherited from class org.deegree_impl.services.wfs.WFSMainLoop |
run |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private DBConnectionPool pool
private DatastoreConfiguration config
Constructor Detail |
public CTransaction(MySQLDataStore parent, OGCWebServiceRequest request)
parent
- request
- Method Detail |
protected OGCWebServiceResponse[] performRequest(OGCWebServiceRequest request)
performRequest
in class WFSMainLoop
request
-
private java.lang.String[] getAffectedFeatureTypes(WFSOperation[] operations)
private java.lang.Object[] performInsert(WFSInsert insert) throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList performInsert(InsertTree tree, MySQLDBAccess osa) throws java.lang.Exception
tree
- osa
-
java.lang.Exception
InsertException
private java.lang.String getGeomInsert(java.lang.String gml) throws java.lang.Exception
java.lang.Exception
private java.lang.String addPointProperty(GMLPoint point)
private java.lang.String addLineStringProperty(GMLLineString line)
private java.lang.String addPolygonProperty(GMLPolygon poly)
private java.lang.String addMultiPointProperty(GMLMultiPoint mpoint)
private java.lang.String addMultiLineStringProperty(GMLMultiLineString mline)
private java.lang.String addMultiPolygonProperty(GMLMultiPolygon mpoly)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |