public class DraftPermissionsDelegate extends AbstractPermissionsDelegate
Draft
object.
For the new shared drafts use the PermissionDelegate
corresponding to the actual draft class.
ContentEntityObject.DRAFT
spacePermissionManager
Constructor and Description |
---|
DraftPermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Object target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canEdit(com.atlassian.user.User user,
Object target) |
boolean |
canExport(com.atlassian.user.User user,
Object target) |
boolean |
canRemove(com.atlassian.user.User user,
Object target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
Object target) |
boolean |
canView(com.atlassian.user.User user,
Object target) |
protected Space |
getSpaceFrom(Object target) |
SpaceManager |
getSpaceManager() |
void |
setSpaceManager(SpaceManager spaceManager) |
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, Object target)
public boolean canEdit(com.atlassian.user.User user, Object target)
public boolean canSetPermissions(com.atlassian.user.User user, Object target)
public boolean canRemove(com.atlassian.user.User user, Object target)
public boolean canExport(com.atlassian.user.User user, Object target)
public boolean canAdminister(com.atlassian.user.User user, Object target)
public boolean canCreate(com.atlassian.user.User user, Object container)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate
public void setSpaceManager(SpaceManager spaceManager)
public SpaceManager getSpaceManager()
Copyright © 2003–2018 Atlassian. All rights reserved.