Class NoopPersonFinder
java.lang.Object
com.atlassian.confluence.impl.service.finder.NoopFetcher<Person>
com.atlassian.confluence.impl.service.finder.people.NoopPersonFinder
- All Implemented Interfaces:
ManyFetcher<Person>
,SingleFetcher<Person>
,PersonService.PersonFinder
,PersonService.SinglePersonFetcher
- Since:
- 6.13.6, 6.14.4, 6.15.4
-
Constructor Summary
Constructors -
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 class com.atlassian.confluence.impl.service.finder.NoopFetcher
fetch, fetchMany
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.api.service.finder.ManyFetcher
fetchMany
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOneOrNull, fetchOrNull
-
Constructor Details
-
NoopPersonFinder
public NoopPersonFinder()
-
-
Method Details
-
withUserKey
Description copied from interface:PersonService.PersonFinder
Restrict the finder to just the user with the given userKey- Specified by:
withUserKey
in interfacePersonService.PersonFinder
- Returns:
- this
-
withUsername
Description copied from interface:PersonService.PersonFinder
Restrict the finder to just user with the given username- Specified by:
withUsername
in interfacePersonService.PersonFinder
- Returns:
- this
-
withMembershipOf
Description copied from interface:PersonService.PersonFinder
Restrict the finder to just users that are members of the given group- Specified by:
withMembershipOf
in interfacePersonService.PersonFinder
- Returns:
- this
-