hirondelle.predict.pub.search
Class SearchDAO
Object
hirondelle.predict.pub.search.SearchDAO
final class SearchDAO
- extends Object
Data Access Object (DAO) for returning SearchResult
s for the given
SearchCriteria
.
The input parameters from the user are date-only. For the purposes of this SELECT, those
dates are coerced into date-times, to match with the underlying data type of the column.
For example, the from-date is coerced to the start-of-day, as in:
2010-01-15 00:00:00.000000000
while the to-date is coerced to the end-of-day, as in:
2010-01-15 23:59:59.999999999
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchDAO
SearchDAO()
listSearchResults
List<SearchResult> listSearchResults(SearchCriteria aSearchCriteria)
throws DAOException
- Return search results.
This method uses DynamicSql
to construct the SQL SELECT statement.
The number of items returned is limited to 200. The search is not sensitive to case.
Items are sorted by creation date, with the newest appearing first.
- Throws:
DAOException
Copyright Hirondelle Systems - Generated 2013Oct19.12.27