org.sormula.active.operation
Class UpdateAllBatch<R extends ActiveRecord<R>>

java.lang.Object
  extended by org.sormula.active.operation.ActiveOperation<R,java.lang.Integer>
      extended by org.sormula.active.operation.UpdateAllBatch<R>
Type Parameters:
R - record type

public class UpdateAllBatch<R extends ActiveRecord<R>>
extends ActiveOperation<R,java.lang.Integer>

Delegate for Table.updateAllBatch(Collection).

Since:
1.9 and 2.3
Author:
Jeff Miller

Constructor Summary
UpdateAllBatch(ActiveTable<R> activeTable, java.util.Collection<R> records)
           
 
Method Summary
 java.lang.Integer operate()
          Invoked by ActiveOperation.execute() to perform the operation.
 
Methods inherited from class org.sormula.active.operation.ActiveOperation
attach, attach, close, execute, getOperationDatabase, getTable, isLocalTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateAllBatch

public UpdateAllBatch(ActiveTable<R> activeTable,
                      java.util.Collection<R> records)
Method Detail

operate

public java.lang.Integer operate()
                          throws java.lang.Exception
Description copied from class: ActiveOperation
Invoked by ActiveOperation.execute() to perform the operation. Subclasses must implement.

Specified by:
operate in class ActiveOperation<R extends ActiveRecord<R>,java.lang.Integer>
Returns:
result of operation (Integer, List, etc.)
Throws:
java.lang.Exception