Service for TemplatedNodes. Provides functions to create, update and delete
Parameters
injected ObjectMapper, used to parse JSONFieldInput
used to map JsonNode to String
Functions
Updates the TemplatedNode.templatedFields of a TemplatedNode based on field Does not check authorization permissions, and does not save the provided node afterwards. Validates the new value of the updated field.
Updates the TemplatedNode.templatedFields of a TemplatedNode based on the templatedFields Does not check authorization permissions, and does not save the provided node afterwards Validates the new value of the fields If templateWasUpdated, validates all fields. Requires that the new template is already set
Updates the TemplatedNode.templatedFields of a TemplatedNode based on the input Does not check authorization permissions, and does not save the provided node afterwards Validates the new value of the fields If templateWasUpdated, validates all fields. Requires that the new template is already set
Validates a value for a templated field
Validates the initial input for TemplatedNode.templatedFields If no input is provided for a field, null is assigned as default value
Validates a value of a templated field
After the template of node was updated, validate all fields and remove fields which are no longer necessary