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

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

public class SelectAllCustom<R extends ActiveRecord<R>>
extends ActiveOperation<R,java.util.List<R>>

Delegate for Table.selectAllCustom(String, Object...).

Since:
1.7 and 2.1
Author:
Jeff Miller

Constructor Summary
SelectAllCustom(ActiveTable<R> activeTable, java.lang.String customSql, java.lang.Object... parameters)
           
 
Method Summary
 java.util.List<R> 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

SelectAllCustom

public SelectAllCustom(ActiveTable<R> activeTable,
                       java.lang.String customSql,
                       java.lang.Object... parameters)
Method Detail

operate

public java.util.List<R> 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.util.List<R extends ActiveRecord<R>>>
Returns:
result of operation (Integer, List, etc.)
Throws:
java.lang.Exception