edu.northwestern.at.wordhoard.model.search
Class SearchCriteriaLemmaSearch
java.lang.Object
edu.northwestern.at.wordhoard.model.search.SearchCriteria
edu.northwestern.at.wordhoard.model.search.SearchCriteriaLemmaSearch
public class SearchCriteriaLemmaSearch
- extends SearchCriteria
A set of word search criteria.
Method Summary |
java.lang.String |
getSelectStatement()
|
java.util.List |
search(org.hibernate.Session session)
Executes the query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchCriteriaLemmaSearch
public SearchCriteriaLemmaSearch()
- Creates a new empty set of word search criteria.
SearchCriteriaLemmaSearch
public SearchCriteriaLemmaSearch(java.lang.String searchingFor)
- Creates a new set of search criteria.
- Parameters:
searchingFor
- (not implemented) - could be lemma, lempos, work, speaker,....
SearchCriteriaLemmaSearch
public SearchCriteriaLemmaSearch(java.util.Collection constraints)
- Creates a new set of search criteria from collection of constraints.
- Parameters:
constraints
-
getSelectStatement
public java.lang.String getSelectStatement()
search
public java.util.List search(org.hibernate.Session session)
throws PersistenceException
- Executes the query.
- Overrides:
search
in class SearchCriteria
- Parameters:
session
- Hibernate session.
- Returns:
- A list of all the
search results
which match the search criteria,
ordered by location (by work tag, then by ordinal
within work).
- Throws:
PersistenceException