public class

LicenseBannerHelperImpl

extends Object
implements LicenseBannerHelper
java.lang.Object
   ↳ com.atlassian.jira.license.LicenseBannerHelperImpl

Summary

Public Constructors
LicenseBannerHelperImpl(JiraAuthenticationContext context, GlobalPermissionManager globalPermissionManager, UserPropertyManager propertyManager, JiraLicenseManager jiraLicenseManager, SoyTemplateRendererProvider rendererProvider, ExternalLinkUtil externalLinkUtil, FeatureManager featureManager)
Public Methods
void clearRemindMe()
Reset the remind me state of the current user.
@Nonnull String getBanner()
Return the license banner to display in JIRA.
void remindMeLater()
Hide the license banner for the calling user.
void remindMeNever()
Hide the license banner for the calling user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.license.LicenseBannerHelper

Public Constructors

public LicenseBannerHelperImpl (JiraAuthenticationContext context, GlobalPermissionManager globalPermissionManager, UserPropertyManager propertyManager, JiraLicenseManager jiraLicenseManager, SoyTemplateRendererProvider rendererProvider, ExternalLinkUtil externalLinkUtil, FeatureManager featureManager)

Public Methods

public void clearRemindMe ()

Reset the remind me state of the current user.

@Nonnull public String getBanner ()

Return the license banner to display in JIRA.

Returns
  • the license banner to display in JIRA. "" is returned when no banner should be displayed.

public void remindMeLater ()

Hide the license banner for the calling user. The banner will re-appear later.

public void remindMeNever ()

Hide the license banner for the calling user. The banner will not re-appear.