public class PermissionHelper extends Object
Constructor and Description |
---|
PermissionHelper(PermissionManager permissionManager,
PersonalInformationManager personalInformationManager,
PageManager pageManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Object object) |
boolean |
canAttachFile(com.atlassian.user.User user,
Object object) |
boolean |
canComment(com.atlassian.user.User user,
Object object) |
boolean |
canCreateBlogPost(com.atlassian.user.User user,
Space space) |
boolean |
canCreatePage(com.atlassian.user.User user,
Space space) |
boolean |
canCreatePersonalSpace(com.atlassian.user.User user) |
boolean |
canCreateSpace(com.atlassian.user.User user) |
boolean |
canEdit(com.atlassian.user.User user,
Object object) |
boolean |
canExport(com.atlassian.user.User user,
Object object) |
boolean |
canRemove(com.atlassian.user.User user,
Object object) |
boolean |
canRemoveHierarchy(com.atlassian.user.User user,
Object target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
Object object) |
boolean |
canView(com.atlassian.user.User user,
Object object) |
boolean |
canViewPage(com.atlassian.user.User user,
long id) |
boolean |
canViewPage(com.atlassian.user.User user,
String spaceKey,
String pageTitle) |
boolean |
isConfluenceAdministrator(com.atlassian.user.User user) |
boolean |
isGlobalAnonymousAccessEnabled() |
boolean |
isSystemAdministrator(com.atlassian.user.User user) |
public PermissionHelper(PermissionManager permissionManager, PersonalInformationManager personalInformationManager, PageManager pageManager)
public boolean canEdit(com.atlassian.user.User user, Object object)
public boolean canView(com.atlassian.user.User user, Object object)
public boolean canRemove(com.atlassian.user.User user, Object object)
public boolean canRemoveHierarchy(com.atlassian.user.User user, Object target)
public boolean canExport(com.atlassian.user.User user, Object object)
public boolean canComment(com.atlassian.user.User user, Object object)
public boolean canAttachFile(com.atlassian.user.User user, Object object)
public boolean isConfluenceAdministrator(com.atlassian.user.User user)
public boolean isSystemAdministrator(com.atlassian.user.User user)
public boolean canCreatePage(com.atlassian.user.User user, Space space)
public boolean canCreateBlogPost(com.atlassian.user.User user, Space space)
public boolean canAdminister(com.atlassian.user.User user, Object object)
public boolean canSetPermissions(com.atlassian.user.User user, Object object)
public boolean canCreateSpace(com.atlassian.user.User user)
public boolean canViewPage(com.atlassian.user.User user, String spaceKey, String pageTitle)
public boolean canViewPage(com.atlassian.user.User user, long id)
public boolean canCreatePersonalSpace(com.atlassian.user.User user)
public boolean isGlobalAnonymousAccessEnabled()
Copyright © 2003–2018 Atlassian. All rights reserved.