Class CreatePageOrBlogpostCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.CreatePageOrBlogpostCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public final class CreatePageOrBlogpostCondition extends BaseConfluenceCondition
Determines if the current user can create a page or blogpost somewhere in Confluence.- Since:
- 5.11
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description CreatePageOrBlogpostCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
init
public void init(Map<String,String> params)
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Overrides:
init
in classBaseConfluenceCondition
-
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
-
-