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 TypeMethodDescriptionbooleancanAdminister(ConfluenceUser user, SpaceDescription target) booleancanCreate(ConfluenceUser user, Object container) booleancanCreateInTarget(ConfluenceUser user, Class typeToCreate) booleancanEdit(ConfluenceUser user, SpaceDescription target) booleancanExport(ConfluenceUser user, SpaceDescription target) booleancanRemove(ConfluenceUser user, SpaceDescription target) booleancanSetPermissions(ConfluenceUser user, SpaceDescription target) booleancanView(ConfluenceUser user) booleancanView(ConfluenceUser user, SpaceDescription target) voidsetSpacePermissionManager(SpacePermissionManager spacePermissionManager) voidsetSpacePermissionsDelegate(SpacePermissionsDelegate spacePermissionsDelegate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
canViewin interfacePermissionDelegate<SpaceDescription>- Returns:
- true if user can view the specified target.
-
canView
- Specified by:
canViewin interfacePermissionDelegate<SpaceDescription>- Returns:
- true if the user can view all instances of targets handled by this permission delegate
-
canEdit
- Specified by:
canEditin interfacePermissionDelegate<SpaceDescription>
-
canSetPermissions
- Specified by:
canSetPermissionsin interfacePermissionDelegate<SpaceDescription>
-
canRemove
- Specified by:
canRemovein interfacePermissionDelegate<SpaceDescription>
-
canExport
- Specified by:
canExportin interfacePermissionDelegate<SpaceDescription>
-
canAdminister
- Specified by:
canAdministerin interfacePermissionDelegate<SpaceDescription>
-
canCreate
- Specified by:
canCreatein interfacePermissionDelegate<SpaceDescription>- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
canCreateInTarget
- Specified by:
canCreateInTargetin 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
-