public class PagePermissionsDelegate extends AbstractPermissionsDelegate<Page>
spacePermissionManager
Constructor and Description |
---|
PagePermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Page target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canEdit(com.atlassian.user.User user,
Page target) |
boolean |
canExport(com.atlassian.user.User user,
Page target) |
boolean |
canMove(com.atlassian.user.User user,
Page source,
Object target,
String movePoint) |
boolean |
canRemove(com.atlassian.user.User user,
Page target) |
boolean |
canRemoveHierarchy(com.atlassian.user.User user,
Page target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
Page target) |
boolean |
canView(com.atlassian.user.User user,
Page target) |
protected Space |
getSpaceFrom(Object target) |
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager) |
canCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManager
public boolean canView(com.atlassian.user.User user, Page target)
public boolean canEdit(com.atlassian.user.User user, Page target)
public boolean canSetPermissions(com.atlassian.user.User user, Page target)
public boolean canRemove(com.atlassian.user.User user, Page target)
public boolean canMove(com.atlassian.user.User user, Page source, Object target, String movePoint)
public boolean canRemoveHierarchy(com.atlassian.user.User user, Page target)
public boolean canExport(com.atlassian.user.User user, Page target)
public boolean canAdminister(com.atlassian.user.User user, Page 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<Page>
target
- an entity object from which we want to extract a space containerSpace
container of the given target if availableCopyright © 2003–2020 Atlassian. All rights reserved.