| java.lang.Object org.jaffa.components.finder.FinderTx
FinderTx | public class FinderTx (Code) | | This is the helper class for all Finder Tx (transaction) classes.
It is provided to support repetitive functions.
author: GautamJ |
addCriteria | public static void addCriteria(CriteriaField field, String name, Criteria criteria)(Code) | | This method will update the input criteria, based on the 'field' and 'name' inputs.
It is invoked by the concrete class while building a Criteria object to query the database.
Parameters: field - The criteria field which will have the operator and value(s). Parameters: name - The name of the field for which the criteria has been passed. Parameters: criteria - The Criteria object being built for the query, and which will be updated based on the 'field' and 'name' inputs. |
addCriteria | public static void addCriteria(DateTimeCriteriaField field, String name, Criteria criteria)(Code) | | This method will update the input criteria, based on the 'field' and 'name' inputs.
It is invoked by the concrete class while building a Criteria object to query the database.
Parameters: field - The criteria field which will have the operator and value(s). Parameters: name - The name of the field for which the criteria has been passed. Parameters: criteria - The Criteria object being built for the query, and which will be updated based on the 'field' and 'name' inputs. |
|
|