|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchFilter
To be used for querying external repositories e.g. UserManager.getUnregisteredUsers(String)
,
GroupManager.getUnregisteredGroups(String)
. Default behavior is having ALL custom predicate i.e. wildcard
"*".
Nested Class Summary | |
---|---|
static class |
SearchFilter.LogicalOperation
Supported logical operations between predicates. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
-
java.lang.UnsupportedOperationException
- If the currently effective external repository does not support custom
predicate.void addPredicate(AbstractPredicate predicate)
predicate
-
java.lang.UnsupportedOperationException
- If the currently effective external repository does not support predicates.SearchFilter.LogicalOperation getLogicalOperation()
void setLogicalOperation(SearchFilter.LogicalOperation logicalOperation)
logicalOperation
- SearchFilter.LogicalOperation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |