com.atlassian.confluence.core.ContentPermissionManager |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add permissions to the content entity objecct through the manager.
| |||||||||||
Get the ContentPermissionSets that affect this ceo, both inherited and directly.
| |||||||||||
This method is deprecated.
use #getInheritedContentPermissionSets
| |||||||||||
Get view permissions on this page and its ancestors.
| |||||||||||
fetches the inherited and explicit content level permissions for this content object and determines whether the user has access.
| |||||||||||
Remove all content permission associtated with a given group.
| |||||||||||
Remove all content permission associtated with a given user.
| |||||||||||
Set the Content Permissions on the CEO to be the list of
ContentPermission s passed. |
Add permissions to the content entity objecct through the manager. This will ensure that already existing permissions are updated and that the content will be reindexed.
Get the ContentPermissionSets that affect this ceo, both inherited and directly. Note that EDIT Permissions are not currently inherited, so calling this method with EDIT will return only the direct ContentPermissionSet.
ceo | whose permissions will be returned. Not null. |
---|---|
type | one of VIEW_PERMISSION or EDIT_PERMISSION |
ContentPermissionSet
s. Not null, but can be empty.
ContentPermissionSet
s of type
VIEW_PERMISSION
of all ancestors of contentEntityObject
This method is deprecated.
use #getInheritedContentPermissionSets
Returns all inherited content permission objects attached to the ancestors of this entity object, that is, all view permissions but *not* edit permissions.
Get view permissions on this page and its ancestors.
fetches the inherited and explicit content level permissions for this content object and determines whether the user has access.
permissionType | VIEW_PERMISSION or EDIT_PERMISSION |
---|
Remove all content permission associtated with a given group.
Remove all content permission associtated with a given user.
Set the Content Permissions on the CEO to be the list of ContentPermission
s passed. Passing
an empty list removes all permissions. Passing a list containing just the existing permissions does nothing.
contentPermissions | set of ContentPermission s |
---|