R
- record typepublic class DeleteAll<R extends ActiveRecord<? super R>> extends ActiveOperation<R,java.lang.Integer>
Table.deleteAll(Collection)
and Table.deleteAll()
.Constructor and Description |
---|
DeleteAll(ActiveTable<R> activeTable) |
DeleteAll(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 DeleteAll(ActiveTable<R> activeTable)
public DeleteAll(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