The InstanceDetailLdkitReaderGenerator class is responsible for generating the aggregate-specific implementation part of the list capability using the LDkit library. This class provides specific logic for template population and generation of dependencies needed for the data layer of the list capability of the generated application.

Hierarchy (View Summary)

Constructors

Properties

_filePath: string
_templatePath: string
_templateRenderer: TemplateGenerator<DetailTemplate>

Methods

  • Retrieves the title of a template page in the specified language.

    Parameters

    • pageTitleLanguageString: undefined | LanguageString

      An object containing language-specific titles.

    • languageId: string = "en"

      The language identifier for the title. Defaults to "en", if not provided.

    Returns null | string

    The page title in the specified language, or the first available language if not found.