Class ContentMacroServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.ContentMacroServiceImpl
- All Implemented Interfaces:
ContentMacroService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.api.service.content.ContentMacroService
ContentMacroService.MacroInstanceFinder
-
Constructor Summary
ConstructorDescriptionContentMacroServiceImpl
(ContentEntityManagerInternal contentEntityManager, MacroDefinitionTransformer macroDefinitionTransformer, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionfindInContent
(ContentId contentId, Expansion... expansion) Create a macro instance finder to locate macro instances in the given Content
-
Constructor Details
-
ContentMacroServiceImpl
public ContentMacroServiceImpl(ContentEntityManagerInternal contentEntityManager, MacroDefinitionTransformer macroDefinitionTransformer, PermissionManager permissionManager) - Since:
- 7.6
-
-
Method Details
-
findInContent
public ContentMacroService.MacroInstanceFinder findInContent(ContentId contentId, Expansion... expansion) Description copied from interface:ContentMacroService
Create a macro instance finder to locate macro instances in the given Content- Specified by:
findInContent
in interfaceContentMacroService
- Parameters:
contentId
- The content to scan for the macroexpansion
- no expansions on macros are currently supported- Returns:
- a MacroInstanceFinder
-