com.atlassian.jira.license
Class LicenseBannerHelperImpl

java.lang.Object
  extended by com.atlassian.jira.license.LicenseBannerHelperImpl
All Implemented Interfaces:
LicenseBannerHelper

public class LicenseBannerHelperImpl
extends Object
implements LicenseBannerHelper

Since:
v6.3

Constructor Summary
LicenseBannerHelperImpl(JiraAuthenticationContext context, GlobalPermissionManager globalPermissionManager, UserPropertyManager propertyManager, JiraLicenseManager jiraLicenseManager, SoyTemplateRendererProvider rendererProvider, ExternalLinkUtil externalLinkUtil, FeatureManager featureManager)
           
 
Method Summary
 void clearRemindMe()
          Reset the remind me state of the current user.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseBannerHelperImpl

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

getBanner

@Nonnull
public String getBanner()
Description copied from interface: LicenseBannerHelper
Return the license banner to display in JIRA.

Specified by:
getBanner in interface LicenseBannerHelper
Returns:
the license banner to display in JIRA. "" is returned when no banner should be displayed.

remindMeLater

public void remindMeLater()
Description copied from interface: LicenseBannerHelper
Hide the license banner for the calling user. The banner will re-appear later.

Specified by:
remindMeLater in interface LicenseBannerHelper

remindMeNever

public void remindMeNever()
Description copied from interface: LicenseBannerHelper
Hide the license banner for the calling user. The banner will not re-appear.

Specified by:
remindMeNever in interface LicenseBannerHelper

clearRemindMe

public void clearRemindMe()
Description copied from interface: LicenseBannerHelper
Reset the remind me state of the current user.

Specified by:
clearRemindMe in interface LicenseBannerHelper


Copyright © 2002-2014 Atlassian. All Rights Reserved.