Class PersonServiceImpl.PersonFinderImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder<Person>
com.atlassian.confluence.api.impl.service.people.PersonServiceImpl.PersonFinderImpl
- All Implemented Interfaces:
- ManyFetcher<Person>,- SingleFetcher<Person>,- PersonService.PersonFinder,- PersonService.SinglePersonFetcher
- Enclosing class:
- PersonServiceImpl
public class PersonServiceImpl.PersonFinderImpl
extends AbstractFinder<Person>
implements PersonService.PersonFinder
- 
Field SummaryFields inherited from class com.atlassian.confluence.api.impl.service.content.finder.AbstractFinderexpansions
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfetch()fetchMany(PageRequest request) withMembershipOf(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.api.impl.service.content.finder.AbstractFindergetExpansionsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcherfetchOneOrNull, fetchOrNull
- 
Constructor Details- 
PersonFinderImpl
 
- 
- 
Method Details- 
withUserKeyDescription copied from interface:PersonService.PersonFinderRestrict the finder to just the user with the given userKey- Specified by:
- withUserKeyin interface- PersonService.PersonFinder
- Returns:
- this
 
- 
withUsernameDescription copied from interface:PersonService.PersonFinderRestrict the finder to just user with the given username- Specified by:
- withUsernamein interface- PersonService.PersonFinder
- Returns:
- this
 
- 
withMembershipOfDescription copied from interface:PersonService.PersonFinderRestrict the finder to just users that are members of the given group- Specified by:
- withMembershipOfin interface- PersonService.PersonFinder
- Returns:
- this
 
- 
fetchMany- Specified by:
- fetchManyin interface- ManyFetcher<Person>
- Parameters:
- request- - a pageRequest to use to paginate the response, this will be limited if it exceeds system limits
- Returns:
- a pageResponse of given type that matches the given restrictions
 
- 
fetch- Specified by:
- fetchin interface- SingleFetcher<Person>
 
 
-