LedgerCommand

sealed interface LedgerCommand

A system command of the ledger: an operator's action on subscription's entry of the parked aggregate id of tenantId, of the aggregate type aggregate of context. Its fields are plain values, so any operations tool, not only Wow's own, writes its JSON: {"subscription": ..., "context": ..., "aggregate": ..., "tenantId": ..., "id": ...}. A caller sends it as the system command its name says (Ledger.COMMANDS), which a service's call permits must list explicitly (wow.ledger.*).

Inheritors

Properties

Link copied to clipboard
abstract val aggregate: String
Link copied to clipboard
abstract val context: String
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val subscription: String
Link copied to clipboard
abstract val tenantId: String

Functions

Link copied to clipboard
open fun toRef(): AggregateRef

The parked aggregate this names.