Class PagePermissionsDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate<Page>
com.atlassian.confluence.security.delegate.PagePermissionsDelegate
- All Implemented Interfaces:
PermissionDelegate<Page>
-
Field Summary
Fields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
spacePermissionManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canAdminister
(ConfluenceUser user, Page target) boolean
canCreate
(ConfluenceUser user, Object container) boolean
canEdit
(ConfluenceUser user, Page target) boolean
canExport
(ConfluenceUser user, Page target) boolean
canMove
(ConfluenceUser user, Page source, Object target, String movePoint) boolean
canRemove
(ConfluenceUser user, Page target) boolean
canRemoveHierarchy
(ConfluenceUser user, Page target) boolean
canSetPermissions
(ConfluenceUser user, Page target) boolean
canView
(ConfluenceUser user, Page target) protected Space
getSpaceFrom
(Object target) void
setContentPermissionManager
(ContentPermissionManager contentPermissionManager) Methods inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
canCreateInTarget, canView, hasSpaceLevelPermission, hasSpaceLevelPermission, setSpacePermissionManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.security.PermissionDelegate
canAdminister, canCreate, canCreateInTarget, canEdit, canExport, canMove, canRemove, canRemoveHierarchy, canSetPermissions, canView, canView
-
Constructor Details
-
PagePermissionsDelegate
public PagePermissionsDelegate()
-
-
Method Details
-
canView
- Returns:
- true if user can view the specified target.
-
canEdit
-
canSetPermissions
-
canRemove
-
canMove
-
canRemoveHierarchy
-
canExport
-
canAdminister
-
setContentPermissionManager
-
canCreate
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
getSpaceFrom
- Specified by:
getSpaceFrom
in classAbstractPermissionsDelegate<Page>
- Parameters:
target
- an entity object from which we want to extract a space container- Returns:
Space
container of the given target if available
-