Modifier and Type | Method and Description |
---|---|
Person |
PersonFactory.forCurrentUser()
Construct the person object for the current user.
|
Person |
PersonFactory.forUser(ConfluenceUser user)
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.PersonFinderImpl.fetchMany(PageRequest request) |
com.atlassian.fugue.Option<Person> |
PersonServiceImpl.PersonFinderImpl.fetchOne() |
Modifier and Type | Method and Description |
---|---|
Map<Target,ValidationResult> |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Iterable<Target> targets) |
ValidationResult |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Target target) |
Map<Target,ValidationResult> |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Iterable<Target> targets) |
ValidationResult |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Target target) |
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 |
---|---|
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.
|
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) . |
ValidationResult |
OperationCheck.canPerform(Person person,
Target target)
Check whether the specified Person can perform this operation on the specified target.
|
ValidationResult |
BaseOperationCheck.canPerform(Person person,
Target target)
|
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.
|
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) . |
ValidationResult |
OperationCheck.canPerformAccordingToState(Person person,
Target target)
Check whether the specified Person can perform this operation on the specified target based on its state.
|
ValidationResult |
BaseOperationCheck.canPerformAccordingToState(Person person,
Target target)
|
protected abstract Map<Target,ValidationResult> |
BaseOperationCheck.canPerformAccordingToStateImpl(Person person,
Iterable<Target> targets)
Subclass implements this to perform canPerformAccordingToState checks on a collection of targets.
|
protected abstract Map<Target,ValidationResult> |
BaseOperationCheck.canPerformImpl(Person person,
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 |
---|---|
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.
|
ValidationResult |
OperationService.canPerform(Person person,
Operation operation,
Target target)
Check whether a person can perform a particular operation on a particular target.
|
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.
|
ValidationResult |
OperationService.canPerformWithoutExemptions(Person person,
Operation operation,
Target target)
Check whether a person can perform a particular operation on a particular target.
|
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 |
---|---|
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 |
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(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> |
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 |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchMany(PageRequest pageRequest) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Person>> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOne() |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Person>> |
RemotePersonService.RemotePersonSingleFetcher.fetchOne() |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonServiceImpl.RemotePersonFinderImpl.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonService.RemotePersonSingleFetcher.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonServiceImpl.getCurrentUser(Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Person> |
RemotePersonService.getCurrentUser(Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
ConfluenceUser |
DefaultUserAccessor.getExistingUserByPerson(Person person) |
Copyright © 2003–2017 Atlassian. All rights reserved.