public class AnnotatedWith extends SearchAction
Search
which uses an example Annotation
instance as the basis for comparison. Instances of the specified
type
are found with a matching annotation.
Currently only the class of the annotation and its main attribute --
TextAnnotation.textValue
, FileAnnotation.file
, etc. -- are
considered. Use the other methods on Search
like
Search.onlyOwnedBy(Details)
to refine your search.
Ignores Search.onlyAnnotatedWith(Class...)
chainedList, values
Constructor and Description |
---|
AnnotatedWith(SearchValues values,
Annotation[] annotation,
boolean useNamespace,
boolean useLike) |
Modifier and Type | Method and Description |
---|---|
Object |
doWork(org.hibernate.Session session,
ServiceFactory sf)
Work method.
|
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup
public AnnotatedWith(SearchValues values, Annotation[] annotation, boolean useNamespace, boolean useLike)
@Transactional(readOnly=true) public Object doWork(org.hibernate.Session session, ServiceFactory sf)
Executor.Work
Object
return method.session
- non null.sf
- non null.
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.