ome.services.search
Class SearchAction
java.lang.Object
ome.services.search.SearchAction
- All Implemented Interfaces:
- Serializable, Executor.Work
- Direct Known Subclasses:
- AnnotatedWith, Complement, FullText, HqlQuery, Intersection, SimilarTerms, TagsAndGroups, Union
public abstract class SearchAction
- extends Object
- implements Serializable, Executor.Work
Serializable action used by SearchBean
to generate results lazily.
- Since:
- 3.0-Beta3
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
- Serialized Form
Method Summary |
protected void |
annotatedBetween(ome.services.search.AnnotationCriteria ann)
|
protected void |
annotatedBetween(QueryBuilder qb,
String path)
|
protected void |
annotatedBy(ome.services.search.AnnotationCriteria ann)
|
protected void |
annotatedBy(QueryBuilder qb,
String path)
|
void |
chainedSearch(List<ome.model.IObject> chainedList)
Set the current list of found ids from previous searches, which should be
chained in this search. |
SearchValues |
copyOfValues()
|
protected void |
createdOrModified(Class cls,
org.hibernate.Criteria criteria)
|
protected void |
createdOrModified(Class cls,
QueryBuilder qb,
String path)
|
String |
description()
Returns the SearchAction subclass as the description. |
protected void |
ids(org.hibernate.Criteria criteria)
|
protected void |
ids(QueryBuilder qb,
String path)
|
static void |
notNullOrLikeOrEqual(QueryBuilder qb,
String path,
Class type,
Object value,
boolean useLike,
boolean caseSensitive)
|
static org.hibernate.criterion.Criterion |
notNullOrLikeOrEqual(String path,
Class type,
Object value,
boolean useLike,
boolean caseSensitive)
|
static boolean |
orderByAscending(String orderBy)
|
static String |
orderByPath(String orderBy)
|
protected void |
ownerOrGroup(Class cls,
org.hibernate.Criteria criteria)
|
protected void |
ownerOrGroup(Class cls,
QueryBuilder qb,
String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
values
protected final SearchValues values
chainedList
protected List<ome.model.IObject> chainedList
- List of
IObject
instances which have currently been found. This
SearchAction
may want to take these values into account if
present.
SearchAction
public SearchAction(SearchValues values)
description
public String description()
- Returns the
SearchAction
subclass as the description.
- Specified by:
description
in interface Executor.Work
copyOfValues
public SearchValues copyOfValues()
chainedSearch
public void chainedSearch(List<ome.model.IObject> chainedList)
- Set the current list of found ids from previous searches, which should be
chained in this search. See the documentation on each by* method in
Search
to know how chained ids will be used, if at all.
- Parameters:
idList
- Can be null to disabled chaining.
ids
protected void ids(org.hibernate.Criteria criteria)
ids
protected void ids(QueryBuilder qb,
String path)
ownerOrGroup
protected void ownerOrGroup(Class cls,
org.hibernate.Criteria criteria)
ownerOrGroup
protected void ownerOrGroup(Class cls,
QueryBuilder qb,
String path)
createdOrModified
protected void createdOrModified(Class cls,
org.hibernate.Criteria criteria)
createdOrModified
protected void createdOrModified(Class cls,
QueryBuilder qb,
String path)
annotatedBy
protected void annotatedBy(ome.services.search.AnnotationCriteria ann)
annotatedBy
protected void annotatedBy(QueryBuilder qb,
String path)
annotatedBetween
protected void annotatedBetween(ome.services.search.AnnotationCriteria ann)
annotatedBetween
protected void annotatedBetween(QueryBuilder qb,
String path)
notNullOrLikeOrEqual
public static void notNullOrLikeOrEqual(QueryBuilder qb,
String path,
Class type,
Object value,
boolean useLike,
boolean caseSensitive)
notNullOrLikeOrEqual
public static org.hibernate.criterion.Criterion notNullOrLikeOrEqual(String path,
Class type,
Object value,
boolean useLike,
boolean caseSensitive)
orderByPath
public static String orderByPath(String orderBy)
orderByAscending
public static boolean orderByAscending(String orderBy)
OmeroJava Api
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.