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.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.