public class BlueprintResource extends AbstractRestResource
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_BP_MODULE_COMPLETE_KEY |
static String |
PARAM_CONTENT_BLUEPRINT_ID |
static String |
PARAM_ID |
static String |
PARAM_KEY |
static String |
PARAM_PAGE_TITLE |
static String |
PARAM_SKIP |
static String |
PARAM_SPACE_KEY |
| Constructor and Description |
|---|
BlueprintResource(com.atlassian.confluence.spaces.SpaceManager spaceManager,
com.atlassian.confluence.security.PermissionManager permissionManager,
com.atlassian.confluence.pages.PageManager pageManager,
com.atlassian.confluence.languages.LocaleManager localeManager,
com.atlassian.confluence.util.i18n.I18NBeanFactory i18NBeanFactory,
com.atlassian.confluence.util.i18n.DocumentationBeanFactory documentationBeanFactory,
UserBlueprintConfigManager userBlueprintConfigManager,
ContentBlueprintManager contentBlueprintManager,
BlueprintWebItemService webItemService,
com.atlassian.confluence.security.SpacePermissionManager spacePermissionManager) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
canCreatePage(String spaceKey,
String pageTitle) |
ContentBlueprint |
create(ContentBlueprint blueprint) |
Integer |
deleteAll() |
ContentBlueprint |
get(String blueprintModuleCompleteKey) |
ContentBlueprint |
get(UUID id) |
List<ContentBlueprint> |
getAllContentBlueprints() |
ContentBlueprint |
getByModuleCompleteKey(String moduleCompleteKey) |
List<CreateDialogWebItemEntity> |
getWebItems(String spaceKey) |
void |
skipHowToUse(UUID contentBlueprintId,
Boolean skip)
Called when the User indicates via checkbox that they don't want to see the How-to-Use Blueprint dialog page
again.
|
checkAdminPermission, checkEmptyParameter, checkNullEntity, checkNullParameter, checkSpaceAdminPermission, getAndCheckSpace, getUserpublic static final String PARAM_SPACE_KEY
public static final String PARAM_PAGE_TITLE
public static final String PARAM_CONTENT_BLUEPRINT_ID
public static final String PARAM_SKIP
public static final String PARAM_ID
public static final String PARAM_BP_MODULE_COMPLETE_KEY
public static final String PARAM_KEY
public BlueprintResource(com.atlassian.confluence.spaces.SpaceManager spaceManager,
com.atlassian.confluence.security.PermissionManager permissionManager,
com.atlassian.confluence.pages.PageManager pageManager,
com.atlassian.confluence.languages.LocaleManager localeManager,
com.atlassian.confluence.util.i18n.I18NBeanFactory i18NBeanFactory,
com.atlassian.confluence.util.i18n.DocumentationBeanFactory documentationBeanFactory,
UserBlueprintConfigManager userBlueprintConfigManager,
ContentBlueprintManager contentBlueprintManager,
BlueprintWebItemService webItemService,
com.atlassian.confluence.security.SpacePermissionManager spacePermissionManager)
public List<CreateDialogWebItemEntity> getWebItems(String spaceKey)
public Boolean canCreatePage(String spaceKey, String pageTitle)
public void skipHowToUse(UUID contentBlueprintId, Boolean skip)
public ContentBlueprint get(UUID id)
public ContentBlueprint get(String blueprintModuleCompleteKey)
public List<ContentBlueprint> getAllContentBlueprints()
public ContentBlueprint create(ContentBlueprint blueprint)
public ContentBlueprint getByModuleCompleteKey(String moduleCompleteKey)
public Integer deleteAll()
Copyright © 2017 Atlassian. All rights reserved.