• Uses of VWQueueQuery in filenet.vw.api

      Subclasses of VWQueueQuery in filenet.vw.api 
      Modifier and Type Class and Description
      class  VWWorkBasket
      Use this class to retrieve information about a workbasket, its columns, filters, or query results.
      Methods in filenet.vw.api that return VWQueueQuery 
      Modifier and Type Method and Description
      VWQueueQuery VWQueue.createQuery(java.lang.String indexName, java.lang.Object[] firstValues, java.lang.Object[] lastValues, int queryFlags, java.lang.String filter, java.lang.Object[] substitutionVars, int fetchType)
      Performs a filtered fetch of queue items.
      VWQueueQuery VWQueue.startQuery(java.lang.String indexName, java.lang.Object[] minValues, java.lang.Object[] maxValues, int queryFlags, java.lang.String filter, java.lang.Object[] substitutionVars)
      Deprecated. 
      Replaced by createQuery.

      Note: Differences between the use of createQuery() and the deprecated startQuery() method include the following:

      • createQuery() uses a fetchType input parameter.
      • createQuery()'s resultant query object uses iterator methods VWQueueQuery.next() and VWQueueQuery.hasNext(), emulating the Collection Model in Java 2.
      • Warning You cannot use iterator methods next() or hasNext() on a VWQueueQuery object instantiated by the deprecated startQuery() method--the iterator methods throw an exception if you do.
      The search conditions you specify in the parameters of this method cause the retrieval of queue items based on a filter condition and a range in a search index.

      Use the following to limit your search:

      • Logical AND for the minimum and maximum search index values (minValue and maxValue).
      • Search options (queryFlags).
      • Filters with substitution variables (substitutionVars).

      For this method to successfully return a VWQueueQuery object, a queue item must match all fetch criteria specified by the input parameters.

© Copyright IBM Corporation 2002, 2019. All rights reserved.