R
- record typepublic class UpdateAll<R extends ActiveRecord<? super R>> extends ActiveOperation<R,java.lang.Integer>
Table.updateAll(Collection)
.Constructor and Description |
---|
UpdateAll(ActiveTable<R> activeTable,
java.util.Collection<R> records) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
operate()
Invoked by
ActiveOperation.execute() to perform the operation. |
attach, attach, close, execute, getOperationDatabase, getTable, isLocalTransaction
public UpdateAll(ActiveTable<R> activeTable, java.util.Collection<R> records)
public java.lang.Integer operate() throws java.lang.Exception
ActiveOperation
ActiveOperation.execute()
to perform the operation. Subclasses must implement.operate
in class ActiveOperation<R extends ActiveRecord<? super R>,java.lang.Integer>
java.lang.Exception
- if error