Uses of Class
com.atlassian.confluence.api.model.people.Person
Packages that use Person
Package
Description
SPI for implementing pluggable permission and validation checks, for use with
OperationService
.This package contains the code which communicates with Confluence via REST API.
-
Uses of Person in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory that return PersonModifier and TypeMethodDescription@NonNull Person
PersonFactory.forCurrentUser()
@NonNull Person
PersonFactory.forCurrentUser
(Expansions expansions) Construct the person object for the current user.PersonFactory.forUser
(ConfluenceUser user) PersonFactory.forUser
(ConfluenceUser user, Expansions expansions) Construct the person object for a particular user.PersonFactory.forUser
(ConfluenceUser user, Expansions expansions, boolean profilePictureIncludedByDefault) Construct the person object for a particular user.PersonFactory.forUserKey
(String userKey, Expansions expansions) Construct the person object for a particular userKey.PersonFactory.forUserKeyWithoutProfile
(String userKey) Find a person by user keyPersonFactory.forUserKeyWithoutProfile
(String userKey, Expansions expansions) Find a person by user keyPersonFactory.forUsername
(String username) Construct the person object for a particular username.PersonFactory.forUsernameWithoutProfile
(String username) Construct the person object for a particular username.PersonFactory.forUserWithLoginInfo
(ConfluenceUser user, Expansions expansions) -
Uses of Person in com.atlassian.confluence.api.impl.service.people
Methods in com.atlassian.confluence.api.impl.service.people that return PersonModifier and TypeMethodDescriptionPersonServiceImpl.getCurrentUser
(Expansion... expansions) ReadOnlyPersonService.getCurrentUser
(Expansion... expansions) Methods in com.atlassian.confluence.api.impl.service.people that return types with arguments of type PersonModifier and TypeMethodDescriptionPersonServiceImpl.PersonFinderImpl.fetch()
PersonServiceImpl.fetchActiveUsers
(PageRequest request) ReadOnlyPersonService.fetchActiveUsers
(PageRequest request) PersonServiceImpl.PersonFinderImpl.fetchMany
(PageRequest request) PersonServiceImpl.PersonSearcherImpl.fetchMany
(PageRequest request) Methods in com.atlassian.confluence.api.impl.service.people with parameters of type PersonModifier and TypeMethodDescription -
Uses of Person in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type PersonModifier and TypeMethodDescriptionfinal @NonNull ValidationResult
OperationServiceImpl.canPerform
(Person person, Operation operation, Target target) Checks if the given user is able to perform the specified operation on the specified target.final @NonNull Map<Target,
ValidationResult> OperationServiceImpl.canPerform
(Person person, Operation operation, Iterable<Target> targets) Checks if the given user is able to perform the specified operation on the specified targets.@NonNull ValidationResult
OperationServiceImpl.canPerformWithoutExemptions
(Person person, Operation operation, Target target) @NonNull Map<Target,
ValidationResult> OperationServiceImpl.canPerformWithoutExemptions
(Person person, Operation operation, Iterable<Target> targets) @NonNull List<OperationCheckResult>
OperationServiceImpl.getAvailableOperations
(Person person, Target target) -
Uses of Person in com.atlassian.confluence.api.model.content
Methods in com.atlassian.confluence.api.model.content that return PersonModifier and TypeMethodDescriptionVersion.getBy()
History.getCreatedBy()
Get the original creator of the first published non-draft version of the content.Space.getCreator()
Space.getLastModifier()
Methods in com.atlassian.confluence.api.model.content that return types with arguments of type PersonMethods in com.atlassian.confluence.api.model.content with parameters of type PersonMethod parameters in com.atlassian.confluence.api.model.content with type arguments of type PersonModifier and TypeMethodDescription -
Uses of Person in com.atlassian.confluence.api.model.people
Subclasses of Person in com.atlassian.confluence.api.model.peopleMethods in com.atlassian.confluence.api.model.people that return Person -
Uses of Person in com.atlassian.confluence.api.model.permissions.spi
Methods in com.atlassian.confluence.api.model.permissions.spi with parameters of type PersonModifier and TypeMethodDescriptionfinal @NonNull ValidationResult
BaseOperationCheck.canPerform
(Person person, Target target) final @NonNull Map<Target,
ValidationResult> BaseOperationCheck.canPerform
(Person person, Iterable<Target> targets) Validates targets are the correctTargetType
, then delegates toBaseOperationCheck.canPerformImpl(Person, java.lang.Iterable)
.@NonNull ValidationResult
OperationCheck.canPerform
(Person person, Target target) Check whether the specified Person can perform this operation on the specified target.@NonNull Map<Target,
ValidationResult> OperationCheck.canPerform
(Person person, Iterable<Target> targets) Check whether the specified Person can perform this operation on ALL of the specified targets.final @NonNull ValidationResult
BaseOperationCheck.canPerformAccordingToState
(Person person, Target target) final @NonNull Map<Target,
ValidationResult> BaseOperationCheck.canPerformAccordingToState
(Person person, Iterable<Target> targets) Validates targets are the correctTargetType
, then delegates toBaseOperationCheck.canPerformAccordingToStateImpl(Person, java.lang.Iterable)
.@NonNull ValidationResult
OperationCheck.canPerformAccordingToState
(Person person, Target target) Check whether the specified Person can perform this operation on the specified target based on its state.@NonNull Map<Target,
ValidationResult> OperationCheck.canPerformAccordingToState
(Person person, Iterable<Target> targets) Check whether the specified Person can perform this operation on each of the specified targets based on their state.protected abstract @NonNull Map<Target,
ValidationResult> BaseOperationCheck.canPerformAccordingToStateImpl
(@NonNull Person person, @NonNull Iterable<Target> targets) Subclass implements this to perform canPerformAccordingToState checks on a collection of targets.protected abstract @NonNull Map<Target,
ValidationResult> BaseOperationCheck.canPerformImpl
(@NonNull Person person, @NonNull Iterable<Target> targets) Subclass implements this to perform canPerform checks on a collection of targets. -
Uses of Person in com.atlassian.confluence.api.service.people
Methods in com.atlassian.confluence.api.service.people that return PersonModifier and TypeMethodDescriptionPersonService.getCurrentUser
(Expansion... expansions) Get the currently logged in userMethods in com.atlassian.confluence.api.service.people that return types with arguments of type PersonModifier and TypeMethodDescriptionPersonService.fetchActiveUsers
(PageRequest limitedRequest) Fetch a page of active users (users which count towards the license limit).Methods in com.atlassian.confluence.api.service.people with parameters of type PersonModifier and TypeMethodDescriptionDelete the given person.PersonService.Validator.validateDelete
(Person personToDelete) Validate that the current user has permissions to remove the given person -
Uses of Person in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions with parameters of type PersonModifier and TypeMethodDescription@NonNull ValidationResult
OperationService.canPerform
(Person person, Operation operation, Target target) Check whether a person can perform a particular operation on a particular target.@NonNull Map<Target,
ValidationResult> OperationService.canPerform
(Person person, Operation operation, Iterable<Target> targets) Check whether the specified Person can perform a particular operation on each of the specified targets.@NonNull ValidationResult
OperationService.canPerformWithoutExemptions
(Person person, Operation operation, Target target) Check whether a person can perform a particular operation on a particular target.@NonNull Map<Target,
ValidationResult> OperationService.canPerformWithoutExemptions
(Person person, Operation operation, Iterable<Target> targets) Check whether the specified Person can perform a particular operation on each of the specified targets.@NonNull List<OperationCheckResult>
OperationService.getAvailableOperations
(Person person, Target target) List all operations that a person can perform on a particular target. -
Uses of Person in com.atlassian.confluence.api.testsupport.matchers.model.content
Methods in com.atlassian.confluence.api.testsupport.matchers.model.content with parameters of type Person -
Uses of Person in com.atlassian.confluence.api.testsupport.matchers.model.permissions
Methods in com.atlassian.confluence.api.testsupport.matchers.model.permissions with parameters of type PersonModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<OperationCheck>
OperationCheckMatchers.isAuthorized
(Person person, Target target) static org.hamcrest.Matcher<OperationCheck>
OperationCheckMatchers.isForbidden
(Person person, Target target) static org.hamcrest.Matcher<OperationCheck>
OperationCheckMatchers.isInvalid
(Person person, Target target, Class<? extends ServiceException> expectedExceptionClass) static org.hamcrest.Matcher<OperationCheck>
OperationCheckMatchers.throwsException
(Person person, Target target, Class<? extends RuntimeException> expectedExceptionClass) -
Uses of Person in com.atlassian.confluence.api.testsupport.matchers.model.user
Methods in com.atlassian.confluence.api.testsupport.matchers.model.user that return types with arguments of type PersonModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<Person>
SubjectMatchers.userWithName
(String username) -
Uses of Person in com.atlassian.confluence.dmz.user
Methods in com.atlassian.confluence.dmz.user with parameters of type PersonModifier and TypeMethodDescription@Nullable ConfluenceUser
UserAccessorInternal.getExistingUserByPerson
(Person person) Retrieve the corresponding ConfluenceUser (if any) for a Person, by username, or user key -
Uses of Person in com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.model
Methods in com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.model that return PersonConstructors in com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.model with parameters of type PersonModifierConstructorDescriptionUserEventModel
(long journalEntryId, String type, String operation, Person user) -
Uses of Person in com.atlassian.confluence.plugins.restapi.experimental.resources
Methods in com.atlassian.confluence.plugins.restapi.experimental.resources that return PersonModifier and TypeMethodDescriptionExperimentalUserResource.getAnonymous()
Get information about the how anonymous is represented in confluenceExperimentalUserResource.getCurrent
(String expand) Get information about the current logged in user.ExperimentalUserResource.getUser
(com.atlassian.sal.api.user.UserKey key, String username, String expand) Get information about a user identified by either user key or username.Methods in com.atlassian.confluence.plugins.restapi.experimental.resources that return types with arguments of type PersonModifier and TypeMethodDescriptionExperimentalGroupResource.getMembers
(Group group, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) Get a paginated collection of users in the given group -
Uses of Person in com.atlassian.confluence.plugins.restapi.resources
Methods in com.atlassian.confluence.plugins.restapi.resources that return PersonModifier and TypeMethodDescriptionUserResource.getAnonymous()
UserResource.getCurrent
(String expand) UserResource.getUserGraph
(boolean current, String key, String username, String expand) Methods in com.atlassian.confluence.plugins.restapi.resources that return types with arguments of type PersonModifier and TypeMethodDescriptionAdminUsersResource.getActiveUsers
(String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) GroupResource.getMembers
(Group group, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) -
Uses of Person in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client that return types with arguments of type PersonModifier and TypeMethodDescriptionRemotePersonService.fetchActiveUsers
(PageRequest pageRequest) Fetch active users.RemotePersonServiceImpl.fetchActiveUsers
(PageRequest pageRequest) RemotePersonServiceImpl.RemotePersonFinderImpl.fetchCompletionStage()
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchManyCompletionStage
(PageRequest pageRequest) RemotePersonService.getCurrentUserCompletionStage
(Expansion... expansions) RemotePersonServiceImpl.getCurrentUserCompletionStage
(Expansion... expansions) Methods in com.atlassian.confluence.rest.client with parameters of type PersonModifier and TypeMethodDescription -
Uses of Person in com.atlassian.confluence.user
Methods in com.atlassian.confluence.user with parameters of type PersonModifier and TypeMethodDescription@Nullable ConfluenceUser
ConfluenceUserResolver.getExistingUserByPerson
(Person person) @Nullable ConfluenceUser
DefaultUserAccessor.getExistingUserByPerson
(@NonNull Person person) @Nullable ConfluenceUser
ReadOnlyUserAccessor.getExistingUserByPerson
(Person person) -
Uses of Person in com.atlassian.confluence.user.actions
Methods in com.atlassian.confluence.user.actions that return types with arguments of type PersonMethod parameters in com.atlassian.confluence.user.actions with type arguments of type PersonModifier and TypeMethodDescriptionvoid
BrowseUnsyncedUsersAction.setPageResponse
(PageResponse<Person> pageResponse)