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. UseCreatePageOrBlogpostConditionCondition 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 voidinit(Map<String,String> params)Deprecated.voidsetSpaceManager(SpaceManager spaceManager)Deprecated.booleanshouldDisplay(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:
initin interfacecom.atlassian.plugin.web.Condition- Overrides:
initin classBaseConfluenceCondition- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
Deprecated.- Specified by:
shouldDisplayin classBaseConfluenceCondition
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
Deprecated.
-
-