public class SpacePermissionsDelegate extends AbstractPermissionsDelegate<Space>
spacePermissionManager
Constructor and Description |
---|
SpacePermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Space target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canEdit(com.atlassian.user.User user,
Space target) |
boolean |
canExport(com.atlassian.user.User user,
Space target) |
boolean |
canRemove(com.atlassian.user.User user,
Space target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
Space target) |
boolean |
canView(com.atlassian.user.User user,
Space target) |
protected Space |
getSpaceFrom(Object target) |
canCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canMove, canRemoveHierarchy
public boolean canView(com.atlassian.user.User user, Space target)
public boolean canEdit(com.atlassian.user.User user, Space target)
public boolean canSetPermissions(com.atlassian.user.User user, Space target)
public boolean canRemove(com.atlassian.user.User user, Space target)
public boolean canExport(com.atlassian.user.User user, Space target)
public boolean canAdminister(com.atlassian.user.User user, Space target)
public boolean canCreate(com.atlassian.user.User user, Object container)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate<Space>
target
- an entity object from which we want to extract a space containerSpace
container of the given target if availableCopyright © 2003–2021 Atlassian. All rights reserved.