Interface PersonService.PersonFinder
- All Superinterfaces:
ManyFetcher<Person>,PersonService.SinglePersonFetcher,SingleFetcher<Person>
- All Known Implementing Classes:
NoopPersonFinder,PersonServiceImpl.PersonFinderImpl
- Enclosing interface:
PersonService
public static interface PersonService.PersonFinder
extends PersonService.SinglePersonFetcher, ManyFetcher<Person>
A finder for locating persons.
-
Method Summary
Modifier and TypeMethodDescriptionwithMembershipOf(Group group) Restrict the finder to just users that are members of the given groupwithUserKey(com.atlassian.sal.api.user.UserKey userKey) Restrict the finder to just the user with the given userKeywithUsername(String username) Restrict the finder to just user with the given usernameMethods inherited from interface com.atlassian.confluence.api.service.finder.ManyFetcher
fetchManyMethods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOneOrNull, fetchOrNull
-
Method Details
-
withUserKey
Restrict the finder to just the user with the given userKey- Returns:
- this
-
withUsername
Restrict the finder to just user with the given username- Returns:
- this
-
withMembershipOf
Restrict the finder to just users that are members of the given group- Returns:
- this
-