com.atlassian.confluence.security.delegate
Class AbstractPermissionsDelegate

java.lang.Object
  extended by com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
All Implemented Interfaces:
PermissionDelegate
Direct Known Subclasses:
ApplicationPermissionsDelegate, AttachmentPermissionsDelegate, BlogPostPermissionsDelegate, CommentPermissionsDelegate, DraftPermissionsDelegate, GlobalDescriptionPermissionsDelegate, LabellingPermissionsDelegate, MailPermissionsDelegate, MailPermissionsDelegate, PagePermissionsDelegate, PageTemplatePermissionsDelegate, PeopleDirectoryPermissionsDelegate, SpacePermissionsDelegate, StatusPermissionDelegate

public abstract class AbstractPermissionsDelegate
extends Object
implements PermissionDelegate


Field Summary
protected  SpacePermissionManager spacePermissionManager
           
 
Constructor Summary
AbstractPermissionsDelegate()
           
 
Method Summary
protected abstract  Space getSpaceFrom(Object target)
           
protected  boolean hasSpaceLevelPermission(String permission, com.atlassian.user.User user, Object target)
           
 void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.security.PermissionDelegate
canAdminister, canCreate, canEdit, canExport, canRemove, canSetPermissions, canView
 

Field Detail

spacePermissionManager

protected SpacePermissionManager spacePermissionManager
Constructor Detail

AbstractPermissionsDelegate

public AbstractPermissionsDelegate()
Method Detail

setSpacePermissionManager

public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)

hasSpaceLevelPermission

protected boolean hasSpaceLevelPermission(String permission,
                                          com.atlassian.user.User user,
                                          Object target)

getSpaceFrom

protected abstract Space getSpaceFrom(Object target)


Copyright © 2003-2013 Atlassian. All Rights Reserved.