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 |
---|---|
List<OperationDescription> |
OperationServiceImpl.getAllOperationsForType(TargetType targetType) |
Constructor and Description |
---|
OperationServiceImpl(Map<TargetType,OperationDelegate> operationDelegates,
PersonFactory personFactory,
UserAccessorInternal userAccessor,
PermissionCheckExemptions permissionCheckExemptions) |
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 |
---|---|
TargetType |
Target.getTargetType()
Get the
TargetType for this model object. |
TargetType |
OperationDescription.getTargetType() |
TargetType |
OperationCheckResult.getTargetType() |
static TargetType |
TargetType.valueOf(ContentType type)
Return the
TargetType for the given ContentType |
static TargetType |
TargetType.valueOf(String type)
Return the
TargetType for the given type string. |
Modifier and Type | Method and Description |
---|---|
static Set<TargetType> |
TargetType.valuesOf(Iterable<String> types)
Return the
TargetType s 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(TargetType targetType) |
OperationCheckResult.OperationCheckResultBuilder |
OperationCheckResult.OperationCheckResultBuilder.targetType(TargetType targetType) |
Constructor and Description |
---|
BaseOperationCheck(OperationKey operationKey,
TargetType expectedTargetType)
Construct a
BaseOperationCheck . |
Modifier and Type | Method and Description |
---|---|
List<OperationDescription> |
OperationService.getAllOperationsForType(TargetType targetType)
For a given target type, list all operations this service can provide information about.
|
Copyright © 2003–2017 Atlassian. All rights reserved.