Class BpmProcessSearchQuery

java.lang.Object
com.webmethods.bpm.process.BpmProcessSearchQuery
All Implemented Interfaces:
Serializable

public class BpmProcessSearchQuery extends Object implements Serializable
Search Query for BPM Processes
See Also:
  • Constructor Details

    • BpmProcessSearchQuery

      public BpmProcessSearchQuery(BpmProcessSearchQuery query)
      Constructor from search query
    • BpmProcessSearchQuery

      public BpmProcessSearchQuery()
      Default constructor
  • Method Details

    • getMaxResults

      public int getMaxResults()
      Returns max results for this query
    • setMaxResults

      public void setMaxResults(int maxResults)
      Sets max results for this query
    • addTerm

      public BpmProcessSearchQueryTerm addTerm(String field, String operator, Object value)
      Adds a terms to the query
      Parameters:
      field - what field to search on. See BpmProcessSearchQueryTerm for list of available fields
      operator - what search operator to use. See BpmProcessSearchQueryTerm for list of available operators
      value - what value to search on
      Returns:
      search term object
    • getTerms

      public BpmProcessSearchQueryTerm[] getTerms()
      Returns all terms in this query
    • removeTerm

      public boolean removeTerm(BpmProcessSearchQueryTerm term)
      Removes given term from the search query
      Parameters:
      term - term to remove
      Returns:
      true if term was removed
    • removeTerm

      public boolean removeTerm(String fieldName)
      Removes a term for given field name
      Parameters:
      fieldName - field name to remove
      Returns:
      true if term was removed
    • clearTerms

      public void clearTerms()
      Remove all terms