Class SpaceDescriptionPermissionsDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.SpaceDescriptionPermissionsDelegate
- All Implemented Interfaces:
PermissionDelegate<SpaceDescription>
public class SpaceDescriptionPermissionsDelegate
extends Object
implements PermissionDelegate<SpaceDescription>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canAdminister
(ConfluenceUser user, SpaceDescription target) boolean
canCreate
(ConfluenceUser user, Object container) boolean
canCreateInTarget
(ConfluenceUser user, Class typeToCreate) boolean
canEdit
(ConfluenceUser user, SpaceDescription target) boolean
canExport
(ConfluenceUser user, SpaceDescription target) boolean
canRemove
(ConfluenceUser user, SpaceDescription target) boolean
canSetPermissions
(ConfluenceUser user, SpaceDescription target) boolean
canView
(ConfluenceUser user) boolean
canView
(ConfluenceUser user, SpaceDescription target) void
setSpacePermissionManager
(SpacePermissionManager spacePermissionManager) void
setSpacePermissionsDelegate
(SpacePermissionsDelegate spacePermissionsDelegate) 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, canMove, canRemove, canRemoveHierarchy, canRemoveHierarchy, canSetPermissions, canView, canView
-
Constructor Details
-
SpaceDescriptionPermissionsDelegate
public SpaceDescriptionPermissionsDelegate()
-
-
Method Details
-
canView
- Specified by:
canView
in interfacePermissionDelegate<SpaceDescription>
- Returns:
- true if user can view the specified target.
-
canView
- Specified by:
canView
in interfacePermissionDelegate<SpaceDescription>
- Returns:
- true if the user can view all instances of targets handled by this permission delegate
-
canEdit
- Specified by:
canEdit
in interfacePermissionDelegate<SpaceDescription>
-
canSetPermissions
- Specified by:
canSetPermissions
in interfacePermissionDelegate<SpaceDescription>
-
canRemove
- Specified by:
canRemove
in interfacePermissionDelegate<SpaceDescription>
-
canExport
- Specified by:
canExport
in interfacePermissionDelegate<SpaceDescription>
-
canAdminister
- Specified by:
canAdminister
in interfacePermissionDelegate<SpaceDescription>
-
canCreate
- Specified by:
canCreate
in interfacePermissionDelegate<SpaceDescription>
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
canCreateInTarget
- Specified by:
canCreateInTarget
in interfacePermissionDelegate<SpaceDescription>
- Parameters:
user
- the user performing the createtypeToCreate
- the class of the entity to create- Returns:
- true if the specified user can create new instances of the specified typeToCreate within instances of target handled by this PermissionDelegate.
-
setSpacePermissionsDelegate
-
setSpacePermissionManager
-