| Package | Description |
|---|---|
| com.atlassian.confluence.api.impl.service.permissions | |
| com.atlassian.confluence.api.model.permissions |
Model objects for user and group permission and validation checks, for use with
OperationService. |
| com.atlassian.confluence.api.model.permissions.spi |
SPI for implementing pluggable permission and validation checks, for use with
OperationService. |
| com.atlassian.confluence.api.service.permissions |
| Modifier and Type | Method and Description |
|---|---|
@NonNull List<OperationDescription> |
OperationServiceImpl.getAllOperationsForType(TargetType targetType) |
| Constructor and Description |
|---|
OperationServiceImpl(Map<TargetType,OperationDelegate> operationDelegates,
PersonFactory personFactory,
UserAccessorInternal userAccessor,
PermissionCheckExemptions permissionCheckExemptions,
AccessModeManager accessModeManager) |
| Modifier and Type | Field and Description |
|---|---|
static TargetType |
TargetType.ATTACHMENT |
static TargetType |
TargetType.BLOG_POST |
static TargetType |
TargetType.COMMENT |
static TargetType |
TargetType.PAGE |
static TargetType |
TargetType.SPACE |
protected TargetType |
Target.targetType |
| Modifier and Type | Field and Description |
|---|---|
static List<TargetType> |
TargetType.BUILT_IN |
| Modifier and Type | Method and Description |
|---|---|
@NonNull TargetType |
Target.getTargetType()
Get the
TargetType for this model object. |
@NonNull TargetType |
OperationDescription.getTargetType() |
@NonNull TargetType |
OperationCheckResult.getTargetType() |
static TargetType |
TargetType.valueOf(@NonNull ContentType type)
Return the
TargetType for the given ContentType |
static TargetType |
TargetType.valueOf(@NonNull String type)
Return the
TargetType for the given type string. |
| Modifier and Type | Method and Description |
|---|---|
static Set<TargetType> |
TargetType.valuesOf(@NonNull Iterable<String> types)
Return the
TargetTypes for the given set of type strings. |
| Modifier and Type | Method and Description |
|---|---|
static Target |
Target.forChildrenOfContainer(Container container,
TargetType childTargetType)
Create a
Target for a container being used to check operations on a different child TargetType within it. |
static Target |
Target.forContentId(ContentId id,
TargetType type)
Create a
Target from content id |
static Target |
Target.targetInContainer(Container container,
TargetType childTargetType)
Deprecated.
since 5.9
|
OperationDescription.OperationDescriptionBuilder |
OperationDescription.OperationDescriptionBuilder.targetType(@NonNull TargetType targetType) |
OperationCheckResult.OperationCheckResultBuilder |
OperationCheckResult.OperationCheckResultBuilder.targetType(@NonNull TargetType targetType) |
| Constructor and Description |
|---|
BaseOperationCheck(OperationKey operationKey,
TargetType expectedTargetType)
Construct a
BaseOperationCheck. |
| Modifier and Type | Method and Description |
|---|---|
@NonNull List<OperationDescription> |
OperationService.getAllOperationsForType(TargetType targetType)
For a given target type, list all operations this service can provide information about.
|
Copyright © 2003–2021 Atlassian. All rights reserved.