com.atlassian.confluence.plugin.descriptor.web.conditions
Class SpaceFunctionPermissionCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.SpaceFunctionPermissionCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public class SpaceFunctionPermissionCondition
- extends BaseConfluenceCondition
A condition for checking the space function level permissions such as create space. The conditions to check should be
specified within the permission
parameter as a comma separated list.
- Since:
- 2.10.2
- See Also:
for the String representations of the available permissions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceFunctionPermissionCondition
public SpaceFunctionPermissionCondition()
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
setSpacePermissionManager
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
Copyright © 2003-2014 Atlassian. All Rights Reserved.