@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) |
boolean |
equals(Object obj) |
Reference<Content> |
getContent() |
OperationKey |
getOperation() |
Map<SubjectType,PageResponse<Subject>> |
getRestrictions()
Presents information about the restriction in a form of
Map<SubjectType, PageResponse<Subject>> |
int |
hashCode() |
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–2019 Atlassian. All rights reserved.