com.explosion.datastream.exql.processes
Class UpdateDBWithAllEditsProcess

java.lang.Object
  extended by com.explosion.utilities.exception.ExceptionManager
      extended by com.explosion.utilities.process.StackableSimpleProcess
          extended by com.explosion.datastream.exql.processes.UpdateDBWithAllEditsProcess
All Implemented Interfaces:
com.explosion.utilities.process.threads.Process, com.explosion.utilities.process.threads.SimpleProcess

public class UpdateDBWithAllEditsProcess
extends com.explosion.utilities.process.StackableSimpleProcess

Author:
Stephen Cowx Date created:@14-Feb-2003 This process stacks the inserts edits and deletes into a single process.

Constructor Summary
UpdateDBWithAllEditsProcess(com.explosion.utilities.process.threads.Finishable finishable, com.explosion.expfmodules.rdbmsconn.dbom.DBEntity entity, java.util.List insertValueBindings, java.util.List deleteRowIdentifierBindings, java.util.List updateValueBindings, java.util.List updateRowIdentifierBindings, java.sql.Connection conn)
          Constructor for UpdateDBWithAllEditsProcess.
 
Method Summary
 void process()
          This method executes the updates one set ata atime
 void reportError(java.lang.Throwable error)
          This allows subprocesses to report errors to the main process
 
Methods inherited from class com.explosion.utilities.process.StackableSimpleProcess
finalise, finalise, getPercentComplete, getProcessControl, getStatusText, getUpdateable, initialise, isStopped, isUserProcess, setIsUserProcess, setPercentComplete, setProcessControl, setStatusText
 
Methods inherited from class com.explosion.utilities.exception.ExceptionManager
addExceptionHandler, manageException, removeExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateDBWithAllEditsProcess

public UpdateDBWithAllEditsProcess(com.explosion.utilities.process.threads.Finishable finishable,
                                   com.explosion.expfmodules.rdbmsconn.dbom.DBEntity entity,
                                   java.util.List insertValueBindings,
                                   java.util.List deleteRowIdentifierBindings,
                                   java.util.List updateValueBindings,
                                   java.util.List updateRowIdentifierBindings,
                                   java.sql.Connection conn)
Constructor for UpdateDBWithAllEditsProcess.

Method Detail

reportError

public void reportError(java.lang.Throwable error)
This allows subprocesses to report errors to the main process


process

public void process()
This method executes the updates one set ata atime

Specified by:
process in interface com.explosion.utilities.process.threads.SimpleProcess
Specified by:
process in class com.explosion.utilities.process.StackableSimpleProcess
See Also:
SimpleProcess.process()


Copyright © 2003-2005 Explosion I.T.. All Rights Reserved.