public interface SearchFilter
UserManager.getUnregisteredUsers(String)
,
GroupManager.getUnregisteredGroups(String)
. Default behavior is having ALL custom predicate i.e. wild-card
"*".Modifier and Type | Interface and Description |
---|---|
static class |
SearchFilter.LogicalOperation
Supported logical operations between predicates.
|
Modifier and Type | Method and Description |
---|---|
void |
addPredicate(AbstractPredicate predicate)
Used to define searches over supported external repository properties.
|
SearchFilter.LogicalOperation |
getLogicalOperation()
Get the currently effective logical operation to be used between the defined complex predicates.
|
void |
setCustomPredicate(java.lang.String customPredicate)
Used to define custom unstructured searches e.g.
|
void |
setLogicalOperation(SearchFilter.LogicalOperation logicalOperation)
Set the logical operation to be used between the defined complex predicates.
|
java.lang.String |
toStringFilter()
Perform the actual parsing of this SearchFilter.
|
java.lang.String toStringFilter() throws java.text.ParseException
UserManager.getUnregisteredUsers(String)
, GroupManager.getUnregisteredGroups(String)
java.text.ParseException
- If this SearchFilter encounters problems during parsing of its predicates.void setCustomPredicate(java.lang.String customPredicate)
customPredicate
- The custom predicate for the searchjava.lang.UnsupportedOperationException
- If the currently effective external repository does not support custom
predicate.void addPredicate(AbstractPredicate predicate)
predicate
- The AbstractPredicate
for the searchjava.lang.UnsupportedOperationException
- If the currently effective external repository does not support predicates.SearchFilter.LogicalOperation getLogicalOperation()
SearchFilter.LogicalOperation
that would be effective for the search filtervoid setLogicalOperation(SearchFilter.LogicalOperation logicalOperation)
logicalOperation
- SearchFilter.LogicalOperation
to be set