Package com.webmethods.bpm.process
Class BpmProcessSearchQuery
java.lang.Object
com.webmethods.bpm.process.BpmProcessSearchQuery
- All Implemented Interfaces:
Serializable
Search Query for BPM Processes
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorConstructor from search query -
Method Summary
Modifier and TypeMethodDescriptionAdds a terms to the queryvoid
Remove all termsint
Returns max results for this querygetTerms()
Returns all terms in this queryboolean
Removes given term from the search queryboolean
removeTerm
(String fieldName) Removes a term for given field namevoid
setMaxResults
(int maxResults) Sets max results for this query
-
Constructor Details
-
BpmProcessSearchQuery
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
Adds a terms to the query- Parameters:
field
- what field to search on. SeeBpmProcessSearchQueryTerm
for list of available fieldsoperator
- what search operator to use. SeeBpmProcessSearchQueryTerm
for list of available operatorsvalue
- what value to search on- Returns:
- search term object
-
getTerms
Returns all terms in this query -
removeTerm
Removes given term from the search query- Parameters:
term
- term to remove- Returns:
- true if term was removed
-
removeTerm
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
-