|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.logic.AbstractLevel2Service
ome.logic.MetadataImpl
public class MetadataImpl
Implement the IMetadata
I/F.
Field Summary |
---|
Fields inherited from class ome.logic.AbstractLevel2Service |
---|
iQuery, iUpdate, metadata, queryFactory, sec |
Fields inherited from interface ome.api.IMetadata |
---|
EDITOR_EXPERIMENT_NS, EDITOR_PROTOCOL_NS, MOVIE_MPEG_NS, MOVIE_QT_NS, MOVIE_WMV_NS, NS_IMPORTER_ARCHIVED, NS_INSIGHT_RATING, NS_INSIGHT_TAG_SET |
Constructor Summary | |
---|---|
MetadataImpl()
|
Method Summary | ||
---|---|---|
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 |
|
|
loadAnnotation(Set<Long> annotationIds)
Implemented as specified by the IMetadata I/F |
|
|
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 |
|
|
loadSpecifiedAnnotations(Class type,
Set<String> include,
Set<String> exclude,
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. |
Methods inherited from class ome.logic.AbstractLevel2Service |
---|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetadataImpl()
Method Detail |
---|
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/F
loadInstrument
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/F
loadChannelAcquisitionData
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/F
loadAnnotations
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/F
loadSpecifiedAnnotations
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.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/F
countSpecifiedAnnotations
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/F
loadAnnotation
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/F
loadTagContent
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/F
loadTagSets
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/F
getTaggedObjectsCount
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/F
loadAnnotationsUsedNotOwned
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/F
countAnnotationsUsedNotOwned
in interface IMetadata
userID
- The identifier of the user.
IMetadata#countAnnotationsUsedNotOwned(Class, Long)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.