public interface PromotedBlueprintService
| Modifier and Type | Method and Description |
|---|---|
boolean |
demoteBlueprint(String blueprintId,
String spaceKey)
Unpromote a blueprint
|
Collection<ContentBlueprint> |
getPromotedBlueprints(Collection<ContentBlueprint> blueprints,
com.atlassian.confluence.spaces.Space space)
Takes in a list of blueprints and returns the ones that are promoted in the specified space.
|
boolean |
promoteBlueprint(String blueprintId,
String spaceKey)
Promote a blueprint.
|
void |
promoteBlueprints(List<String> blueprintIds,
com.atlassian.confluence.spaces.Space space)
Promote a list of blueprints
|
@Nonnull Collection<ContentBlueprint> getPromotedBlueprints(@Nonnull Collection<ContentBlueprint> blueprints, @Nullable com.atlassian.confluence.spaces.Space space)
Filtering out enabled and disabled <blueprint>s are a separate concern.
boolean promoteBlueprint(@Nonnull String blueprintId, @Nonnull String spaceKey) throws BlueprintIllegalArgumentException
blueprintId - blueprint UUID stringspaceKey - space in which the blueprint is to be promoted or demotedBlueprintIllegalArgumentExceptionboolean demoteBlueprint(@Nonnull String blueprintId, @Nonnull String spaceKey) throws BlueprintIllegalArgumentException
blueprintId - blueprint UUID stringspaceKey - space in which the blueprint is to be promoted or demotedBlueprintIllegalArgumentExceptionCopyright © 2017 Atlassian. All rights reserved.