Package omero.api

Class Callback_Search_or

  • All Implemented Interfaces:
    Ice.TwowayCallback, Ice.TwowayCallbackVoidUE

    public abstract class Callback_Search_or
    extends IceInternal.TwowayCallback
    implements Ice.TwowayCallbackVoidUE
    Applies the next by* method to the previous by* method, so that a call hasNext, next or results sees only the union of the two calls. For example,
     
     service.onlyType(Image.class);
     service.byFullText("foo");
     service.or();
     service.onlyType(Dataset.class);
     service.byFullText("foo");
     
     
    will return both Images and Datasets together. Calling this method overrides a previous setting of and or not. If there is no active queries (i.e. activeQueries > 0), then an ApiUsageException will be thrown.
    • Constructor Detail

      • Callback_Search_or

        public Callback_Search_or()