SystemView

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

A view every user of a tenant's application reads, as GET /view-store/system-views answers it: one the service configures (SystemViewSource.CONFIGURED, read-only), or one stored as a view of the tenant (platform) under the owner (system) (SystemViewSource.STORED), global to every tenant. Its revision is a hash of its content, whatever its source; a stored one also has the aggregate version its writes expect (If-Match).

Its id is a configured view's own or a stored view's aggregate id, never system:…, which is kept for the views a host declares in code; its config is the engine's ViewConfig.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Always ViewAudience.SYSTEM, system on the wire: the engine reads the scope from it.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val version: Int?