public class LabellingPermissionsDelegate extends AbstractPermissionsDelegate<Labelling>
spacePermissionManager
Constructor and Description |
---|
LabellingPermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Labelling target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canEdit(com.atlassian.user.User user,
Labelling target) |
boolean |
canExport(com.atlassian.user.User user,
Labelling target) |
boolean |
canRemove(com.atlassian.user.User user,
Labelling target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
Labelling target) |
boolean |
canView(com.atlassian.user.User user,
Labelling target) |
protected Space |
getSpaceFrom(Object target) |
void |
setPermissionManagerTarget(PermissionManager permissionManager) |
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, Labelling target)
public boolean canEdit(com.atlassian.user.User user, Labelling target)
public boolean canSetPermissions(com.atlassian.user.User user, Labelling target)
public boolean canRemove(com.atlassian.user.User user, Labelling target)
public boolean canExport(com.atlassian.user.User user, Labelling target)
public boolean canAdminister(com.atlassian.user.User user, Labelling target)
public boolean canCreate(com.atlassian.user.User user, Object container)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate<Labelling>
target
- an entity object from which we want to extract a space containerSpace
container of the given target if availablepublic void setPermissionManagerTarget(PermissionManager permissionManager)
Copyright © 2003–2020 Atlassian. All rights reserved.