ome.services.search
Class Intersection

java.lang.Object
  extended by ome.services.search.SearchAction
      extended by ome.services.search.Intersection
All Implemented Interfaces:
Serializable, Executor.Work

public class Intersection
extends SearchAction

Intersection SearchAction which combines two other search actions into one logical unit, e.g.

 A && B
 

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
Search.and(), Serialized Form

Field Summary
 
Fields inherited from class ome.services.search.SearchAction
chainedList, values
 
Constructor Summary
Intersection(SearchValues values, SearchAction a, SearchAction b)
           
 
Method Summary
 Object doWork(org.hibernate.Session session, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Intersection

public Intersection(SearchValues values,
                    SearchAction a,
                    SearchAction b)
Method Detail

doWork

@Transactional(readOnly=true)
public Object doWork(org.hibernate.Session session,
                                   ServiceFactory sf)
Description copied from interface: Executor.Work
Work method. Must return all results coming from Hibernate via the Object return method.

Parameters:
session - non null.
sf - non null.
Returns:
Any results which will be used by non-wrapped code.


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.