ome.services.search
Class SimilarTerms

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

public class SimilarTerms
extends SearchAction

Search to find similar terms to some given terms.

Since:
Beta4
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ome.services.search.SearchAction
chainedList, values
 
Constructor Summary
SimilarTerms(SearchValues values, String... terms)
           
 
Method Summary
 Object doWork(org.hibernate.Session s, 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

SimilarTerms

public SimilarTerms(SearchValues values,
                    String... terms)
Method Detail

doWork

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

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


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

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