org.deegree_impl.services.wfs.sde
Class CTransaction

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.deegree_impl.services.wfs.WFSMainLoop
          extended byorg.deegree_impl.services.wfs.AbstractTransaction
              extended byorg.deegree_impl.services.wfs.sde.CTransaction
All Implemented Interfaces:
java.lang.Runnable

class CTransaction
extends AbstractTransaction

inner interface defining the processing of a transaction request


Field Summary
private  DatastoreConfiguration config
           
 
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(SDEDataStore parent, OGCWebServiceRequest request)
          Creates a new CTransaction object.
 
Method Summary
private  Transaction openConnection()
          initializes the SDEAPI Transaction class and opens an connection to the current SDE instance
private  boolean performDelete(WFSDelete delete)
          performs a delete against the ArcSDE
private  java.lang.Object[] performInsert(WFSInsert insert)
          performs a insert of a flat feature into the ArcSDE
protected  OGCWebServiceResponse[] performRequest(OGCWebServiceRequest request)
           
private  boolean performUpdate(WFSUpdate update)
          performs an update against the ArcSDE
 
Methods inherited from class org.deegree_impl.services.wfs.AbstractTransaction
getAffectedFeatureTypes
 
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

config

private DatastoreConfiguration config
Constructor Detail

CTransaction

public CTransaction(SDEDataStore parent,
                    OGCWebServiceRequest request)
Creates a new CTransaction object.

Parameters:
parent -
request -
Method Detail

performRequest

protected OGCWebServiceResponse[] performRequest(OGCWebServiceRequest request)
Specified by:
performRequest in class WFSMainLoop
Parameters:
request -
Returns:

performInsert

private java.lang.Object[] performInsert(WFSInsert insert)
                                  throws java.lang.Exception
performs a insert of a flat feature into the ArcSDE

Parameters:
insert - insert object
Returns:
WFSInsertResults
Throws:
java.lang.Exception

performUpdate

private boolean performUpdate(WFSUpdate update)
                       throws java.lang.Exception
performs an update against the ArcSDE

Returns:
true if every thing worked as it should
Throws:
java.lang.Exception

performDelete

private boolean performDelete(WFSDelete delete)
performs a delete against the ArcSDE

Returns:
true if every thing worked as it should

openConnection

private Transaction openConnection()
                            throws java.lang.Exception
initializes the SDEAPI Transaction class and opens an connection to the current SDE instance

Returns:
Transaction
Throws:
java.lang.Exception