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
public class NoopPersonFinder extends NoopFetcher<Person> implements PersonService.PersonFinder
- Since:
- 6.13.6, 6.14.4, 6.15.4
-
-
Constructor Summary
Constructors Constructor Description NoopPersonFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonService.PersonFinder
withMembershipOf(Group group)
Restrict the finder to just users that are members of the given groupPersonService.PersonFinder
withUserKey(com.atlassian.sal.api.user.UserKey userKey)
Restrict the finder to just the user with the given userKeyPersonService.SinglePersonFetcher
withUsername(String username)
Restrict the finder to just user with the given username-
Methods inherited from class com.atlassian.confluence.impl.service.finder.NoopFetcher
fetch, fetchMany, fetchOneOrNull
-
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, fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
withUserKey
public PersonService.PersonFinder withUserKey(com.atlassian.sal.api.user.UserKey userKey)
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
public PersonService.SinglePersonFetcher withUsername(String username)
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
public PersonService.PersonFinder withMembershipOf(Group group)
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
-
-