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