Modifier and Type | Method and Description |
---|---|
@NonNull Person |
PersonFactory.forCurrentUser() |
@NonNull Person |
PersonFactory.forCurrentUser(Expansions expansions)
Construct the person object for the current user.
|
Person |
PersonFactory.forUser(ConfluenceUser user) |
Person |
PersonFactory.forUser(ConfluenceUser user,
Expansions expansions)
Construct the person object for a particular user.
|
Person |
PersonFactory.forUsername(String username)
Construct the person object for a particular username.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonServiceImpl.getCurrentUser(Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Person> |
PersonServiceImpl.PersonSearcherImpl.fetchMany(PageRequest request) |
PageResponse<Person> |
PersonServiceImpl.PersonFinderImpl.fetchMany(PageRequest request) |
com.atlassian.fugue.Option<Person> |
PersonServiceImpl.PersonFinderImpl.fetchOne() |
Modifier and Type | Method and Description |
---|---|
LongTaskSubmission |
PersonServiceImpl.delete(Person personToDelete) |
ValidationResult |
PersonServiceImpl.ValidatorImpl.validateDelete(Person personToDelete) |
Modifier and Type | Method and Description |
---|---|
@NonNull Map<Target,ValidationResult> |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Iterable<Target> targets) |
@NonNull ValidationResult |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Target target) |
@NonNull Map<Target,ValidationResult> |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Iterable<Target> targets) |
@NonNull ValidationResult |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Target target) |
@NonNull List<OperationCheckResult> |
OperationServiceImpl.getAvailableOperations(Person person,
Target target) |
Modifier and Type | Method and Description |
---|---|
Person |
Version.getBy() |
Person |
History.getCreatedBy()
Get the original creator of the first published non-draft version of the content.
|
Modifier and Type | Method and Description |
---|---|
List<Person> |
ContributorUsers.getUsers() |
Modifier and Type | Method and Description |
---|---|
Version.VersionBuilder |
Version.VersionBuilder.by(Person by) |
History.HistoryBuilder |
History.HistoryBuilder.createdBy(Person createdBy) |
Modifier and Type | Method and Description |
---|---|
ContributorUsers.Builder |
ContributorUsers.Builder.users(List<Person> users) |
Modifier and Type | Class and Description |
---|---|
class |
Anonymous |
class |
KnownUser |
class |
UnknownUser |
class |
User |
Modifier and Type | Method and Description |
---|---|
@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.
|
@NonNull Map<Target,ValidationResult> |
BaseOperationCheck.canPerform(Person person,
Iterable<Target> targets)
Validates targets are the correct
TargetType ,
then delegates to BaseOperationCheck.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 ValidationResult |
BaseOperationCheck.canPerform(Person person,
Target target)
|
@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.
|
@NonNull Map<Target,ValidationResult> |
BaseOperationCheck.canPerformAccordingToState(Person person,
Iterable<Target> targets)
Validates targets are the correct
TargetType ,
then delegates to BaseOperationCheck.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 ValidationResult |
BaseOperationCheck.canPerformAccordingToState(Person person,
Target target)
|
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.
|
Modifier and Type | Method and Description |
---|---|
Person |
PersonService.getCurrentUser(Expansion... expansions)
Get the currently logged in user
|
Modifier and Type | Method and Description |
---|---|
LongTaskSubmission |
PersonService.delete(Person personToDelete)
Delete the given person.
|
ValidationResult |
PersonService.Validator.validateDelete(Person personToDelete)
Validate that the current user has permissions to remove the given person
|
Modifier and Type | Method and Description |
---|---|
@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.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.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 ValidationResult |
OperationService.canPerformWithoutExemptions(Person person,
Operation operation,
Target target)
Check whether a person can perform a particular operation on a particular target.
|
@NonNull List<OperationCheckResult> |
OperationService.getAvailableOperations(Person person,
Target target)
List all operations that a person can perform on a particular target.
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Content> |
ContentMatchers.createdBy(Person user) |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Person> |
SubjectMatchers.userWithName(String username) |
Modifier and Type | Method and Description |
---|---|
@Nullable ConfluenceUser |
UserAccessorInternal.getExistingUserByPerson(Person person)
Retrieve the corresponding ConfluenceUser (if any) for a Person, by username, or user key
|
Modifier and Type | Method and Description |
---|---|
static User |
ApiEntityConverter.convertApiPersonToItUser(Person person) |
Modifier and Type | Method and Description |
---|---|
Person |
UserRpc.getUserByKey(String userKey) |
Person |
UserRpc.getUserByName(String username) |
Modifier and Type | Method and Description |
---|---|
Person |
ExperimentalUserResource.getAnonymous()
Get information about the how anonymous is represented in confluence
|
Person |
ExperimentalUserResource.getCurrent(String expand)
Get information about the current logged in user.
|
Person |
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.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Person> |
ExperimentalGroupResource.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
|
Modifier and Type | Method and Description |
---|---|
Person |
UserResource.getAnonymous()
Get information about the how anonymous is represented in confluence
|
Person |
UserResource.getCurrent(String expand)
Get information about the current logged in user.
|
Person |
UserResource.getUser(String key,
String username,
String expand)
Get information about a user identified by either user key or username.
|
Person |
UserResource.getUserGraph(boolean current,
String key,
String username,
String expand) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Person> |
GroupResource.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
|
Modifier and Type | Method and Description |
---|---|
CompletionStage<Optional<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchCompletionStage() |
com.atlassian.util.concurrent.Promise<PageResponse<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchMany(PageRequest pageRequest)
Deprecated.
since 7.0.1. Use
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchManyCompletionStage(PageRequest) instead. |
CompletionStage<PageResponse<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchManyCompletionStage(PageRequest pageRequest) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOne()
Deprecated.
since 7.0.1. Use
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchCompletionStage() instead. |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOneOrNull()
Deprecated.
since 7.0.1. Use
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOrNullCompletionStage() instead. |
CompletionStage<Person> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOrNullCompletionStage() |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonServiceImpl.getCurrentUser(Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemotePersonServiceImpl.getCurrentUserCompletionStage(Expansion...) instead. |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonService.getCurrentUser(Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemotePersonService.getCurrentUserCompletionStage(Expansion...) instead. |
CompletionStage<Person> |
RemotePersonServiceImpl.getCurrentUserCompletionStage(Expansion... expansions) |
CompletionStage<Person> |
RemotePersonService.getCurrentUserCompletionStage(Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
LongTaskSubmission |
RemotePersonServiceImpl.delete(Person personToDelete) |
LongTaskSubmission |
RemotePersonService.delete(Person personToDelete) |
Modifier and Type | Method and Description |
---|---|
@Nullable ConfluenceUser |
DefaultUserAccessor.getExistingUserByPerson(@NonNull Person person) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Person> |
BrowseUnsyncedUsersAction.getPageResponse() |
Modifier and Type | Method and Description |
---|---|
void |
BrowseUnsyncedUsersAction.setPageResponse(PageResponse<Person> pageResponse) |
Copyright © 2003–2021 Atlassian. All rights reserved.