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,
ome.parameters.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,
ome.parameters.Parameters options)
Implemented as specified by the
IMetadata I/F |
<A extends ome.model.annotations.Annotation> |
loadAnnotation(Set<Long> annotationIds)
Implemented as specified by the
IMetadata I/F |
<T extends ome.model.IObject,A extends ome.model.annotations.Annotation> |
loadAnnotations(Class<T> rootNodeType,
Set<Long> rootNodeIds,
Set<String> annotationTypes,
Set<Long> annotatorIds,
ome.parameters.Parameters options)
Implemented as specified by the
IMetadata I/F |
Set<ome.model.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 |
ome.model.acquisition.Instrument |
loadInstrument(long id)
Implemented as specified by the
IMetadata I/F |
Map<Long,Set<ome.model.IObject>> |
loadLogFiles(Class<? extends ome.model.IObject> rootNodeType,
Set<Long> ids)
Find the original file IDs for the import logs corresponding to the given Image or Fileset IDs.
|
<A extends ome.model.annotations.Annotation> |
loadSpecifiedAnnotations(Class type,
Set<String> include,
Set<String> exclude,
ome.parameters.Parameters options)
Implemented as specified by the
IMetadata I/F |
<A extends ome.model.annotations.Annotation> |
loadSpecifiedAnnotationsLinkedTo(Class type,
Set<String> include,
Set<String> exclude,
Class rootNodeType,
Set<Long> rootNodeIds,
ome.parameters.Parameters options)
Implemented as specified by the
IMetadata I/F |
Map<Long,Set<ome.model.IObject>> |
loadTagContent(Set<Long> tagIds,
ome.parameters.Parameters options)
Implemented as specified by the
IMetadata I/F |
Set<ome.model.IObject> |
loadTagSets(ome.parameters.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 ome.model.acquisition.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 ome.model.IObject,A extends ome.model.annotations.Annotation> Map<Long,Set<A>> loadAnnotations(Class<T> rootNodeType, Set<Long> rootNodeIds, Set<String> annotationTypes, Set<Long> annotatorIds, ome.parameters.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 ome.model.annotations.Annotation> Set<A> loadSpecifiedAnnotations(Class type, Set<String> include, Set<String> exclude, ome.parameters.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, ome.parameters.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 ome.model.annotations.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<ome.model.IObject>> loadTagContent(Set<Long> tagIds, ome.parameters.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<ome.model.IObject> loadTagSets(ome.parameters.Parameters options)
IMetadata
I/FloadTagSets
in interface IMetadata
options
- The POJO options.IMetadata.loadTagSets(Parameters)
@Transactional(readOnly=true) public Map getTaggedObjectsCount(Set<Long> tagIds, ome.parameters.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<ome.model.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 ome.model.annotations.Annotation> Map<Long,Set<A>> loadSpecifiedAnnotationsLinkedTo(Class type, Set<String> include, Set<String> exclude, Class rootNodeType, Set<Long> rootNodeIds, ome.parameters.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<ome.model.IObject>> loadLogFiles(Class<? extends ome.model.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.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.