public class RoleCategorySearchQuery extends BaseSearchQuery
Modifier and Type | Class and Description |
---|---|
static class |
RoleCategorySearchQuery.SEARCH_PROPERTY
Criterias to search a role category By
|
SearchQuery.MATCHER
Constructor and Description |
---|
RoleCategorySearchQuery()
Deprecated.
No replacement.
|
RoleCategorySearchQuery(java.util.List<RoleCategorySearchQuery> childQueries, boolean negation, boolean isORMatch)
Constructor for complex queries.
|
RoleCategorySearchQuery(RoleCategorySearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER matcher)
Construct a simple query.
|
Modifier and Type | Method and Description |
---|---|
void |
addQuery(RoleCategorySearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER match)
Add a RoleCategorySearchQuery to this RoleCategorySearchQuery.
|
void |
addQuery(RoleCategorySearchQuery query)
Add a preconfigured RoleCategorySearchQuery
|
RoleCategorySearchQuery.SEARCH_PROPERTY |
getSearchByProperty()
Get the search property to use in the search.
|
RoleCategorySearchQuery[] |
getSearchQueryInOrder()
Get all added queries in the order they were added.
|
getBaseSearchQueryInOrder, getComparator, getEntityType, getQueries, toString
addBaseQuery, getSearchByPropertyString, getSearchByValue, getSearchByValueObject, getSearchComparator, getSearchQueries, getSearchValueMatch, isANDMatch, isComplexQuery, isNegativeMatch, isORMatch
public RoleCategorySearchQuery()
public RoleCategorySearchQuery(java.util.List<RoleCategorySearchQuery> childQueries, boolean negation, boolean isORMatch)
childQueries
- list of child queriesnegation
- if true, the negation operator will be applied on all the result of the children queriesisORMatch
- if true, the OR operator will be applied on the result of the children queries.public RoleCategorySearchQuery(RoleCategorySearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER matcher)
property
- search property. See RoleCategorySearchQuery.SEARCH_PROPERTY
for list of valid values.negation
- true if the negation operator should be applied on the query.operator
- the comparator to use while constructing the query.value
- to search by.matcher
- to apply on the value while searching.public void addQuery(RoleCategorySearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER match)
property
- -- search propertynegation
- - negate the search?operator
- -- Type of comparisonvalue
- -- value to search formatch
- -- matching to be performed.public void addQuery(RoleCategorySearchQuery query)
query
- -- query to be added.public RoleCategorySearchQuery.SEARCH_PROPERTY getSearchByProperty()
public RoleCategorySearchQuery[] getSearchQueryInOrder()