public class NewsletterUserPreferencesManager extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns true if it's been more than 7 days after the first time they logged in.
public boolean shouldShowSignupTip(com.atlassian.fugue.Option<ApplicationUser> user)
For anonymous users this method will always return false.
One side effect of calling this method is that the current time will be stored against a 'newsletter.signup.first.view' user preference for the provided user that will be used in subsequent calls to determine if enough time has elapsed before the newsletter signup tip can be shown.
user- Current user. May be empty for anonymous users.
Copyright © 2002-2015 Atlassian. All Rights Reserved.