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
@Deprecated public class CreateContentCondition extends BaseConfluenceCondition
Deprecated.since 5.11. UseCreatePageOrBlogpostCondition
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.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description CreateContentCondition()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
init(Map<String,String> params)
Deprecated.void
setSpaceManager(SpaceManager spaceManager)
Deprecated.boolean
shouldDisplay(WebInterfaceContext context)
Deprecated.-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
-
-
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
Deprecated.- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Overrides:
init
in classBaseConfluenceCondition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
Deprecated.- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
Deprecated.
-
-