Class MetadataI

    • Constructor Detail

      • MetadataI

        public MetadataI​(ome.api.IMetadata service,
                         BlitzExecutor be)
        Creates a new instance.
        Parameters:
        service - Reference to the service.
        be - The executor.
    • Method Detail

      • loadAnnotations_async

        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
        Description copied from interface: _IMetadataOperations
        Loads all the annotations of given types, that have been attached to the specified 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.
        Specified by:
        loadAnnotations_async in interface _IMetadataOperations
        Parameters:
        __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.
        Throws:
        ServerError
      • loadSpecifiedAnnotations_async

        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
        Description copied from interface: _IMetadataOperations
        Loads all the annotations of a given type. It is possible to filter the annotations by including or excluding name spaces set on the annotations.
        Specified by:
        loadSpecifiedAnnotations_async in interface _IMetadataOperations
        Parameters:
        __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.
        Throws:
        ServerError
      • countSpecifiedAnnotations_async

        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
        Description copied from interface: _IMetadataOperations
        Counts the number of annotation of a given type.
        Specified by:
        countSpecifiedAnnotations_async in interface _IMetadataOperations
        Parameters:
        __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.
        Throws:
        ServerError
      • loadTagSets_async

        public void loadTagSets_async​(AMD_IMetadata_loadTagSets __cb,
                                      Parameters options,
                                      Ice.Current __current)
                               throws ServerError
        Description copied from interface: _IMetadataOperations
        Loads all the TagSets. Returns a collection of 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.
        Specified by:
        loadTagSets_async in interface _IMetadataOperations
        Parameters:
        __cb - The callback object for the operation.
        options - The POJO options.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • loadSpecifiedAnnotationsLinkedTo_async

        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
        Description copied from interface: _IMetadataOperations
        Loads the annotations of a given type linked to the specified objects. It is possible to filter the annotations by including or excluding name spaces set on the annotations. This method looks for the annotations that have been attached to each of the specified objects. It then maps each 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.
        Specified by:
        loadSpecifiedAnnotationsLinkedTo_async in interface _IMetadataOperations
        Parameters:
        __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.
        Throws:
        ServerError
      • loadLogFiles_async

        public void loadLogFiles_async​(AMD_IMetadata_loadLogFiles __cb,
                                       java.lang.String rootType,
                                       java.util.List<java.lang.Long> ids,
                                       Ice.Current __current)
                                throws ServerError
        Description copied from interface: _IMetadataOperations
        Finds the original file IDs for the import logs corresponding to the given Image or Fileset IDs.
        Specified by:
        loadLogFiles_async in interface _IMetadataOperations
        Parameters:
        __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.
        Throws:
        ServerError
      • map

        protected void map​(java.util.List<java.lang.String> annotationTypes)
                    throws ServerError
        Throws:
        ServerError
      • map

        protected java.lang.String map​(java.lang.String annotationType)
                                throws ServerError
        Throws:
        ServerError