@ExperimentalApi public class ContentRestriction extends Object implements NavigationAware
com.atlassian.confluence.security.ContentPermission
Defines
per-content level "Restrictions" (for blogposts and pages only). Not to confuse with Permissions, which are separate
concept.Modifier and Type | Class and Description |
---|---|
static class |
ContentRestriction.ContentRestrictionBuilder |
static class |
ContentRestriction.Expansions
Provides property names that can be used to expand
ContentRestriction objects. |
Modifier and Type | Method and Description |
---|---|
static ContentRestriction.ContentRestrictionBuilder |
builder() |
static ContentRestriction.ContentRestrictionBuilder |
builder(ContentRestriction restriction) |
Reference<Content> |
getContent() |
OperationKey |
getOperation() |
Map<SubjectType,PageResponse<Subject>> |
getRestrictions()
Presents information about the restriction in a form of
Map<SubjectType, PageResponse<Subject>> |
Navigation.Builder |
resolveNavigation(NavigationService navigationService) |
public static ContentRestriction.ContentRestrictionBuilder builder()
public static ContentRestriction.ContentRestrictionBuilder builder(ContentRestriction restriction)
public OperationKey getOperation()
public Map<SubjectType,PageResponse<Subject>> getRestrictions()
Map<SubjectType, PageResponse<Subject>>
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
Copyright © 2003–2017 Atlassian. All rights reserved.