@DomainNode
BaseTemplate which is part of a Template. Defines templated fields with specific types (defined using JSON schema). Does not provide any composition features, as composition is handled by the Template it is part of.
Inheritors
Constructors
Link copied to clipboard
constructor(name: String, description: String, templateFieldSpecifications: MutableMap<String, String>)
Properties
Link copied to clipboard
The description of this entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ConvertWith(converter = LazyLoadingContextConverter::class)
Link copied to clipboard
Version used for optimistic locking
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Link copied to clipboard
Link copied to clipboard
internal suspend fun <T : Node?> loadNodesOfRelationship(property: KProperty1<*, *>, loader: LazyLoadingSubqueryGenerator<T>.() -> Unit?)
Link copied to clipboard
Link copied to clipboard
protected fun <T : Node> NodeSetProperty(): PropertyDelegateProvider<Node, NodeSetPropertyDelegate<T>>
Link copied to clipboard
Link copied to clipboard
Schema of a template field by name of the template field. Error if the field does not exist.
fun templateFieldSpecifications(namePrefix: String? = null, @Autowired objectMapper: ObjectMapper): List<JSONField>
All template field specifications, if a `namePrefix` is provided, only those matching it