Protected
Readonly
_fileProtected
Readonly
_templateProtected
Readonly
_templateManages the presentation layer artifact generation process which is invoked within the presentation layer generation stage.
The generation context which contains necessary data including the application graph context.
A promise that resolves to a LayerArtifact
representing the generated presentation layer.
Protected
getRetrieves the title of a template page in the specified language.
An object containing language-specific titles.
The language identifier for the title. Defaults to "en", if not provided.
The page title in the specified language, or the first available language if not found.
This method is responsible for processing and rendering of the template to generate a React component source code for editing an instance of the specified aggregate. This method prepares necessary placeholders to be populated and applies template rendering. After rendering, the artifact which includes the component source code as well as other metadata for the generated component is created.
Dependencies providing the information about the aggregate and context for the template.
A Promise which resolves to a LayerArtifact that contains generated React component for instance edit capability.
Protected
restoreRestores the data model interface for an aggregate and converts it to the corresponding JSON schema.
The metadata of the aggregate for which the data model interface needs to be restored.
The restored schema as a JSON Schema object.
The
EditInstanceComponentTemplateProcessor
class is a generator responsible for generating React component source code to enable edit instance capability for a given aggregate instance. It extends thePresentationLayerTemplateGenerator
template generator and makes use ofEditInstanceReactComponentTemplate
for template population and rendering.