com.atlassian.confluence.plugin.descriptor.web.conditions
Class AbstractPermissionCondition

java.lang.Object
  extended bycom.atlassian.confluence.plugin.descriptor.web.conditions.AbstractConfluenceCondition
      extended bycom.atlassian.confluence.plugin.descriptor.web.conditions.AbstractPermissionCondition
All Implemented Interfaces:
Condition
Direct Known Subclasses:
PagePermissionCondition, SpacePermissionCondition

public abstract class AbstractPermissionCondition
extends AbstractConfluenceCondition


Constructor Summary
AbstractPermissionCondition()
           
 
Method Summary
protected abstract  Object getPermissionTarget(GlobalHelper helper)
           
 void init(Map params)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 boolean shouldDisplay(User user, GlobalHelper helper)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.AbstractConfluenceCondition
shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPermissionCondition

public AbstractPermissionCondition()
Method Detail

init

public void init(Map params)
          throws PluginParseException
Specified by:
init in interface Condition
Overrides:
init in class AbstractConfluenceCondition
Throws:
PluginParseException

shouldDisplay

public boolean shouldDisplay(User user,
                             GlobalHelper helper)
Specified by:
shouldDisplay in class AbstractConfluenceCondition

getPermissionTarget

protected abstract Object getPermissionTarget(GlobalHelper helper)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Confluence is developed by Atlassian.