com.atlassian.confluence.security.delegate
Class UserPermissionsDelegate

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

public class UserPermissionsDelegate
extends AbstractPermissionsDelegate


Field Summary
 
Fields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
spacePermissionManager
 
Constructor Summary
UserPermissionsDelegate()
           
 
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)
           
 
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

UserPermissionsDelegate

public UserPermissionsDelegate()
Method Detail

getSpaceFrom

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

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)


Confluence is developed by Atlassian.