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.PersonFinderwithMembershipOf(Group group)Restrict the finder to just users that are members of the given groupPersonService.PersonFinderwithUserKey(com.atlassian.sal.api.user.UserKey userKey)Restrict the finder to just the user with the given userKeyPersonService.SinglePersonFetcherwithUsername(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.PersonFinderRestrict the finder to just the user with the given userKey- Specified by:
withUserKeyin interfacePersonService.PersonFinder- Returns:
- this
-
withUsername
public PersonService.SinglePersonFetcher withUsername(String username)
Description copied from interface:PersonService.PersonFinderRestrict the finder to just user with the given username- Specified by:
withUsernamein interfacePersonService.PersonFinder- Returns:
- this
-
withMembershipOf
public PersonService.PersonFinder withMembershipOf(Group group)
Description copied from interface:PersonService.PersonFinderRestrict the finder to just users that are members of the given group- Specified by:
withMembershipOfin interfacePersonService.PersonFinder- Returns:
- this
-
-