Interface ContentMacroService.MacroInstanceFinder

    • Method Detail

      • withMacroId

        ContentMacroService.MacroInstanceFinder withMacroId​(String macroId)
        Apply a filter of the macroId, this is currently mandatory.

        If the macroId is not specified in the storage format of the content, then this finder will match against the macro body hash. This is to preserve backwards compatibility.

        Parameters:
        macroId - - The macroId identifying the macro
        Returns:
        this
      • withContentVersion

        ContentMacroService.MacroInstanceFinder withContentVersion​(int version)
        Apply a filter for the content to search, if this is not specified the latest version of the content will be used.
        Parameters:
        version - The version of the page to scan for the macro
        Returns:
        this