public class PagePermissionsDelegate extends AbstractPermissionsDelegate
spacePermissionManager
Constructor and Description |
---|
PagePermissionsDelegate() |
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 |
canMove(com.atlassian.user.User user,
Object source,
Object target,
String movePoint) |
boolean |
canRemove(com.atlassian.user.User user,
Object target) |
boolean |
canRemoveHierarchy(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) |
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager) |
canCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManager
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 canMove(com.atlassian.user.User user, Object source, Object target, String movePoint)
public boolean canRemoveHierarchy(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 void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
public boolean canCreate(com.atlassian.user.User user, Object container)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate
Copyright © 2003–2017 Atlassian. All rights reserved.