com.atlassian.confluence.plugins.dashboard
Class CreateContentCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugins.dashboard.CreateContentCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class CreateContentCondition
extends BaseConfluenceCondition

Condition that determines whether the user in the context has permission to create content of a certain type. The type is specified via the "content" parameter.


Constructor Summary
CreateContentCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateContentCondition

public CreateContentCondition()
Method Detail

init

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

shouldDisplay

public boolean shouldDisplay(WebInterfaceContext context)
Specified by:
shouldDisplay in class BaseConfluenceCondition

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)


Copyright © 2003-2011 Atlassian. All Rights Reserved.