public class AttachmentPermissionsDelegate extends AbstractPermissionsDelegate
spacePermissionManager
Constructor and Description |
---|
AttachmentPermissionsDelegate() |
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 |
canRemove(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) |
SpaceManager |
getSpaceManager() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager) |
void |
setContentTypeManager(ContentTypeManager contentTypeManager) |
void |
setPermissionManagerTarget(DefaultPermissionManager permissionManager) |
void |
setSpaceManager(SpaceManager spaceManager) |
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, 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 canExport(com.atlassian.user.User user, Object target)
public boolean canAdminister(com.atlassian.user.User user, Object target)
public boolean canCreate(com.atlassian.user.User user, Object container)
public void setSpaceManager(SpaceManager spaceManager)
public void setPermissionManagerTarget(DefaultPermissionManager permissionManager)
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
protected Space getSpaceFrom(Object target)
getSpaceFrom
in class AbstractPermissionsDelegate
public SpaceManager getSpaceManager()
public void setContentTypeManager(ContentTypeManager contentTypeManager)
public void setAttachmentManager(AttachmentManager attachmentManager)
Copyright © 2003–2017 Atlassian. All rights reserved.