Class SpacePermissionsDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate<Space>
com.atlassian.confluence.security.delegate.SpacePermissionsDelegate
- All Implemented Interfaces:
PermissionDelegate<Space>
-
Field Summary
Fields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
spacePermissionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAdminister(ConfluenceUser user, Space target) booleancanCreate(ConfluenceUser user, Object container) booleancanEdit(ConfluenceUser user, Space target) booleancanExport(ConfluenceUser user, Space target) booleancanRemove(ConfluenceUser user, Space target) booleancanSetPermissions(ConfluenceUser user, Space target) booleancanView(ConfluenceUser user, Space target) protected SpacegetSpaceFrom(Object target) Methods inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
canCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManagerMethods 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
canMove, canRemoveHierarchy
-
Constructor Details
-
SpacePermissionsDelegate
public SpacePermissionsDelegate()
-
-
Method Details
-
canView
- Returns:
- true if user can view the specified target.
-
canEdit
-
canSetPermissions
-
canRemove
-
canExport
-
canAdminister
-
canCreate
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
getSpaceFrom
- Specified by:
getSpaceFromin classAbstractPermissionsDelegate<Space>- Parameters:
target- an entity object from which we want to extract a space container- Returns:
Spacecontainer of the given target if available
-