public class MetadataI extends AbstractAmdServant implements _IMetadataOperations
IMetadata
service.Constructor and Description |
---|
MetadataI(ome.api.IMetadata service,
BlitzExecutor be)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
countAnnotationsUsedNotOwned_async(AMD_IMetadata_countAnnotationsUsedNotOwned __cb,
java.lang.String annotationType,
long userID,
Ice.Current __current)
Counts the number of annotation of a given type used by the
specified user but not owned by the user.
|
void |
countSpecifiedAnnotations_async(AMD_IMetadata_countSpecifiedAnnotations __cb,
java.lang.String annotationType,
java.util.List<java.lang.String> include,
java.util.List<java.lang.String> exclude,
Parameters options,
Ice.Current __current)
Counts the number of annotation of a given type.
|
void |
getTaggedObjectsCount_async(AMD_IMetadata_getTaggedObjectsCount __cb,
java.util.List<java.lang.Long> ids,
Parameters options,
Ice.Current __current)
Returns a map whose key is a tag id and the value the
number of Projects, Datasets, and Images linked to that tag.
|
void |
loadAnnotation_async(AMD_IMetadata_loadAnnotation __cb,
java.util.List<java.lang.Long> ids,
Ice.Current __current)
Loads the specified annotations.
|
void |
loadAnnotations_async(AMD_IMetadata_loadAnnotations __cb,
java.lang.String rootType,
java.util.List<java.lang.Long> rootIds,
java.util.List<java.lang.String> annotationTypes,
java.util.List<java.lang.Long> annotatorIds,
Parameters options,
Ice.Current __current)
Loads all the annotations of given types, that have been
attached to the specified
rootNodes for the
specified annotatorIds . |
void |
loadAnnotationsUsedNotOwned_async(AMD_IMetadata_loadAnnotationsUsedNotOwned __cb,
java.lang.String annotationType,
long userID,
Ice.Current __current)
Loads the annotations of a given type used by the specified
user but not owned by the user.
|
void |
loadChannelAcquisitionData_async(AMD_IMetadata_loadChannelAcquisitionData __cb,
java.util.List<java.lang.Long> ids,
Ice.Current __current)
Loads the logical channels and the acquisition metadata
related to them.
|
void |
loadInstrument_async(AMD_IMetadata_loadInstrument __cb,
long id,
Ice.Current __current)
Loads the instrument and its components i.e.
|
void |
loadLogFiles_async(AMD_IMetadata_loadLogFiles __cb,
java.lang.String rootType,
java.util.List<java.lang.Long> ids,
Ice.Current __current)
Finds the original file IDs for the import logs
corresponding to the given Image or Fileset IDs.
|
void |
loadSpecifiedAnnotations_async(AMD_IMetadata_loadSpecifiedAnnotations __cb,
java.lang.String annotationType,
java.util.List<java.lang.String> include,
java.util.List<java.lang.String> exclude,
Parameters options,
Ice.Current __current)
Loads all the annotations of a given type.
|
void |
loadSpecifiedAnnotationsLinkedTo_async(AMD_IMetadata_loadSpecifiedAnnotationsLinkedTo __cb,
java.lang.String annotationType,
java.util.List<java.lang.String> include,
java.util.List<java.lang.String> exclude,
java.lang.String rootNodeType,
java.util.List<java.lang.Long> nodeIds,
Parameters options,
Ice.Current __current)
Loads the annotations of a given type linked to the
specified objects.
|
void |
loadTagContent_async(AMD_IMetadata_loadTagContent __cb,
java.util.List<java.lang.Long> ids,
Parameters options,
Ice.Current __current)
Loads the TagSet if the id is specified otherwise loads
all the TagSet.
|
void |
loadTagSets_async(AMD_IMetadata_loadTagSets __cb,
Parameters options,
Ice.Current __current)
Loads all the TagSets.
|
protected void |
map(java.util.List<java.lang.String> annotationTypes) |
protected java.lang.String |
map(java.lang.String annotationType) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public MetadataI(ome.api.IMetadata service, BlitzExecutor be)
service
- Reference to the service.be
- The executor.public void loadChannelAcquisitionData_async(AMD_IMetadata_loadChannelAcquisitionData __cb, java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
_IMetadataOperations
loadChannelAcquisitionData_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.ids
- The collection of logical channel's ids.
Mustn't be null
.__current
- The Current object for the invocation.ServerError
public void loadAnnotations_async(AMD_IMetadata_loadAnnotations __cb, java.lang.String rootType, java.util.List<java.lang.Long> rootIds, java.util.List<java.lang.String> annotationTypes, java.util.List<java.lang.Long> annotatorIds, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
rootNodes
for the
specified annotatorIds
.
If no types specified, all annotations will be loaded.
This method looks for the annotations that have been
attached to each of the specified objects. It then maps
each rootId
onto the set of annotations
that were found for that node. If no annotations were found
for that node, then the entry will be null
.
Otherwise it will be a Map
containing
Annotation
objects.loadAnnotations_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.rootType
- The type of the nodes the annotations are linked to.
Mustn't be null
.rootIds
- Ids of the objects of type rootType
.
Mustn't be null
.annotationTypes
- The types of annotation to retrieve. If
null
all annotations will be loaded.
String of the type
omero.model.annotations.*
.annotatorIds
- Ids of the users for whom annotations should be
retrieved. If null
, all annotations
returned.__current
- The Current object for the invocation.ServerError
public void loadSpecifiedAnnotations_async(AMD_IMetadata_loadSpecifiedAnnotations __cb, java.lang.String annotationType, java.util.List<java.lang.String> include, java.util.List<java.lang.String> exclude, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
loadSpecifiedAnnotations_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.annotationType
- The type of annotations to load.exclude
- Exclude the annotations with the specified name spaces.options
- The POJO options.__current
- The Current object for the invocation.ServerError
public void countSpecifiedAnnotations_async(AMD_IMetadata_countSpecifiedAnnotations __cb, java.lang.String annotationType, java.util.List<java.lang.String> include, java.util.List<java.lang.String> exclude, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
countSpecifiedAnnotations_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.annotationType
- The type of annotations to load.exclude
- The collection of name space, one of the
constants defined by this class.options
- The POJO options.__current
- The Current object for the invocation.ServerError
public void loadTagSets_async(AMD_IMetadata_loadTagSets __cb, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
AnnotationAnnotatioLink
objects and, if the
orphan
parameters is true
, the
TagAnnotation
object.
Note that the difference between a TagSet and a Tag is made
using the NS_INSIGHT_TAG_SET namespace.loadTagSets_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.options
- The POJO options.__current
- The Current object for the invocation.ServerError
public void loadTagContent_async(AMD_IMetadata_loadTagContent __cb, java.util.List<java.lang.Long> ids, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
loadTagContent_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.ids
- The id of the tag to load or -1
.__current
- The Current object for the invocation.ServerError
public void getTaggedObjectsCount_async(AMD_IMetadata_getTaggedObjectsCount __cb, java.util.List<java.lang.Long> ids, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
getTaggedObjectsCount_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.ids
- The collection of ids.__current
- The Current object for the invocation.ServerError
public void loadAnnotation_async(AMD_IMetadata_loadAnnotation __cb, java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
_IMetadataOperations
loadAnnotation_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.ids
- The collection of annotation ids.__current
- The Current object for the invocation.ServerError
public void loadInstrument_async(AMD_IMetadata_loadInstrument __cb, long id, Ice.Current __current) throws ServerError
_IMetadataOperations
loadInstrument_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.id
- The id of the instrument to load.__current
- The Current object for the invocation.ServerError
public void countAnnotationsUsedNotOwned_async(AMD_IMetadata_countAnnotationsUsedNotOwned __cb, java.lang.String annotationType, long userID, Ice.Current __current) throws ServerError
_IMetadataOperations
countAnnotationsUsedNotOwned_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.annotationType
- The type of annotations to load.__current
- The Current object for the invocation.ServerError
public void loadAnnotationsUsedNotOwned_async(AMD_IMetadata_loadAnnotationsUsedNotOwned __cb, java.lang.String annotationType, long userID, Ice.Current __current) throws ServerError
_IMetadataOperations
loadAnnotationsUsedNotOwned_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.annotationType
- The type of annotations to load.__current
- The Current object for the invocation.ServerError
public void loadSpecifiedAnnotationsLinkedTo_async(AMD_IMetadata_loadSpecifiedAnnotationsLinkedTo __cb, java.lang.String annotationType, java.util.List<java.lang.String> include, java.util.List<java.lang.String> exclude, java.lang.String rootNodeType, java.util.List<java.lang.Long> nodeIds, Parameters options, Ice.Current __current) throws ServerError
_IMetadataOperations
rootNodeId
onto the set of annotations
that were found for that node. If no annotations were found
for that node, the map will not contain an entry for that
node. Otherwise it will be a Set
containing
Annotation
objects.
The rootNodeType
supported are:
Project, Dataset, Image, Pixels, Screen, Plate,
PlateAcquisition, Well, Fileset.loadSpecifiedAnnotationsLinkedTo_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.annotationType
- The type of annotations to load.exclude
- Exclude the annotations with the specified name spaces.rootNodeType
- The type of objects the annotations are linked to.nodeIds
- The identifiers of the objects.__current
- The Current object for the invocation.ServerError
public void loadLogFiles_async(AMD_IMetadata_loadLogFiles __cb, java.lang.String rootType, java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
_IMetadataOperations
loadLogFiles_async
in interface _IMetadataOperations
__cb
- The callback object for the operation.rootType
- the root node type, may be Image
or Fileset
ids
- the IDs of the entities for which the import log
original file IDs are required__current
- The Current object for the invocation.ServerError
protected void map(java.util.List<java.lang.String> annotationTypes) throws ServerError
ServerError
protected java.lang.String map(java.lang.String annotationType) throws ServerError
ServerError