public interface UserDirectoryQuery extends SearchQuery
| Modifier and Type | Method and Description |
|---|---|
UserDirectoryQuery |
exhaustive()
Sets the query to search through all available directories,
rather than stopping with the first directory to contain a match.
|
UserDirectoryQuery |
forceUpdate()
Instructs the query to update the back-end views before performing
the search.
|
UserDirectoryQuery |
items(Collection<String> items)
Specifies the items to extract from found directory entries.
|
default UserDirectoryQuery |
items(String... items)
Specifies the items to extract from found directory entries.
|
UserDirectoryQuery |
names(Collection<String> names)
Specifies the names to look up.
|
default UserDirectoryQuery |
names(String... names)
Specifies the names to look up.
|
UserDirectoryQuery |
namespaces(Collection<String> namespaces)
Instructs the query to search the provided namespaces, which in practice
correspond to Domino view names.
|
default UserDirectoryQuery |
namespaces(String... namespaces)
Instructs the query to search the provided namespaces, which in practice
correspond to Domino view names.
|
Stream<List<Map<String,List<Object>>>> |
stream()
Executes and retrieves a stream of results from the query.
|
UserDirectoryQuery exhaustive()
UserDirectoryQuery forceUpdate()
UserDirectoryQuery namespaces(Collection<String> namespaces)
If specified, this must be non-null and non-empty.
namespaces - a Collection of namespace names to searchdefault UserDirectoryQuery namespaces(String... namespaces)
namespaces - the namespaces names to searchUserDirectoryQuery names(Collection<String> names)
names - a Collection of string names to look updefault UserDirectoryQuery names(String... names)
names - the names to look upUserDirectoryQuery items(Collection<String> items)
This must be specified before a call to stream()
items - a Collection of item namesdefault UserDirectoryQuery items(String... items)
This must be specified before a call to stream()
items - a Collection of item namesStream<List<Map<String,List<Object>>>> stream()
The result stream will contain one entry per queried name per queried namespace. Each of those entries will contain a list of matches for the name+namespace pair.
Stream of List<Map<String, Object>> lookup results for this queryIllegalArgumentException - if items(Collection) has not been specified or if
either it or namespaces(Collection) is set to null or emptyCopyright © 2019–2021 HCL. All rights reserved.