com.atlassian.confluence.plugins.dashboard
Class CreateContentCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugins.dashboard.CreateContentCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateContentCondition
public CreateContentCondition()
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
- 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-2013 Atlassian. All Rights Reserved.