| Package | Description |
|---|---|
| com.atlassian.confluence.api.impl.service.content.factory | |
| com.atlassian.confluence.api.impl.service.people | |
| com.atlassian.confluence.api.impl.service.permissions | |
| com.atlassian.confluence.api.model.content | |
| com.atlassian.confluence.api.model.people | |
| com.atlassian.confluence.api.model.permissions.spi |
SPI for implementing pluggable permission and validation checks, for use with
OperationService. |
| com.atlassian.confluence.api.service.people | |
| com.atlassian.confluence.api.service.permissions | |
| com.atlassian.confluence.api.testsupport.matchers.model.content | |
| com.atlassian.confluence.internal.user |
Confluence internal classes related to user management.
|
| com.atlassian.confluence.it.api | |
| com.atlassian.confluence.user |
| 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 |
|---|---|
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() |
| Modifier and Type | Method and Description |
|---|---|
Version.VersionBuilder |
Version.VersionBuilder.by(Person by) |
History.HistoryBuilder |
History.HistoryBuilder.createdBy(Person createdBy) |
| 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 |
|---|---|
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 |
|---|---|
ConfluenceUser |
DefaultUserAccessor.getExistingUserByPerson(Person person) |
Copyright © 2003–2015 Atlassian. All rights reserved.