Class SystemPermissionsDelegate
- java.lang.Object
- 
- com.atlassian.confluence.security.delegate.SystemPermissionsDelegate
 
- 
- All Implemented Interfaces:
- PermissionDelegate
 
 public class SystemPermissionsDelegate extends Object implements PermissionDelegate Handles permission checks for operations deem to have an effect on the system and hence require sys admin perrmissions
- 
- 
Constructor SummaryConstructors Constructor Description SystemPermissionsDelegate()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAdminister(com.atlassian.user.User user, Object target)booleancanCreate(com.atlassian.user.User user, Object container)booleancanCreateInTarget(com.atlassian.user.User user, Class typeToCreate)booleancanEdit(com.atlassian.user.User user, Object target)booleancanExport(com.atlassian.user.User user, Object target)booleancanRemove(com.atlassian.user.User user, Object target)booleancanSetPermissions(com.atlassian.user.User user, Object target)booleancanView(com.atlassian.user.User user)booleancanView(com.atlassian.user.User user, Object target)voidsetSpacePermissionManager(SpacePermissionManager spacePermissionManager)- 
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, Object target)- Specified by:
- canViewin interface- PermissionDelegate
- Returns:
- true if user can view the specified target.
 
 - 
canViewpublic boolean canView(com.atlassian.user.User user) - Specified by:
- canViewin interface- PermissionDelegate
- Returns:
- true if the user can view all instances of targets handled by this permission delegate
 
 - 
canEditpublic boolean canEdit(com.atlassian.user.User user, Object target)- Specified by:
- canEditin interface- PermissionDelegate
 
 - 
canSetPermissionspublic boolean canSetPermissions(com.atlassian.user.User user, Object target)- Specified by:
- canSetPermissionsin interface- PermissionDelegate
 
 - 
canRemovepublic boolean canRemove(com.atlassian.user.User user, Object target)- Specified by:
- canRemovein interface- PermissionDelegate
 
 - 
canExportpublic boolean canExport(com.atlassian.user.User user, Object target)- Specified by:
- canExportin interface- PermissionDelegate
 
 - 
canAdministerpublic boolean canAdminister(com.atlassian.user.User user, Object target)- Specified by:
- canAdministerin interface- PermissionDelegate
 
 - 
canCreatepublic boolean canCreate(com.atlassian.user.User user, Object container)- Specified by:
- canCreatein interface- PermissionDelegate
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
 
 - 
canCreateInTargetpublic boolean canCreateInTarget(com.atlassian.user.User user, Class typeToCreate)- Specified by:
- canCreateInTargetin interface- PermissionDelegate
- Parameters:
- user- the user performing the create
- typeToCreate- 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.
 
 - 
setSpacePermissionManagerpublic void setSpacePermissionManager(SpacePermissionManager spacePermissionManager) 
 
- 
 
-