public abstract class AbstractPermissionsDelegate extends Object implements PermissionDelegate
| Modifier and Type | Field and Description |
|---|---|
protected SpacePermissionManager |
spacePermissionManager |
| Constructor and Description |
|---|
AbstractPermissionsDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateInTarget(com.atlassian.user.User user,
Class typeToCreate) |
boolean |
canView(com.atlassian.user.User user) |
protected abstract Space |
getSpaceFrom(Object target) |
protected boolean |
hasSpaceLevelPermission(String permission,
com.atlassian.user.User user,
Object target) |
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAdminister, canCreate, canEdit, canExport, canMove, canRemove, canRemoveHierarchy, canSetPermissions, canViewprotected SpacePermissionManager spacePermissionManager
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
protected boolean hasSpaceLevelPermission(String permission, com.atlassian.user.User user, Object target)
public boolean canView(com.atlassian.user.User user)
canView in interface PermissionDelegatepublic boolean canCreateInTarget(com.atlassian.user.User user,
Class typeToCreate)
canCreateInTarget in interface PermissionDelegateuser - the user performing the createtypeToCreate - the class of the entity to createCopyright © 2003–2017 Atlassian. All rights reserved.