public interface ContentPermissionManagerInternal extends ContentPermissionManager
Modifier and Type | Method and Description |
---|---|
List<Page> |
getPermittedPagesIgnoreInheritedPermissions(List<Page> contentList,
ConfluenceUser user,
String permission)
Check permissions for a collection of objects without checking permissions of ancestors and spaces.
|
Map<Long,ValidationResult> |
hasContentLevelPermission(ConfluenceUser user,
String permissionType,
Collection<Long> contentIds)
Check permission for a collection of content at once.
|
boolean |
hasVisibleChildren(Page page,
ConfluenceUser user)
Returns true if at least one child is visible
This method does not check all children, it stops working when the first visible children is found
|
addContentPermission, copyContentPermissions, copyContentPermissions, getContentPermissionSets, getInheritedContentPermissionSets, getInheritedContentPermissionSets, getInheritedContentUserPermissions, getPermissionSets, getPermittedChildren, getPermittedChildrenIgnoreInheritedPermissions, getViewContentPermissions, hasContentLevelPermission, hasPermittedChildrenIgnoreInheritedPermissions, isPermissionInherited, removeAllGroupPermissions, removeAllUserPermissions, removeContentPermission, setContentPermissions, setContentPermissions
Map<Long,ValidationResult> hasContentLevelPermission(ConfluenceUser user, String permissionType, Collection<Long> contentIds)
user
- permissionType
- string needs to be one of the permission constants in ContentPermissioncontentIds
- List<Page> getPermittedPagesIgnoreInheritedPermissions(List<Page> contentList, ConfluenceUser user, String permission)
contentList
- user
- permission
- boolean hasVisibleChildren(Page page, ConfluenceUser user)
page
- user
- Copyright © 2003–2021 Atlassian. All rights reserved.