java.lang.Object | |
↳ | com.atlassian.confluence.core.DefaultContentPermissionManager |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
contentPermissionDao |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new current content permission to the CEO if it doesn't have it
already.
| |||||||||||
Get the ContentPermissionSets that affect this ceo, both inherited and directly.
| |||||||||||
Returns all inherited content permission objects attached to the ancestors of this entity object,
that is, all view permissions but *not* edit permissions.
| |||||||||||
Filters the inherited content permission sets of a page for a list of inherited user permissions (of type
VIEW_PERMISSION )
| |||||||||||
Returns a list of
Page objects that are direct children of the passed in page. | |||||||||||
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. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.core.ContentPermissionManager
|
Adds a new current content permission to the CEO if it doesn't have it already.
IllegalArgumentException | if content object does not correspond to the
latest version of the content Permissions can only be added
to the latest version of a ContentEntityObject.
|
---|
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.
Returns all inherited content permission objects attached to the ancestors of this entity object, that is, all view permissions but *not* edit permissions.
Filters the inherited content permission sets of a page for a list of inherited user permissions (of type VIEW_PERMISSION
)
Returns a list of Page
objects that are direct children of the passed in page.
This method will only return the children the passed in user has permission to view.
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.
requiredPermissions | set of ContentPermission s |
---|