public class MetadataImpl extends AbstractLevel2Service implements IMetadata
IMetadata
I/F.iQuery, iUpdate, metadata, queryFactory, sec
MOVIE_MPEG_NS, MOVIE_QT_NS, MOVIE_WMV_NS, NS_IMPORTER_ARCHIVED, NS_INSIGHT_RATING, NS_INSIGHT_TAG_SET
Constructor and Description |
---|
MetadataImpl() |
Modifier and Type | Method and Description |
---|---|
Long |
countAnnotationsUsedNotOwned(Class annotationType,
long userID)
Implemented as specified by the
IMetadata I/F |
Long |
countSpecifiedAnnotations(Class type,
Set<String> include,
Set<String> exclude,
Parameters options)
Implemented as specified by the
IMetadata I/F |
Class<? extends ServiceInterface> |
getServiceInterface()
Returns the Interface implemented by this class.
|
Map |
getTaggedObjectsCount(Set<Long> tagIds,
Parameters options)
Implemented as specified by the
IMetadata I/F |
<A extends Annotation> |
loadAnnotation(Set<Long> annotationIds)
Implemented as specified by the
IMetadata I/F |
<T extends IObject,A extends Annotation> |
loadAnnotations(Class<T> rootNodeType,
Set<Long> rootNodeIds,
Set<String> annotationTypes,
Set<Long> annotatorIds,
Parameters options)
Implemented as specified by the
IMetadata I/F |
Set<IObject> |
loadAnnotationsUsedNotOwned(Class annotationType,
long userID)
Implemented as specified by the
IMetadata I/F |
Set |
loadChannelAcquisitionData(Set<Long> ids)
Implemented as specified by the
IMetadata I/F |
Instrument |
loadInstrument(long id)
Implemented as specified by the
IMetadata I/F |
Map<Long,Set<IObject>> |
loadLogFiles(Class<? extends IObject> rootNodeType,
Set<Long> ids)
Find the original file IDs for the import logs corresponding to the given Image or Fileset IDs.
|
<A extends Annotation> |
loadSpecifiedAnnotations(Class type,
Set<String> include,
Set<String> exclude,
Parameters options)
Implemented as specified by the
IMetadata I/F |
<A extends Annotation> |
loadSpecifiedAnnotationsLinkedTo(Class type,
Set<String> include,
Set<String> exclude,
Class rootNodeType,
Set<Long> rootNodeIds,
Parameters options)
Implemented as specified by the
IMetadata I/F |
Map<Long,Set<IObject>> |
loadTagContent(Set<Long> tagIds,
Parameters options)
Implemented as specified by the
IMetadata I/F |
Set<IObject> |
loadTagSets(Parameters options)
Implemented as specified by the
IMetadata I/F |
void |
setIContainer(IContainer iContainer)
IContainer bean injector.
|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateService
public final Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface
in interface SelfConfigurableService
public final void setIContainer(IContainer iContainer)
iContainer
- The value to set.@Transactional(readOnly=true) public Instrument loadInstrument(long id)
IMetadata
I/FloadInstrument
in interface IMetadata
id
- The id of the instrument to load.IMetadata#loadInstrument(Long)
@Transactional(readOnly=true) public Set loadChannelAcquisitionData(Set<Long> ids)
IMetadata
I/FloadChannelAcquisitionData
in interface IMetadata
ids
- The collection of logical channel's ids.
Mustn't be null
.IMetadata.loadChannelAcquisitionData(Set)
@Transactional(readOnly=true) public <T extends IObject,A extends Annotation> Map<Long,Set<A>> loadAnnotations(Class<T> rootNodeType, Set<Long> rootNodeIds, Set<String> annotationTypes, Set<Long> annotatorIds, Parameters options)
IMetadata
I/FloadAnnotations
in interface IMetadata
rootNodeType
- The type of the nodes the annotations are linked to.
Mustn't be null
.rootNodeIds
- Ids of the objects of type rootNodeType
.
Mustn't be null
.annotationTypes
- The types of annotation to retrieve.
If null
all annotations will be
loaded. String of the type
ome.model.annotations.*
.annotatorIds
- Ids of the users for whom annotations should be
retrieved.
If null
, all annotations returned.Set
of
all annotations for that node or null
.IMetadata#loadAnnotations(Class, Set, Set, Set)
@Transactional(readOnly=true) public <A extends Annotation> Set<A> loadSpecifiedAnnotations(Class type, Set<String> include, Set<String> exclude, Parameters options)
IMetadata
I/FloadSpecifiedAnnotations
in interface IMetadata
type
- The type of annotations to load.include
- Include the annotations with the specified name spaces.exclude
- Exclude the annotations with the specified name spaces.options
- The POJO options.IMetadata.loadSpecifiedAnnotations(Class, Set, Set, Parameters)
@Transactional(readOnly=true) public Long countSpecifiedAnnotations(Class type, Set<String> include, Set<String> exclude, Parameters options)
IMetadata
I/FcountSpecifiedAnnotations
in interface IMetadata
type
- The type of annotations to load.include
- The collection of name space, one of the constants
defined by this class.exclude
- The collection of name space, one of the constants
defined by this class.options
- The POJO options.IMetadata.countSpecifiedAnnotations(Class, Set, Set, Parameters)
@Transactional(readOnly=true) public <A extends Annotation> Set<A> loadAnnotation(Set<Long> annotationIds)
IMetadata
I/FloadAnnotation
in interface IMetadata
annotationIds
- The collection of annotation's ids.IMetadata.loadAnnotation(Set)
@Transactional(readOnly=true) public Map<Long,Set<IObject>> loadTagContent(Set<Long> tagIds, Parameters options)
IMetadata
I/FloadTagContent
in interface IMetadata
tagIds
- The id of the tag to load or -1
.options
- The POJO options.Tag/Tag Set
and the value
either a Map or a list of related DataObject
.IMetadata.loadTagContent(Set, Parameters)
@Transactional(readOnly=true) public Set<IObject> loadTagSets(Parameters options)
IMetadata
I/FloadTagSets
in interface IMetadata
options
- The POJO options.IMetadata.loadTagSets(Parameters)
@Transactional(readOnly=true) public Map getTaggedObjectsCount(Set<Long> tagIds, Parameters options)
IMetadata
I/FgetTaggedObjectsCount
in interface IMetadata
tagIds
- The collection of ids.options
- The POJO options.IMetadata#lgetTaggedObjectsCount(Set, Parameters)
@Transactional(readOnly=true) public Set<IObject> loadAnnotationsUsedNotOwned(Class annotationType, long userID)
IMetadata
I/FloadAnnotationsUsedNotOwned
in interface IMetadata
userID
- The identifier of the user.IMetadata#loadAnnotationUsedNotOwned(Class, Long)
@Transactional(readOnly=true) public Long countAnnotationsUsedNotOwned(Class annotationType, long userID)
IMetadata
I/FcountAnnotationsUsedNotOwned
in interface IMetadata
userID
- The identifier of the user.IMetadata#countAnnotationsUsedNotOwned(Class, Long)
@Transactional(readOnly=true) public <A extends Annotation> Map<Long,Set<A>> loadSpecifiedAnnotationsLinkedTo(Class type, Set<String> include, Set<String> exclude, Class rootNodeType, Set<Long> rootNodeIds, Parameters options)
IMetadata
I/FloadSpecifiedAnnotationsLinkedTo
in interface IMetadata
type
- The type of annotations to load.include
- Include the annotations with the specified name spaces.exclude
- Exclude the annotations with the specified name spaces.rootNodeType
- The type of objects the annotations are linked to.rootNodeIds
- The identifiers of the objects.options
- The POJO options.IMetadata.loadSpecifiedAnnotationsLinkedTo(Class, Set, Set, Class, Set, Parameters)
@Transactional(readOnly=true) public Map<Long,Set<IObject>> loadLogFiles(Class<? extends IObject> rootNodeType, Set<Long> ids)
IMetadata
loadLogFiles
in interface IMetadata
rootNodeType
- the root node type, may be omero.model.core.Image
or omero.model.fs.Fileset
ids
- the IDs of the entities for which the import log original file IDs are required
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.