CommandAction

class CommandAction @InternalWowApi constructor(val type: CommandType, val ref: AggregateRef, val scope: Scope, val creation: Creation)

What a caller asks to do, as action-level authorization sees it before the body is decoded: a command of type on ref, in scope, and whether the command may create the aggregate (creation).

A request a transformer handles is authorized as it arrives, and again as the command it becomes when the transformer changed its type or its aggregate. As it arrives, its ref names the aggregate id CommandGateway.UNADDRESSED when the request names none, and a mounted command, which no aggregate decides, has Creation.NONE.

Constructors

Link copied to clipboard
constructor(type: CommandType, ref: AggregateRef, scope: Scope, creation: Creation)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String