Class UserCanCreatePersonalSpaceCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserCanCreatePersonalSpaceCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class UserCanCreatePersonalSpaceCondition extends BaseConfluenceCondition
This condition will return true if a user had permission to create a personal space It will return false, if the user is null.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description UserCanCreatePersonalSpaceCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setPermissionManager(PermissionManager permissionManager)
void
setPersonalInformationManager(PersonalInformationManager personalInformationManager)
protected boolean
shouldDisplay(WebInterfaceContext context)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
-
-
-
Method Detail
-
shouldDisplay
protected boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setPermissionManager
public void setPermissionManager(PermissionManager permissionManager)
-
setPersonalInformationManager
public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
-
-