Predictions 4.10.0.0

hirondelle.predict.pub.search
Class SearchDAO

Object
  extended by hirondelle.predict.pub.search.SearchDAO

final class SearchDAO
extends Object

Data Access Object (DAO) for returning SearchResults 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


Constructor Summary
SearchDAO()
           
 
Method Summary
(package private)  List<SearchResult> listSearchResults(SearchCriteria aSearchCriteria)
          Return search results.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchDAO

SearchDAO()
Method Detail

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

Predictions 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.27