Package ome.services.search
Class Union
- java.lang.Object
-
- ome.services.search.SearchAction
-
- ome.services.search.Union
-
- All Implemented Interfaces:
java.io.Serializable
,Executor.Work
public class Union extends SearchAction
UnionSearchAction
which combines two other search actions into one logical unit, e.g.A || B
- Since:
- 3.0-Beta3
- See Also:
Search.or()
, Serialized Form
-
-
Field Summary
-
Fields inherited from class ome.services.search.SearchAction
chainedList, timeout, values
-
-
Constructor Summary
Constructors Constructor Description Union(SearchValues values, SearchAction a, SearchAction b)
-
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
-
Union
public Union(SearchValues values, SearchAction a, SearchAction b)
-
-
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.
-
-