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.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setSpaceManager
(SpaceManager spaceManager) boolean
shouldDisplay
(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
-
Constructor Details
-
CreatePageOrBlogpostCondition
public CreatePageOrBlogpostCondition()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Overrides:
init
in classBaseConfluenceCondition
-
shouldDisplay
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setSpaceManager
-