public class NewsletterUserPreferencesManager extends Object
Constructor and Description |
---|
NewsletterUserPreferencesManager(com.atlassian.core.util.Clock clock,
ApplicationProperties applicationProperties,
UserPreferencesManager userPreferencesManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldShowSignupTip(com.atlassian.fugue.Option<ApplicationUser> user)
Returns true if it's been more than 7 days after the first time they logged in.
|
public NewsletterUserPreferencesManager(com.atlassian.core.util.Clock clock, ApplicationProperties applicationProperties, UserPreferencesManager userPreferencesManager)
public boolean shouldShowSignupTip(com.atlassian.fugue.Option<ApplicationUser> user)
user
- Current user. May be empty for anonymous users.Copyright © 2002-2015 Atlassian. All Rights Reserved.