Package ome.services.search
Class HqlQuery
- java.lang.Object
-
- ome.services.search.SearchAction
-
- ome.services.search.HqlQuery
-
- All Implemented Interfaces:
java.io.Serializable
,Executor.Work
public class HqlQuery extends SearchAction
Delegate toIQuery.findAllByQuery(String, Parameters)
. Uses theSearchAction.chainedList
list to fill the named parameter ":IDLIST" if present.- Since:
- 3.0-Beta3
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ome.services.search.SearchAction
chainedList, timeout, values
-
-
Constructor Summary
Constructors Constructor Description HqlQuery(SearchValues values, java.lang.String query, ome.parameters.Parameters p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
doWork(org.hibernate.Session session, ome.system.ServiceFactory sf)
Work method.-
Methods inherited from class ome.services.search.SearchAction
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup, setTimeout
-
-
-
-
Constructor Detail
-
HqlQuery
public HqlQuery(SearchValues values, java.lang.String query, ome.parameters.Parameters p)
-
-
Method Detail
-
doWork
@Transactional(readOnly=true) public java.lang.Object doWork(org.hibernate.Session session, ome.system.ServiceFactory sf)
Description copied from interface:Executor.Work
Work method. Must return all results coming from Hibernate via theObject
return method.- Parameters:
session
- non null.sf
- non null.- Returns:
- Any results which will be used by non-wrapped code.
-
-