Package omero.api

Interface _ITypesOperations

    • Method Detail

      • getEnumeration_async

        void getEnumeration_async​(AMD_ITypes_getEnumeration __cb,
                                  java.lang.String type,
                                  java.lang.String value,
                                  Ice.Current __current)
                           throws ServerError
        Lookup an enumeration value. As with the get-methods of IQuery queries returning no results will through an exception.
        Parameters:
        __cb - The callback object for the operation.
        type - An enumeration class which should be searched.
        __current - The Current object for the invocation.
        Throws:
        ApiUsageException - if IEnum is not found.
        ServerError
      • updateEnumeration_async

        void updateEnumeration_async​(AMD_ITypes_updateEnumeration __cb,
                                     IObject oldEnum,
                                     Ice.Current __current)
                              throws ServerError
        Updates enumeration value specified by object.
        Parameters:
        __cb - The callback object for the operation.
        oldEnum - An enumeration object which should be searched.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • updateEnumerations_async

        void updateEnumerations_async​(AMD_ITypes_updateEnumerations __cb,
                                      java.util.List<IObject> oldEnums,
                                      Ice.Current __current)
                               throws ServerError
        Updates enumeration value specified by object.
        Parameters:
        __cb - The callback object for the operation.
        oldEnums - An enumeration collection of objects which should be searched.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • deleteEnumeration_async

        void deleteEnumeration_async​(AMD_ITypes_deleteEnumeration __cb,
                                     IObject oldEnum,
                                     Ice.Current __current)
                              throws ServerError
        Deletes enumeration value specified by object.
        Parameters:
        __cb - The callback object for the operation.
        oldEnum - An enumeration object which should be searched.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getEnumerationTypes_async

        void getEnumerationTypes_async​(AMD_ITypes_getEnumerationTypes __cb,
                                       Ice.Current __current)
                                throws ServerError
        Gets all metadata classes which are IEnum type.
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        java.lang.RuntimeException - if Class not found.
        ServerError
      • getAnnotationTypes_async

        void getAnnotationTypes_async​(AMD_ITypes_getAnnotationTypes __cb,
                                      Ice.Current __current)
                               throws ServerError
        Returns a list of classes which implement IAnnotated. These can be used in combination with Search.
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        ServerError
      • getEnumerationsWithEntries_async

        void getEnumerationsWithEntries_async​(AMD_ITypes_getEnumerationsWithEntries __cb,
                                              Ice.Current __current)
                                       throws ServerError
        Gets all metadata classes which are IEnum type with contained objects.
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        java.lang.RuntimeException - if xml parsing failure.
        ServerError
      • getOriginalEnumerations_async

        void getOriginalEnumerations_async​(AMD_ITypes_getOriginalEnumerations __cb,
                                           Ice.Current __current)
                                    throws ServerError
        Gets all original values.
        Parameters:
        __cb - The callback object for the operation.
        __current - The Current object for the invocation.
        Throws:
        java.lang.RuntimeException - if xml parsing failure.
        ServerError