public class DefaultUserBlueprintConfigManager extends Object implements UserBlueprintConfigManager
| Constructor and Description |
|---|
DefaultUserBlueprintConfigManager(com.atlassian.confluence.user.UserAccessor userAccessor,
ContentBlueprintManager contentBlueprintManager) |
| Modifier and Type | Method and Description |
|---|---|
Set<UUID> |
getSkipHowToUseKeys(com.atlassian.confluence.user.ConfluenceUser user)
Return a set of Blueprint complete module keys for which the user does not wish to see the How-to-Use
dialog page.
|
BPUserPreferences |
getUserPreferences(com.atlassian.confluence.user.ConfluenceUser user) |
boolean |
isFirstBlueprintOfTypeForUser(UUID id,
com.atlassian.confluence.user.ConfluenceUser user) |
void |
setBlueprintCreatedByUser(UUID id,
com.atlassian.confluence.user.ConfluenceUser user)
Flags that a Blueprint of a certain type has been created by a given user
|
void |
setSkipHowToUse(com.atlassian.confluence.user.ConfluenceUser user,
UUID contentBlueprintId,
boolean skip)
Sets the flag to skip the How-to-Use dialog page for a certain Blueprint and User.
|
public DefaultUserBlueprintConfigManager(com.atlassian.confluence.user.UserAccessor userAccessor,
ContentBlueprintManager contentBlueprintManager)
public Set<UUID> getSkipHowToUseKeys(com.atlassian.confluence.user.ConfluenceUser user)
UserBlueprintConfigManagergetSkipHowToUseKeys in interface UserBlueprintConfigManageruser - a Confluence user to retrieve settings forpublic void setSkipHowToUse(com.atlassian.confluence.user.ConfluenceUser user,
UUID contentBlueprintId,
boolean skip)
UserBlueprintConfigManagersetSkipHowToUse in interface UserBlueprintConfigManageruser - the user to skip the Blueprint forcontentBlueprintId - the id for the Blueprint where How-to-Use should be skippedskip - true if the How-to-Use should be skipped, false if shownpublic boolean isFirstBlueprintOfTypeForUser(UUID id, com.atlassian.confluence.user.ConfluenceUser user)
isFirstBlueprintOfTypeForUser in interface UserBlueprintConfigManagerid - the id of the blueprintuser - the user to check againstpublic void setBlueprintCreatedByUser(UUID id, com.atlassian.confluence.user.ConfluenceUser user)
UserBlueprintConfigManagersetBlueprintCreatedByUser in interface UserBlueprintConfigManagerpublic BPUserPreferences getUserPreferences(com.atlassian.confluence.user.ConfluenceUser user)
Copyright © 2017 Atlassian. All rights reserved.