com.servingxml.components.sql
Class SqlBatchUpdate

java.lang.Object
  extended by com.servingxml.components.sql.SqlBatchUpdate
All Implemented Interfaces:
SqlBatchUpdateOperation

public class SqlBatchUpdate
extends java.lang.Object
implements SqlBatchUpdateOperation


Field Summary
 
Fields inherited from interface com.servingxml.components.sql.SqlBatchUpdateOperation
NULL
 
Constructor Summary
SqlBatchUpdate(RecordAccepter accepter, SqlStatement sqlStatement, SqlBatchUpdateOperation[] updateOperations)
           
 
Method Summary
 void endUpdate(ServiceContext context, Flow flow, java.sql.Connection connection)
           
 void startUpdate(ServiceContext context, Flow flow, java.sql.Connection connection)
           
 void update(ServiceContext context, Flow[] flowHistory, java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlBatchUpdate

public SqlBatchUpdate(RecordAccepter accepter,
                      SqlStatement sqlStatement,
                      SqlBatchUpdateOperation[] updateOperations)
Method Detail

startUpdate

public void startUpdate(ServiceContext context,
                        Flow flow,
                        java.sql.Connection connection)
Specified by:
startUpdate in interface SqlBatchUpdateOperation

update

public void update(ServiceContext context,
                   Flow[] flowHistory,
                   java.sql.Connection connection)
Specified by:
update in interface SqlBatchUpdateOperation

endUpdate

public void endUpdate(ServiceContext context,
                      Flow flow,
                      java.sql.Connection connection)
Specified by:
endUpdate in interface SqlBatchUpdateOperation