public abstract class SearchAction extends Object implements Serializable, Executor.Work
SearchBean
to generate results lazily.Modifier and Type | Field and Description |
---|---|
protected 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,
String path) |
protected void |
annotatedBy(ome.services.search.AnnotationCriteria ann) |
protected void |
annotatedBy(QueryBuilder qb,
String path) |
void |
chainedSearch(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(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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doWork
protected final SearchValues values
protected 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 String description()
SearchAction
subclass as the description.description
in interface Executor.Work
public SearchValues copyOfValues()
public void chainedSearch(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, String path)
protected void ownerOrGroup(Class cls, org.hibernate.Criteria criteria)
protected void ownerOrGroup(Class cls, QueryBuilder qb, String path)
protected void createdOrModified(Class cls, org.hibernate.Criteria criteria)
protected void createdOrModified(Class cls, QueryBuilder qb, String path)
protected void annotatedBy(ome.services.search.AnnotationCriteria ann)
protected void annotatedBy(QueryBuilder qb, String path)
protected void annotatedBetween(ome.services.search.AnnotationCriteria ann)
protected void annotatedBetween(QueryBuilder qb, String path)
public static void notNullOrLikeOrEqual(QueryBuilder qb, String path, Class type, Object value, boolean useLike, boolean caseSensitive)
public static org.hibernate.criterion.Criterion notNullOrLikeOrEqual(String path, Class type, Object value, boolean useLike, boolean caseSensitive)
public static boolean orderByAscending(String orderBy)
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.