com.atlassian.bamboo.plugins.web.conditions
Class AbstractPlanPermissionCondition

java.lang.Object
  extended by com.atlassian.bamboo.plugins.web.conditions.AbstractPlanPermissionCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition
Direct Known Subclasses:
AdministerPlanPermissionCondition, EditPlanPermissionCondition

public abstract class AbstractPlanPermissionCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition


Field Summary
protected  BambooPermissionManager bambooPermissionManager
           
 
Constructor Summary
AbstractPlanPermissionCondition()
           
 
Method Summary
protected  boolean checkPlanPermission(java.util.Map<java.lang.String,java.lang.Object> context, org.acegisecurity.acls.Permission permission)
           
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 void setBambooPermissionManager(BambooPermissionManager bambooPermissionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.web.Condition
shouldDisplay
 

Field Detail

bambooPermissionManager

protected BambooPermissionManager bambooPermissionManager
Constructor Detail

AbstractPlanPermissionCondition

public AbstractPlanPermissionCondition()
Method Detail

init

public void init(java.util.Map<java.lang.String,java.lang.String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Throws:
com.atlassian.plugin.PluginParseException

checkPlanPermission

protected boolean checkPlanPermission(java.util.Map<java.lang.String,java.lang.Object> context,
                                      org.acegisecurity.acls.Permission permission)

setBambooPermissionManager

public void setBambooPermissionManager(BambooPermissionManager bambooPermissionManager)


Copyright © 2010 Atlassian. All Rights Reserved.