com.atlassian.confluence.security
Interface PermissionDelegate

All Known Implementing Classes:
AbstractPermissionsDelegate, GlobalLabelPermissionDelegate, LinkPermissionsDelegate, UserLabelPermissionDelegate

public interface PermissionDelegate

Each type of target that can have permissions checked against it will have a delegate. The delegate's job is to separate out the different permissions checks in a cleaner, more maintainable fashion.


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)
           
 

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)


Confluence is developed by Atlassian.