Package omero.api

Class IQueryPrxHelper

    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • IQueryPrxHelper

        public IQueryPrxHelper()
    • Method Detail

      • find

        public IObject find​(java.lang.String klass,
                            long id)
                     throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        id - the entity's id
        Returns:
        an initialized entity or null if id doesn't exist.
        Throws:
        ServerError
      • find

        public IObject find​(java.lang.String klass,
                            long id,
                            java.util.Map<java.lang.String,​java.lang.String> __ctx)
                     throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        id - the entity's id
        __ctx - The Context map to send with the invocation.
        Returns:
        an initialized entity or null if id doesn't exist.
        Throws:
        ServerError
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        Returns:
        The asynchronous result object.
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id,
                                          java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id,
                                          Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id,
                                          java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                          Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id,
                                          Callback_IQuery_find __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_find

        public Ice.AsyncResult begin_find​(java.lang.String klass,
                                          long id,
                                          java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                          Callback_IQuery_find __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        begin_find in interface IQueryPrx
        Parameters:
        klass - klass the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_find

        public IObject end_find​(Ice.AsyncResult __iresult)
                         throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such objects exists, return a null.
        Specified by:
        end_find in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        an initialized entity or null if id doesn't exist.
        Throws:
        ServerError
      • findAll

        public java.util.List<IObject> findAll​(java.lang.String klass,
                                               Filter filter)
                                        throws ServerError
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        filter - filters the result set. Can be null.
        Returns:
        a collection if initialized entities or an empty List if none exist.
        Throws:
        ServerError
      • findAll

        public java.util.List<IObject> findAll​(java.lang.String klass,
                                               Filter filter,
                                               java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                        throws ServerError
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        Returns:
        a collection if initialized entities or an empty List if none exist.
        Throws:
        ServerError
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        Returns:
        The asynchronous result object.
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter,
                                             Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                             Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter,
                                             Callback_IQuery_findAll __cb)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAll

        public Ice.AsyncResult begin_findAll​(java.lang.String klass,
                                             Filter filter,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                             Callback_IQuery_findAll __cb)
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        begin_findAll in interface IQueryPrx
        Parameters:
        klass - entity type to be searched. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_findAll

        public java.util.List<IObject> end_findAll​(Ice.AsyncResult __iresult)
                                            throws ServerError
        Description copied from interface: IQueryPrx
        Looks up all entities that belong to this class and match filter.
        Specified by:
        end_findAll in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        a collection if initialized entities or an empty List if none exist.
        Throws:
        ServerError
      • findAllByExample

        public java.util.List<IObject> findAllByExample​(IObject example,
                                                        Filter filter)
                                                 throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        filter - filters the result set. Can be null.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • findAllByExample

        public java.util.List<IObject> findAllByExample​(IObject example,
                                                        Filter filter,
                                                        java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                                 throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        Returns:
        The asynchronous result object.
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter,
                                                      java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter,
                                                      Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter,
                                                      java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                      Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter,
                                                      Callback_IQuery_findAllByExample __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByExample

        public Ice.AsyncResult begin_findAllByExample​(IObject example,
                                                      Filter filter,
                                                      java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                      Callback_IQuery_findAllByExample __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findAllByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_findAllByExample

        public java.util.List<IObject> end_findAllByExample​(Ice.AsyncResult __iresult)
                                                     throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The returned entities will be limited by the Filter object. Note: findAllbyExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        end_findAllByExample in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • findAllByFullText

        public java.util.List<IObject> findAllByFullText​(java.lang.String klass,
                                                         java.lang.String query,
                                                         Parameters params)
                                                  throws ServerError
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        Returns:
        A list of loaded IObject instances. Never null.
        Throws:
        ServerError
      • findAllByFullText

        public java.util.List<IObject> findAllByFullText​(java.lang.String klass,
                                                         java.lang.String query,
                                                         Parameters params,
                                                         java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                                  throws ServerError
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __ctx - The Context map to send with the invocation.
        Returns:
        A list of loaded IObject instances. Never null.
        Throws:
        ServerError
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                       Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       Callback_IQuery_findAllByFullText __cb)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                       Callback_IQuery_findAllByFullText __cb)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByFullText

        public Ice.AsyncResult begin_findAllByFullText​(java.lang.String klass,
                                                       java.lang.String query,
                                                       Parameters params,
                                                       java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                       IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                       IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                       IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        begin_findAllByFullText in interface IQueryPrx
        Parameters:
        klass - A non-null class specification of which type should be searched.
        query - A non-null query string. An empty string will return no results.
        params - Currently the parameters themselves are unused. But the Parameters.theFilter can be used to limit the number of results returned (Filter.limit) or the user for who the results will be found (Filter.ownerId).
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • end_findAllByFullText

        public java.util.List<IObject> end_findAllByFullText​(Ice.AsyncResult __iresult)
                                                      throws ServerError
        Description copied from interface: IQueryPrx
        Executes a full text search based on Lucene. Each term in the query can also be prefixed by the name of the field to which is should be restricted. Examples:
        • owner:root AND annotation:someTag
        • file:xml AND name:*hoechst*
        For more information, see Query Parser Syntax The return values are first filtered by the security system.
        Specified by:
        end_findAllByFullText in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        A list of loaded IObject instances. Never null.
        Throws:
        ServerError
      • findAllByQuery

        public java.util.List<IObject> findAllByQuery​(java.lang.String query,
                                                      Parameters params)
                                               throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • findAllByQuery

        public java.util.List<IObject> findAllByQuery​(java.lang.String query,
                                                      Parameters params,
                                                      java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                               throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                    Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    Callback_IQuery_findAllByQuery __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                    Callback_IQuery_findAllByQuery __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb,
                                                    IceInternal.Functional_BoolCallback __sentCb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        __sentCb - The lambda sent callback.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                    IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • begin_findAllByQuery

        public Ice.AsyncResult begin_findAllByQuery​(java.lang.String query,
                                                    Parameters params,
                                                    java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                    IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                    IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb,
                                                    IceInternal.Functional_BoolCallback __sentCb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        begin_findAllByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute. Not null.
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        __sentCb - The lambda sent callback.
        Returns:
        The asynchronous result object.
      • end_findAllByQuery

        public java.util.List<IObject> end_findAllByQuery​(Ice.AsyncResult __iresult)
                                                   throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions. Queries can only return lists of IObject instances. This means all must be of the form:
         select this from SomeModelClass this ...
         
        though the alias this is unimportant. Do not try to return multiple classes in one call like:
         select this, that from SomeClass this, SomeOtherClass that ...
         
        nor to project values out of an object:
         select this.name from SomeClass this ...
         
        If a page is desired, add it to the query parameters.
        Specified by:
        end_findAllByQuery in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        Possibly empty List of IObject results.
        Throws:
        ServerError
      • findAllByString

        public java.util.List<IObject> findAllByString​(java.lang.String klass,
                                                       java.lang.String field,
                                                       java.lang.String value,
                                                       boolean caseSensitive,
                                                       Filter filter)
                                                throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        field - the name of the field, either as simple string or as public static final from the entity class, e.g. omero.model.Project.NAME. Not null.
        value - String used for search. Not null.
        caseSensitive - whether to use LIKE or ILIKE
        filter - filters the result set. Can be null.
        Returns:
        A list (possibly empty) with the results.
        Throws:
        ServerError
      • findAllByString

        public java.util.List<IObject> findAllByString​(java.lang.String klass,
                                                       java.lang.String field,
                                                       java.lang.String value,
                                                       boolean caseSensitive,
                                                       Filter filter,
                                                       java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                                throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        field - the name of the field, either as simple string or as public static final from the entity class, e.g. omero.model.Project.NAME. Not null.
        value - String used for search. Not null.
        caseSensitive - whether to use LIKE or ILIKE
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        Returns:
        A list (possibly empty) with the results.
        Throws:
        ServerError
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                     Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     Callback_IQuery_findAllByString __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                     Callback_IQuery_findAllByString __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findAllByString

        public Ice.AsyncResult begin_findAllByString​(java.lang.String klass,
                                                     java.lang.String field,
                                                     java.lang.String value,
                                                     boolean caseSensitive,
                                                     Filter filter,
                                                     java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                     IceInternal.Functional_GenericCallback1<java.util.List<IObject>> __responseCb,
                                                     IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                     IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        begin_findAllByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched. Not null.
        value - String used for search. Not null.
        filter - filters the result set. Can be null.
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • end_findAllByString

        public java.util.List<IObject> end_findAllByString​(Ice.AsyncResult __iresult)
                                                    throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method allows for case sensitive or insensitive searching using the (I)LIKE comparators. Result set will be reduced by the Filter instance.
        Specified by:
        end_findAllByString in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        A list (possibly empty) with the results.
        Throws:
        ServerError
      • findByExample

        public IObject findByExample​(IObject example)
                              throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • findByExample

        public IObject findByExample​(IObject example,
                                     java.util.Map<java.lang.String,​java.lang.String> __ctx)
                              throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        Returns:
        The asynchronous result object.
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example,
                                                   java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example,
                                                   Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example,
                                                   java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                   Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example,
                                                   Callback_IQuery_findByExample __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByExample

        public Ice.AsyncResult begin_findByExample​(IObject example,
                                                   java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                   Callback_IQuery_findByExample __cb)
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        begin_findByExample in interface IQueryPrx
        Parameters:
        example - Non-null example object.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_findByExample

        public IObject end_findByExample​(Ice.AsyncResult __iresult)
                                  throws ServerError
        Description copied from interface: IQueryPrx
        Searches based on provided example entity. The example entity should uniquely specify the entity or an exception will be thrown. Note: findByExample does not operate on the id field. For that, use find, get, findByQuery, or findAllByQuery.
        Specified by:
        end_findByExample in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • findByQuery

        public IObject findByQuery​(java.lang.String query,
                                   Parameters params)
                            throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • findByQuery

        public IObject findByQuery​(java.lang.String query,
                                   Parameters params,
                                   java.util.Map<java.lang.String,​java.lang.String> __ctx)
                            throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __ctx - The Context map to send with the invocation.
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        Returns:
        The asynchronous result object.
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params,
                                                 java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params,
                                                 Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params,
                                                 java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                 Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params,
                                                 Callback_IQuery_findByQuery __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByQuery

        public Ice.AsyncResult begin_findByQuery​(java.lang.String query,
                                                 Parameters params,
                                                 java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                 Callback_IQuery_findByQuery __cb)
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        begin_findByQuery in interface IQueryPrx
        Parameters:
        query - Query to execute
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_findByQuery

        public IObject end_findByQuery​(Ice.AsyncResult __iresult)
                                throws ServerError
        Description copied from interface: IQueryPrx
        Executes the stored query with the given name. If a query with the name cannot be found, an exception will be thrown. The queryName parameter can be an actual query String if the StringQuerySource is configured on the server and the user running the query has proper permissions.
        Specified by:
        end_findByQuery in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        Possibly null IObject result.
        Throws:
        ServerError
      • findByString

        public IObject findByString​(java.lang.String klass,
                                    java.lang.String field,
                                    java.lang.String value)
                             throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        field - the name of the field, either as simple string or as public static final from the entity class, e.g. omero.model.Project.NAME
        value - String used for search.
        Returns:
        found entity or possibly null.
        Throws:
        ServerError
      • findByString

        public IObject findByString​(java.lang.String klass,
                                    java.lang.String field,
                                    java.lang.String value,
                                    java.util.Map<java.lang.String,​java.lang.String> __ctx)
                             throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        field - the name of the field, either as simple string or as public static final from the entity class, e.g. omero.model.Project.NAME
        value - String used for search.
        __ctx - The Context map to send with the invocation.
        Returns:
        found entity or possibly null.
        Throws:
        ServerError
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                  Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  Callback_IQuery_findByString __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                  Callback_IQuery_findByString __cb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_findByString

        public Ice.AsyncResult begin_findByString​(java.lang.String klass,
                                                  java.lang.String field,
                                                  java.lang.String value,
                                                  java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                  IceInternal.Functional_GenericCallback1<IObject> __responseCb,
                                                  IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                  IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        begin_findByString in interface IQueryPrx
        Parameters:
        klass - type of entity to be searched
        value - String used for search.
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • end_findByString

        public IObject end_findByString​(Ice.AsyncResult __iresult)
                                 throws ServerError
        Description copied from interface: IQueryPrx
        Searches a given field matching against a String. Method does not allow for case sensitive or insensitive searching since this is essentially a lookup. The existence of more than one result will result in an exception.
        Specified by:
        end_findByString in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        found entity or possibly null.
        Throws:
        ServerError
      • get

        public IObject get​(java.lang.String klass,
                           long id)
                    throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        id - the entity's id
        Returns:
        an initialized entity
        Throws:
        ServerError
      • get

        public IObject get​(java.lang.String klass,
                           long id,
                           java.util.Map<java.lang.String,​java.lang.String> __ctx)
                    throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        id - the entity's id
        __ctx - The Context map to send with the invocation.
        Returns:
        an initialized entity
        Throws:
        ServerError
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        Returns:
        The asynchronous result object.
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id,
                                         java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id,
                                         Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id,
                                         java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                         Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id,
                                         Callback_IQuery_get __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_get

        public Ice.AsyncResult begin_get​(java.lang.String klass,
                                         long id,
                                         java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                         Callback_IQuery_get __cb)
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        begin_get in interface IQueryPrx
        Parameters:
        klass - the type of the entity. Not null.
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_get

        public IObject end_get​(Ice.AsyncResult __iresult)
                        throws ServerError
        Description copied from interface: IQueryPrx
        Looks up an entity by class and id. If no such object exists, an exception will be thrown.
        Specified by:
        end_get in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        an initialized entity
        Throws:
        ServerError
      • projection

        public java.util.List<java.util.List<RType>> projection​(java.lang.String query,
                                                                Parameters params)
                                                         throws ServerError
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
        
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
        
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        projection in interface IQueryPrx
        Throws:
        ServerError
      • projection

        public java.util.List<java.util.List<RType>> projection​(java.lang.String query,
                                                                Parameters params,
                                                                java.util.Map<java.lang.String,​java.lang.String> __ctx)
                                                         throws ServerError
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
        
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
        
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        Throws:
        ServerError
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                Callback_IQuery_projection __cb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                Callback_IQuery_projection __cb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                IceInternal.Functional_GenericCallback1<java.util.List<java.util.List<RType>>> __responseCb,
                                                IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                IceInternal.Functional_GenericCallback1<java.util.List<java.util.List<RType>>> __responseCb,
                                                IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb,
                                                IceInternal.Functional_BoolCallback __sentCb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        __sentCb - The lambda sent callback.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                IceInternal.Functional_GenericCallback1<java.util.List<java.util.List<RType>>> __responseCb,
                                                IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        Returns:
        The asynchronous result object.
      • begin_projection

        public Ice.AsyncResult begin_projection​(java.lang.String query,
                                                Parameters params,
                                                java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                                IceInternal.Functional_GenericCallback1<java.util.List<java.util.List<RType>>> __responseCb,
                                                IceInternal.Functional_GenericCallback1<Ice.UserException> __userExceptionCb,
                                                IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb,
                                                IceInternal.Functional_BoolCallback __sentCb)
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        begin_projection in interface IQueryPrx
        __ctx - The Context map to send with the invocation.
        __responseCb - The lambda response callback.
        __userExceptionCb - The lambda user exception callback.
        __exceptionCb - The lambda exception callback.
        __sentCb - The lambda sent callback.
        Returns:
        The asynchronous result object.
      • end_projection

        public java.util.List<java.util.List<RType>> end_projection​(Ice.AsyncResult __iresult)
                                                             throws ServerError
        Description copied from interface: IQueryPrx
        Return a sequence of RType sequences.

        Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

        IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

        • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
        • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

        As with SQL, if an aggregation statement is used, a group by clause must be added.

        Examples:

         select i.name, i.description from Image i where i.name like '%.dv'
         
         select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
         
         select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
         

        Specified by:
        end_projection in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Throws:
        ServerError
      • refresh

        public IObject refresh​(IObject iObject)
                        throws ServerError
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        Returns:
        a similar IObject graph (with possible additions and deletions) which is in-sync with the database.
        Throws:
        ServerError
      • refresh

        public IObject refresh​(IObject iObject,
                               java.util.Map<java.lang.String,​java.lang.String> __ctx)
                        throws ServerError
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __ctx - The Context map to send with the invocation.
        Returns:
        a similar IObject graph (with possible additions and deletions) which is in-sync with the database.
        Throws:
        ServerError
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        Returns:
        The asynchronous result object.
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __ctx - The Context map to send with the invocation.
        Returns:
        The asynchronous result object.
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject,
                                             Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                             Ice.Callback __cb)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject,
                                             Callback_IQuery_refresh __cb)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • begin_refresh

        public Ice.AsyncResult begin_refresh​(IObject iObject,
                                             java.util.Map<java.lang.String,​java.lang.String> __ctx,
                                             Callback_IQuery_refresh __cb)
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        begin_refresh in interface IQueryPrx
        Parameters:
        iObject - Non-null managed IObject graph which should have all values re-assigned from the database
        __ctx - The Context map to send with the invocation.
        __cb - The asynchronous callback object.
        Returns:
        The asynchronous result object.
      • end_refresh

        public IObject end_refresh​(Ice.AsyncResult __iresult)
                            throws ServerError
        Description copied from interface: IQueryPrx
        Refreshes an entire IObject graph, recursive loading all data for the managed instances in the graph from the database. If any non-managed entities are detected (e.g. without ids), an ApiUsageException will be thrown.
        Specified by:
        end_refresh in interface IQueryPrx
        Parameters:
        __iresult - The asynchronous result object.
        Returns:
        a similar IObject graph (with possible additions and deletions) which is in-sync with the database.
        Throws:
        ServerError
      • checkedCast

        public static IQueryPrx checkedCast​(Ice.ObjectPrx __obj)
        Contacts the remote server to verify that the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static IQueryPrx checkedCast​(Ice.ObjectPrx __obj,
                                            java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Contacts the remote server to verify that the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __ctx - The Context map to send with the invocation.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static IQueryPrx checkedCast​(Ice.ObjectPrx __obj,
                                            java.lang.String __facet)
        Contacts the remote server to verify that a facet of the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • checkedCast

        public static IQueryPrx checkedCast​(Ice.ObjectPrx __obj,
                                            java.lang.String __facet,
                                            java.util.Map<java.lang.String,​java.lang.String> __ctx)
        Contacts the remote server to verify that a facet of the object implements this type. Raises a local exception if a communication error occurs.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        __ctx - The Context map to send with the invocation.
        Returns:
        A proxy for this type, or null if the object does not support this type.
      • uncheckedCast

        public static IQueryPrx uncheckedCast​(Ice.ObjectPrx __obj)
        Downcasts the given proxy to this type without contacting the remote server.
        Parameters:
        __obj - The untyped proxy.
        Returns:
        A proxy for this type.
      • uncheckedCast

        public static IQueryPrx uncheckedCast​(Ice.ObjectPrx __obj,
                                              java.lang.String __facet)
        Downcasts the given proxy to this type without contacting the remote server.
        Parameters:
        __obj - The untyped proxy.
        __facet - The name of the desired facet.
        Returns:
        A proxy for this type.
      • ice_staticId

        public static java.lang.String ice_staticId()
        Provides the Slice type ID of this type.
        Returns:
        The Slice type ID.