Package-level declarations

Types

Link copied to clipboard

The aggregate was deleted (DeleteAggregate).

Link copied to clipboard

The aggregate's deletion was taken back (RestoreAggregate).

Link copied to clipboard
@Description(value = "Marks the aggregate deleted; its events stay in the log.")
class DeleteAggregate

Marks the aggregate deleted (AggregateDeleted). A deleted aggregate refuses every command but RestoreAggregate; its events stay in the log.

Link copied to clipboard
object Lifecycle

The lifecycle of every aggregate: system commands the kernel decides for any aggregate model without user code, and the system events they produce. They change the aggregate's metadata, not its state: the deleted mark and the scope (the owner and the space change only through them).

Link copied to clipboard
class OwnerTransferred @InternalWowApi constructor(val ownerId: String)

The aggregate now belongs to the owner ownerId (TransferOwner).

Link copied to clipboard
@Description(value = "Takes back the deletion of a deleted aggregate.")
class RestoreAggregate

Takes back the deletion of a deleted aggregate (AggregateRestored).

Link copied to clipboard
class SpaceTransferred @InternalWowApi constructor(val spaceId: String)

The aggregate now sits in the space spaceId (TransferSpace).

Link copied to clipboard
@Description(value = "Gives the aggregate to the owner ownerId.")
class TransferOwner @InternalWowApi constructor(val ownerId: String)

Gives the aggregate to the owner ownerId, the owner part of its scope; see OwnerTransferred.

Link copied to clipboard
@Description(value = "Moves the aggregate to the space spaceId.")
class TransferSpace @InternalWowApi constructor(val spaceId: String)

Moves the aggregate to the space spaceId, the space part of its scope; see SpaceTransferred.