public class PropertySearch extends CriteriaSearch
| Constructor and Description |
|---|
PropertySearch(org.hibernate.Session session,
Class entityType,
Search search)
Constructor for PropertySearch.
|
| Modifier and Type | Method and Description |
|---|---|
List |
executeAsList()
Executes a
HibernateQuery using the currently defined
CriteriaSearchParameters, and returns a java.util.List
containing the query results. |
int |
getTotalCount()
Gets the total possible count of objects returned in this
search.
|
addParameter, addParameter, addParameter, executeAsSet, getConfiguration, getRootCriteriapublic PropertySearch(org.hibernate.Session session,
Class entityType,
Search search)
PropertySearch instance
from the given arguments.session - The Hibernate session.entityType - The Class of the result.search - the object that specifies the search criteria.public int getTotalCount()
public List executeAsList() throws org.hibernate.HibernateException
CriteriaSearchHibernateQuery using the currently defined
CriteriaSearchParameters, and returns a java.util.List
containing the query results.executeAsList in class CriteriaSearchorg.hibernate.HibernateExceptioncom.lighthousepmg.messaging.service.CriteriaSearch#executeAsList()Copyright © 2013. All Rights Reserved.