public class PageTemplatePermissionsDelegate extends AbstractPermissionsDelegate<PageTemplate>
spacePermissionManager
Constructor and Description |
---|
PageTemplatePermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
PageTemplate target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canEdit(com.atlassian.user.User user,
PageTemplate target) |
boolean |
canExport(com.atlassian.user.User user,
PageTemplate target) |
boolean |
canRemove(com.atlassian.user.User user,
PageTemplate target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
PageTemplate target) |
boolean |
canView(com.atlassian.user.User user,
PageTemplate 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, PageTemplate target)
public boolean canEdit(com.atlassian.user.User user, PageTemplate target)
public boolean canSetPermissions(com.atlassian.user.User user, PageTemplate target)
public boolean canRemove(com.atlassian.user.User user, PageTemplate target)
public boolean canExport(com.atlassian.user.User user, PageTemplate target)
public boolean canAdminister(com.atlassian.user.User user, PageTemplate target)
public boolean canCreate(com.atlassian.user.User user, Object container)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate<PageTemplate>
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.