SetDatasetWording

@Summary(value = "Set the wording of a dataset")
@CommandRoute(enabled = false)
data class SetDatasetWording(val dataset: String, val title: String? = null, val recordNoun: String? = null, val fields: ObjectNode? = null)

Sets the wording a tenant's readers see over one dataset in one application: its title, its record noun and its fields' labels, order and narrowing (the view engine's DatasetOverrides). The wording's id is derived on the server from the tenant, the application and the dataset, so this command has no generated route: the view store's wording route dispatches it. The expected version 0 is "never written".

Constructors

Link copied to clipboard
constructor(dataset: String, title: String? = null, recordNoun: String? = null, fields: ObjectNode? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val fields: ObjectNode?

The fields' wording as the view engine reads it; the server checks its shape and size, not its meaning.

Link copied to clipboard
Link copied to clipboard