| Package | Description |
|---|---|
| com.atlassian.confluence.api.impl.service.nav | |
| 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.nav | |
| com.atlassian.confluence.api.service.permissions | |
| com.atlassian.confluence.pageobjects.component.dialog | |
| com.atlassian.confluence.plugins.restapi.resources | |
| com.atlassian.confluence.rest.client | |
| com.atlassian.confluence.stateless.webdriver.editor |
| Modifier and Type | Method and Description |
|---|---|
Navigation.Builder |
ContentRestrictionByOperationNavImpl.operation(OperationKey operationKey) |
| Constructor and Description |
|---|
ContentRestrictionByOperationKeyNav(OperationKey key,
AbstractNav delegate) |
| Modifier and Type | Method and Description |
|---|---|
OperationKey |
ContentRestrictionFactory.determineOpKey(String permissionType)
Given a raw ContentPermission type, return its corresponding OperationKey.
|
| Modifier and Type | Method and Description |
|---|---|
Map<OperationKey,ContentRestriction> |
ContentRestrictionServiceImpl.getRestrictionsGroupByOperation(ContentId target,
Expansion... allExpansions) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<String> |
ContentRestrictionFactory.determinePermissionType(OperationKey key)
Given an OperationKey, determine the raw ContentPermission type.
|
ContentRestriction |
ContentRestrictionServiceImpl.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... allExpansions) |
| Modifier and Type | Field and Description |
|---|---|
static OperationKey |
OperationKey.ADMINISTER |
static OperationKey |
OperationKey.COPY |
static OperationKey |
OperationKey.CREATE |
static OperationKey |
OperationKey.DELETE |
static OperationKey |
OperationKey.EXPORT |
static OperationKey |
OperationKey.MOVE |
static OperationKey |
OperationKey.PURGE |
static OperationKey |
OperationKey.PURGE_VERSION |
static OperationKey |
OperationKey.READ |
static OperationKey |
OperationKey.UPDATE |
static OperationKey |
OperationKey.USE |
| Modifier and Type | Field and Description |
|---|---|
static List<OperationKey> |
OperationKey.BUILT_IN |
| Modifier and Type | Method and Description |
|---|---|
OperationKey |
ContentRestriction.getOperation() |
OperationKey |
OperationKey.getOperationKey() |
OperationKey |
OperationDescription.getOperationKey() |
OperationKey |
OperationCheckResult.getOperationKey() |
OperationKey |
Operation.getOperationKey() |
static OperationKey |
OperationKey.valueOf(String name) |
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction.ContentRestrictionBuilder |
ContentRestriction.ContentRestrictionBuilder.operation(OperationKey operation) |
OperationDescription.OperationDescriptionBuilder |
OperationDescription.OperationDescriptionBuilder.operationKey(OperationKey operationKey) |
OperationCheckResult.OperationCheckResultBuilder |
OperationCheckResult.OperationCheckResultBuilder.operationKey(OperationKey operationKey) |
| Modifier and Type | Method and Description |
|---|---|
OperationKey |
OperationCheck.getOperationKey() |
OperationKey |
BaseOperationCheck.getOperationKey() |
| Modifier and Type | Method and Description |
|---|---|
OperationCheck |
OperationDelegate.getOperation(OperationKey operationKey)
Get the
OperationCheck which can answer questions about a particular operation. |
| Constructor and Description |
|---|
BaseOperationCheck(OperationKey operationKey,
TargetType expectedTargetType)
Construct a
BaseOperationCheck. |
| Modifier and Type | Method and Description |
|---|---|
Navigation.Builder |
Navigation.ContentRestrictionByOperationNav.operation(OperationKey operationKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<OperationKey,ContentRestriction> |
ContentRestrictionService.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions)
List all restrictions that exist directly on the given content.
|
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction |
ContentRestrictionService.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions)
Retrieves all restrictions for given operation key on given content.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PageRestrictionsDialog.hasRestriction(Subject subject,
OperationKey operationKey)
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
PageRestrictionsDialog.hasRestrictionTimed(Subject subject,
OperationKey operationKey)
Deprecated.
|
boolean |
PageRestrictionsDialog.removeRestriction(String name,
OperationKey operationKey)
Deprecated.
since 5.9. In the new restrictions dialog set the mode first and then use
PageRestrictionsDialog.removeRestriction(com.atlassian.confluence.api.model.people.Subject)
to remove the restriction. |
| Modifier and Type | Method and Description |
|---|---|
Map<OperationKey,ContentRestriction> |
ContentRestrictionResource.byOperation(ContentId id,
String expand)
Returns info about all restrictions by operation
|
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction |
ContentRestrictionResource.forOperation(ContentId id,
OperationKey opKey,
String expand,
int start,
int limit)
Returns info about all restrictions of given operation
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>> |
RemoteContentRestrictionServiceImpl.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Map<OperationKey,ContentRestriction>> |
RemoteContentRestrictionService.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions)
List all restrictions that exist directly on the given content.
|
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<ContentRestriction> |
RemoteContentRestrictionServiceImpl.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentRestriction> |
RemoteContentRestrictionService.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions)
Retrieves all restrictions for given operation key on given content.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.atlassian.confluence.webdriver.pageobjects.page.content.ViewPage |
AbstractContentRestrictionTest.restrictToLoggedInUser(com.atlassian.confluence.webdriver.pageobjects.page.content.EditorPage editorPage,
OperationKey operationKey) |
protected void |
AbstractContentRestrictionTest.setAndThenRemoveRestrictionOnInfoPage(com.atlassian.confluence.test.api.model.person.UserWithDetails user,
Content content,
OperationKey operationKey) |
Copyright © 2003–2015 Atlassian. All rights reserved.