com.atlassian.confluence.security.delegate
Class TargetToLatestVersionDecorator

java.lang.Object
  extended by com.atlassian.confluence.security.delegate.TargetToLatestVersionDecorator
All Implemented Interfaces:
PermissionDelegate

public class TargetToLatestVersionDecorator
extends Object
implements PermissionDelegate


Constructor Summary
TargetToLatestVersionDecorator(PermissionDelegate delegate)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetToLatestVersionDecorator

public TargetToLatestVersionDecorator(PermissionDelegate delegate)
Method Detail

canView

public boolean canView(com.atlassian.user.User user,
                       Object target)
Specified by:
canView in interface PermissionDelegate

canEdit

public boolean canEdit(com.atlassian.user.User user,
                       Object target)
Specified by:
canEdit in interface PermissionDelegate

canSetPermissions

public boolean canSetPermissions(com.atlassian.user.User user,
                                 Object target)
Specified by:
canSetPermissions in interface PermissionDelegate

canRemove

public boolean canRemove(com.atlassian.user.User user,
                         Object target)
Specified by:
canRemove in interface PermissionDelegate

canExport

public boolean canExport(com.atlassian.user.User user,
                         Object target)
Specified by:
canExport in interface PermissionDelegate

canAdminister

public boolean canAdminister(com.atlassian.user.User user,
                             Object target)
Specified by:
canAdminister in interface PermissionDelegate

canCreate

public boolean canCreate(com.atlassian.user.User user,
                         Object container)
Specified by:
canCreate in interface PermissionDelegate


Copyright © 2003-2013 Atlassian. All Rights Reserved.