Interface ContentMacroService

  • All Known Implementing Classes:
    ContentMacroServiceImpl

    @ExperimentalApi
    public interface ContentMacroService
    Provides methods for interacting with instances of macros on Content.
    Since:
    5.5
    • Method Detail

      • findInContent

        ContentMacroService.MacroInstanceFinder findInContent​(ContentId contentId,
                                                              Expansion... expansion)
        Create a macro instance finder to locate macro instances in the given Content
        Parameters:
        contentId - The content to scan for the macro
        expansion - no expansions on macros are currently supported
        Returns:
        a MacroInstanceFinder