ViewEntry

data class ViewEntry(val id: String, val definitionId: String, val title: String, val kind: ViewKind, val scope: ViewAudience, val revision: String, val config: Map<String, Any?>, val version: Int? = null, val source: SystemViewSource? = null)

One view a caller reads by id, whatever its audience, as GET /view-store/views/{id} answers it: a personal view of the caller, a shared view of its tenant, or a system view (SystemView) of its tenant and application.

Constructors

Link copied to clipboard
constructor(id: String, definitionId: String, title: String, kind: ViewKind, scope: ViewAudience, revision: String, config: Map<String, Any?>, version: Int? = null, source: SystemViewSource? = null)

Properties

Link copied to clipboard

the engine's ViewConfig.

Link copied to clipboard

the definition it is a view of.

Link copied to clipboard
val id: String

a saved view's aggregate id, or a configured system view's own.

Link copied to clipboard

its config's kind.

Link copied to clipboard

what a client compares to see that the view changed: a saved view's version as text, a system view's content hash.

Link copied to clipboard

its audience.

Link copied to clipboard

where a system view comes from; null for a personal or shared view.

Link copied to clipboard

its title.

Link copied to clipboard
val version: Int?

the aggregate version a write of the view expects (If-Match); null for a configured system view, which is no aggregate.