public abstract class SearchAction extends java.lang.Object implements java.io.Serializable, Executor.Work
SearchBean
to generate results lazily.Modifier and Type | Field and Description |
---|---|
protected java.util.List<IObject> |
chainedList
List of
IObject instances which have currently been found. |
protected SearchValues |
values |
Constructor and Description |
---|
SearchAction(SearchValues values) |
Modifier and Type | Method and Description |
---|---|
protected void |
annotatedBetween(ome.services.search.AnnotationCriteria ann) |
protected void |
annotatedBetween(QueryBuilder qb,
java.lang.String path) |
protected void |
annotatedBy(ome.services.search.AnnotationCriteria ann) |
protected void |
annotatedBy(QueryBuilder qb,
java.lang.String path) |
void |
chainedSearch(java.util.List<IObject> chainedList)
Set the current list of found ids from previous searches, which should be
chained in this search.
|
SearchValues |
copyOfValues() |
protected void |
createdOrModified(java.lang.Class cls,
org.hibernate.Criteria criteria) |
protected void |
createdOrModified(java.lang.Class cls,
QueryBuilder qb,
java.lang.String path) |
java.lang.String |
description()
Returns the
SearchAction subclass as the description. |
protected void |
ids(org.hibernate.Criteria criteria) |
protected void |
ids(QueryBuilder qb,
java.lang.String path) |
static void |
notNullOrLikeOrEqual(QueryBuilder qb,
java.lang.String path,
java.lang.Class type,
java.lang.Object value,
boolean useLike,
boolean caseSensitive) |
static org.hibernate.criterion.Criterion |
notNullOrLikeOrEqual(java.lang.String path,
java.lang.Class type,
java.lang.Object value,
boolean useLike,
boolean caseSensitive) |
static boolean |
orderByAscending(java.lang.String orderBy) |
static java.lang.String |
orderByPath(java.lang.String orderBy) |
protected void |
ownerOrGroup(java.lang.Class cls,
org.hibernate.Criteria criteria) |
protected void |
ownerOrGroup(java.lang.Class cls,
QueryBuilder qb,
java.lang.String path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doWork
protected final SearchValues values
protected java.util.List<IObject> chainedList
IObject
instances which have currently been found. This
SearchAction
may want to take these values into account if
present.public SearchAction(SearchValues values)
public java.lang.String description()
SearchAction
subclass as the description.description
in interface Executor.Work
public SearchValues copyOfValues()
public void chainedSearch(java.util.List<IObject> chainedList)
Search
to know how chained ids will be used, if at all.chainedList
- Can be null to disabled chaining.protected void ids(org.hibernate.Criteria criteria)
protected void ids(QueryBuilder qb, java.lang.String path)
protected void ownerOrGroup(java.lang.Class cls, org.hibernate.Criteria criteria)
protected void ownerOrGroup(java.lang.Class cls, QueryBuilder qb, java.lang.String path)
protected void createdOrModified(java.lang.Class cls, org.hibernate.Criteria criteria)
protected void createdOrModified(java.lang.Class cls, QueryBuilder qb, java.lang.String path)
protected void annotatedBy(ome.services.search.AnnotationCriteria ann)
protected void annotatedBy(QueryBuilder qb, java.lang.String path)
protected void annotatedBetween(ome.services.search.AnnotationCriteria ann)
protected void annotatedBetween(QueryBuilder qb, java.lang.String path)
public static void notNullOrLikeOrEqual(QueryBuilder qb, java.lang.String path, java.lang.Class type, java.lang.Object value, boolean useLike, boolean caseSensitive)
public static org.hibernate.criterion.Criterion notNullOrLikeOrEqual(java.lang.String path, java.lang.Class type, java.lang.Object value, boolean useLike, boolean caseSensitive)
public static java.lang.String orderByPath(java.lang.String orderBy)
public static boolean orderByAscending(java.lang.String orderBy)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.