Package ome.logic
Class MetadataImpl
- java.lang.Object
-
- ome.logic.AbstractLevel2Service
-
- ome.logic.MetadataImpl
-
- All Implemented Interfaces:
ome.api.IMetadata
,ome.api.ServiceInterface
,ome.system.SelfConfigurableService
public class MetadataImpl extends AbstractLevel2Service implements ome.api.IMetadata
Implement theIMetadata
I/F.- Since:
- 3.0-Beta4
-
-
Field Summary
-
Fields inherited from class ome.logic.AbstractLevel2Service
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
-
-
Constructor Summary
Constructors Constructor Description MetadataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
countAnnotationsUsedNotOwned(java.lang.Class annotationType, long userID)
java.lang.Long
countSpecifiedAnnotations(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, ome.parameters.Parameters options)
java.lang.Class<? extends ome.api.ServiceInterface>
getServiceInterface()
Returns the Interface implemented by this class.java.util.Map
getTaggedObjectsCount(java.util.Set<java.lang.Long> tagIds, ome.parameters.Parameters options)
<A extends ome.model.annotations.Annotation>
java.util.Set<A>loadAnnotation(java.util.Set<java.lang.Long> annotationIds)
<T extends ome.model.IObject,A extends ome.model.annotations.Annotation>
java.util.Map<java.lang.Long,java.util.Set<A>>loadAnnotations(java.lang.Class<T> rootNodeType, java.util.Set<java.lang.Long> rootNodeIds, java.util.Set<java.lang.String> annotationTypes, java.util.Set<java.lang.Long> annotatorIds, ome.parameters.Parameters options)
java.util.Set<ome.model.IObject>
loadAnnotationsUsedNotOwned(java.lang.Class annotationType, long userID)
java.util.Set
loadChannelAcquisitionData(java.util.Set<java.lang.Long> ids)
ome.model.acquisition.Instrument
loadInstrument(long id)
java.util.Map<java.lang.Long,java.util.Set<ome.model.IObject>>
loadLogFiles(java.lang.Class<? extends ome.model.IObject> rootNodeType, java.util.Set<java.lang.Long> ids)
<A extends ome.model.annotations.Annotation>
java.util.Set<A>loadSpecifiedAnnotations(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, ome.parameters.Parameters options)
<A extends ome.model.annotations.Annotation>
java.util.Map<java.lang.Long,java.util.Set<A>>loadSpecifiedAnnotationsLinkedTo(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, java.lang.Class rootNodeType, java.util.Set<java.lang.Long> rootNodeIds, ome.parameters.Parameters options)
java.util.Map<java.lang.Long,java.util.Set<ome.model.IObject>>
loadTagContent(java.util.Set<java.lang.Long> tagIds, ome.parameters.Parameters options)
java.util.Set<ome.model.IObject>
loadTagSets(ome.parameters.Parameters options)
void
setIContainer(ome.api.IContainer iContainer)
IContainer bean injector.-
Methods inherited from class ome.logic.AbstractLevel2Service
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
-
-
-
-
Method Detail
-
getServiceInterface
public final java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
Returns the Interface implemented by this class.- Specified by:
getServiceInterface
in interfaceome.system.SelfConfigurableService
- Returns:
- See above.
-
setIContainer
public final void setIContainer(ome.api.IContainer iContainer)
IContainer bean injector. For use during configuration. Can only be called once.- Parameters:
iContainer
- The value to set.
-
loadInstrument
@Transactional(readOnly=true) public ome.model.acquisition.Instrument loadInstrument(long id)
- Specified by:
loadInstrument
in interfaceome.api.IMetadata
-
loadChannelAcquisitionData
@Transactional(readOnly=true) public java.util.Set loadChannelAcquisitionData(java.util.Set<java.lang.Long> ids)
- Specified by:
loadChannelAcquisitionData
in interfaceome.api.IMetadata
-
loadAnnotations
@Transactional(readOnly=true) public <T extends ome.model.IObject,A extends ome.model.annotations.Annotation> java.util.Map<java.lang.Long,java.util.Set<A>> loadAnnotations(java.lang.Class<T> rootNodeType, java.util.Set<java.lang.Long> rootNodeIds, java.util.Set<java.lang.String> annotationTypes, java.util.Set<java.lang.Long> annotatorIds, ome.parameters.Parameters options)
- Specified by:
loadAnnotations
in interfaceome.api.IMetadata
-
loadSpecifiedAnnotations
@Transactional(readOnly=true) public <A extends ome.model.annotations.Annotation> java.util.Set<A> loadSpecifiedAnnotations(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, ome.parameters.Parameters options)
- Specified by:
loadSpecifiedAnnotations
in interfaceome.api.IMetadata
-
countSpecifiedAnnotations
@Transactional(readOnly=true) public java.lang.Long countSpecifiedAnnotations(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, ome.parameters.Parameters options)
- Specified by:
countSpecifiedAnnotations
in interfaceome.api.IMetadata
-
loadAnnotation
@Transactional(readOnly=true) public <A extends ome.model.annotations.Annotation> java.util.Set<A> loadAnnotation(java.util.Set<java.lang.Long> annotationIds)
- Specified by:
loadAnnotation
in interfaceome.api.IMetadata
-
loadTagContent
@Transactional(readOnly=true) public java.util.Map<java.lang.Long,java.util.Set<ome.model.IObject>> loadTagContent(java.util.Set<java.lang.Long> tagIds, ome.parameters.Parameters options)
- Specified by:
loadTagContent
in interfaceome.api.IMetadata
-
loadTagSets
@Transactional(readOnly=true) public java.util.Set<ome.model.IObject> loadTagSets(ome.parameters.Parameters options)
- Specified by:
loadTagSets
in interfaceome.api.IMetadata
-
getTaggedObjectsCount
@Transactional(readOnly=true) public java.util.Map getTaggedObjectsCount(java.util.Set<java.lang.Long> tagIds, ome.parameters.Parameters options)
- Specified by:
getTaggedObjectsCount
in interfaceome.api.IMetadata
-
loadAnnotationsUsedNotOwned
@Transactional(readOnly=true) public java.util.Set<ome.model.IObject> loadAnnotationsUsedNotOwned(java.lang.Class annotationType, long userID)
- Specified by:
loadAnnotationsUsedNotOwned
in interfaceome.api.IMetadata
-
countAnnotationsUsedNotOwned
@Transactional(readOnly=true) public java.lang.Long countAnnotationsUsedNotOwned(java.lang.Class annotationType, long userID)
- Specified by:
countAnnotationsUsedNotOwned
in interfaceome.api.IMetadata
-
loadSpecifiedAnnotationsLinkedTo
@Transactional(readOnly=true) public <A extends ome.model.annotations.Annotation> java.util.Map<java.lang.Long,java.util.Set<A>> loadSpecifiedAnnotationsLinkedTo(java.lang.Class type, java.util.Set<java.lang.String> include, java.util.Set<java.lang.String> exclude, java.lang.Class rootNodeType, java.util.Set<java.lang.Long> rootNodeIds, ome.parameters.Parameters options)
- Specified by:
loadSpecifiedAnnotationsLinkedTo
in interfaceome.api.IMetadata
-
loadLogFiles
@Transactional(readOnly=true) public java.util.Map<java.lang.Long,java.util.Set<ome.model.IObject>> loadLogFiles(java.lang.Class<? extends ome.model.IObject> rootNodeType, java.util.Set<java.lang.Long> ids)
- Specified by:
loadLogFiles
in interfaceome.api.IMetadata
-
-