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, timeout, values
Constructor and Description |
---|
AnnotatedWith(SearchValues values,
ome.model.annotations.Annotation[] annotation,
boolean useNamespace,
boolean useLike) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
doWork(org.hibernate.Session session,
ome.system.ServiceFactory sf)
Work method.
|
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup, setTimeout
public AnnotatedWith(SearchValues values, ome.model.annotations.Annotation[] annotation, boolean useNamespace, boolean useLike)
@Transactional(readOnly=true) public java.lang.Object doWork(org.hibernate.Session session, ome.system.ServiceFactory sf)
Executor.Work
Object
return method.session
- non null.sf
- non null.