public class BpmProcessSearchQuery extends Object implements Serializable
Constructor and Description |
---|
BpmProcessSearchQuery()
Default constructor
|
BpmProcessSearchQuery(BpmProcessSearchQuery query)
Constructor from search query
|
Modifier and Type | Method and Description |
---|---|
BpmProcessSearchQueryTerm |
addTerm(String field,
String operator,
Object value)
Adds a terms to the query
|
void |
clearTerms()
Remove all terms
|
int |
getMaxResults()
Returns max results for this query
|
BpmProcessSearchQueryTerm[] |
getTerms()
Returns all terms in this query
|
boolean |
removeTerm(BpmProcessSearchQueryTerm term)
Removes given term from the search query
|
boolean |
removeTerm(String fieldName)
Removes a term for given field name
|
void |
setMaxResults(int maxResults)
Sets max results for this query
|
public BpmProcessSearchQuery(BpmProcessSearchQuery query)
public BpmProcessSearchQuery()
public int getMaxResults()
public void setMaxResults(int maxResults)
public BpmProcessSearchQueryTerm addTerm(String field, String operator, Object value)
field
- what field to search on. See BpmProcessSearchQueryTerm
for list of available fieldsoperator
- what search operator to use. See BpmProcessSearchQueryTerm
for list of available operatorsvalue
- what value to search onpublic BpmProcessSearchQueryTerm[] getTerms()
public boolean removeTerm(BpmProcessSearchQueryTerm term)
term
- term to removepublic boolean removeTerm(String fieldName)
fieldName
- field name to removepublic void clearTerms()