com.servingxml.components.sql
Class SqlPreparedBatchUpdate

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

public class SqlPreparedBatchUpdate
extends java.lang.Object
implements SqlBatchUpdateOperation


Field Summary
 
Fields inherited from interface com.servingxml.components.sql.SqlBatchUpdateOperation
NULL
 
Constructor Summary
SqlPreparedBatchUpdate(RecordAccepter accepter, java.lang.String statement, ValueExpression[] arguments, 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

SqlPreparedBatchUpdate

public SqlPreparedBatchUpdate(RecordAccepter accepter,
                              java.lang.String statement,
                              ValueExpression[] arguments,
                              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