com.atlassian.confluence.security.delegate
Class AttachmentPermissionsDelegate

java.lang.Object
  extended bycom.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
      extended bycom.atlassian.confluence.security.delegate.AttachmentPermissionsDelegate
All Implemented Interfaces:
PermissionDelegate

public class AttachmentPermissionsDelegate
extends AbstractPermissionsDelegate


Field Summary
 
Fields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
spacePermissionManager
 
Constructor Summary
AttachmentPermissionsDelegate()
           
 
Method Summary
 boolean canAdminister(User user, Object target)
           
 boolean canCreate(User user, Object container)
           
 boolean canEdit(User user, Object target)
           
 boolean canExport(User user, Object target)
           
 boolean canRemove(User user, Object target)
           
 boolean canSetPermissions(User user, Object target)
           
 boolean canView(User user, Object target)
           
protected  Space getSpaceFrom(Object target)
           
 void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
           
 void setPermissionManagerTarget(PermissionManager permissionManager)
           
 void setUserAccessor(UserAccessor userAccessor)
           
 
Methods inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
hasSpaceLevelPermission, setSpacePermissionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentPermissionsDelegate

public AttachmentPermissionsDelegate()
Method Detail

canView

public boolean canView(User user,
                       Object target)

canEdit

public boolean canEdit(User user,
                       Object target)

canSetPermissions

public boolean canSetPermissions(User user,
                                 Object target)

canRemove

public boolean canRemove(User user,
                         Object target)

canExport

public boolean canExport(User user,
                         Object target)

canAdminister

public boolean canAdminister(User user,
                             Object target)

canCreate

public boolean canCreate(User user,
                         Object container)

setPermissionManagerTarget

public void setPermissionManagerTarget(PermissionManager permissionManager)

setUserAccessor

public void setUserAccessor(UserAccessor userAccessor)

setContentPermissionManager

public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)

getSpaceFrom

protected Space getSpaceFrom(Object target)
Specified by:
getSpaceFrom in class AbstractPermissionsDelegate


Confluence is developed by Atlassian.