public class BandanaBlueprintStateController extends AbstractBandanaBlueprintStateController implements BlueprintStateController
| Constructor and Description |
|---|
BandanaBlueprintStateController(com.atlassian.bandana.BandanaManager bandanaManager,
ContentBlueprintManager contentBlueprintManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
PageTemplateGrouper pageTemplateGrouper,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableBlueprint(UUID blueprintId,
com.atlassian.confluence.spaces.Space space)
Disable a content blueprint plugin by its id for a particular space, or globally if space is null.
|
void |
disableBlueprints(Set<UUID> blueprintIds,
com.atlassian.confluence.spaces.Space space)
Disable a set of content blueprint plugin ids for a particular space, or globally if space is null.
|
void |
enableBlueprint(UUID blueprintId,
com.atlassian.confluence.spaces.Space space)
Enable a content blueprint plugin id for a particular space, or globally if space is null.
|
Map<UUID,BlueprintState> |
getAllContentBlueprintState(String section,
com.atlassian.confluence.user.ConfluenceUser user,
com.atlassian.confluence.spaces.Space space)
Returns a set of blueprint keys that are available to a user in a given space.
|
Set<UUID> |
getDisabledBlueprintIds(com.atlassian.confluence.spaces.Space space)
Returns a set of disabled blueprints UUIDs.
|
Set<String> |
getDisabledBlueprintModuleCompleteKeys(com.atlassian.confluence.spaces.Space space)
Returns a set of disabled blueprints module complete keys.
|
buildBlueprintStateMap, disableBlueprint, disableBlueprints, enableBlueprint, getDisabledBlueprintIds, getDisabledPluginIds, getDisabledSpaceBlueprintModuleCompleteKeyspublic BandanaBlueprintStateController(com.atlassian.bandana.BandanaManager bandanaManager,
ContentBlueprintManager contentBlueprintManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
PageTemplateGrouper pageTemplateGrouper,
com.atlassian.plugin.PluginAccessor pluginAccessor)
public void enableBlueprint(UUID blueprintId, com.atlassian.confluence.spaces.Space space)
BlueprintStateControllerenableBlueprint in interface BlueprintStateControllerblueprintId - id of the blueprint to be enabledspace - the space to enable this module inpublic void disableBlueprint(UUID blueprintId, com.atlassian.confluence.spaces.Space space)
BlueprintStateControllerdisableBlueprint in interface BlueprintStateControllerblueprintId - id of the blueprint to be disabledspace - the space to disable this module inpublic void disableBlueprints(Set<UUID> blueprintIds, com.atlassian.confluence.spaces.Space space)
BlueprintStateControllerdisableBlueprints in interface BlueprintStateControllerblueprintIds - set of blueprint ids to be disabledspace - the space to disable this module inpublic Set<UUID> getDisabledBlueprintIds(com.atlassian.confluence.spaces.Space space)
BlueprintStateControllergetDisabledBlueprintIds in interface BlueprintStateControllerspace - (required) the spacepublic Set<String> getDisabledBlueprintModuleCompleteKeys(com.atlassian.confluence.spaces.Space space)
BlueprintStateControllergetDisabledBlueprintModuleCompleteKeys in interface BlueprintStateControllerspace - (required) the spacepublic Map<UUID,BlueprintState> getAllContentBlueprintState(@Nonnull String section, @Nullable com.atlassian.confluence.user.ConfluenceUser user, @Nullable com.atlassian.confluence.spaces.Space space)
BlueprintStateControllergetAllContentBlueprintState in interface BlueprintStateControlleruser - (optional) the user. null for anonymousspace - (optional) the space. If null is specified, disabled in space state will be false for all resultsCopyright © 2017 Atlassian. All rights reserved.