Class SpacePermissionsDelegate
- java.lang.Object
- 
- com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate<Space>
- 
- com.atlassian.confluence.security.delegate.SpacePermissionsDelegate
 
 
- 
- All Implemented Interfaces:
- PermissionDelegate<Space>
 
 public class SpacePermissionsDelegate extends AbstractPermissionsDelegate<Space> 
- 
- 
Field Summary- 
Fields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegatespacePermissionManager
 
- 
 - 
Constructor SummaryConstructors Constructor Description SpacePermissionsDelegate()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAdminister(com.atlassian.user.User user, Space target)booleancanCreate(com.atlassian.user.User user, Object container)booleancanEdit(com.atlassian.user.User user, Space target)booleancanExport(com.atlassian.user.User user, Space target)booleancanRemove(com.atlassian.user.User user, Space target)booleancanSetPermissions(com.atlassian.user.User user, Space target)booleancanView(com.atlassian.user.User user, Space target)protected SpacegetSpaceFrom(Object target)- 
Methods inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegatecanCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManager
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.atlassian.confluence.security.PermissionDelegatecanMove, canRemoveHierarchy
 
- 
 
- 
- 
- 
Method Detail- 
canViewpublic boolean canView(com.atlassian.user.User user, Space target)- Returns:
- true if user can view the specified target.
 
 - 
canEditpublic boolean canEdit(com.atlassian.user.User user, Space target)
 - 
canSetPermissionspublic boolean canSetPermissions(com.atlassian.user.User user, Space target)
 - 
canRemovepublic boolean canRemove(com.atlassian.user.User user, Space target)
 - 
canExportpublic boolean canExport(com.atlassian.user.User user, Space target)
 - 
canAdministerpublic boolean canAdminister(com.atlassian.user.User user, Space target)
 - 
canCreatepublic boolean canCreate(com.atlassian.user.User user, Object container)- Returns:
- true if the specified user can create new instances of the target type in the specified container.
 
 - 
getSpaceFromprotected Space getSpaceFrom(Object target) - Specified by:
- getSpaceFromin class- AbstractPermissionsDelegate<Space>
- Parameters:
- target- an entity object from which we want to extract a space container
- Returns:
- Spacecontainer of the given target if available
 
 
- 
 
-