Delete

@Summary(value = "Delete tree node")
@Description(value = "Id is the tenant ID.")
interface Delete<E : Deleted> : TreeCoded

Deletes the node code, which has no children. 9.x took the code from the route's path (DELETE .../{code}); a 10.x route carries the aggregate's id only, so the code is in the command's body.

Properties

Link copied to clipboard
open override val level: Int

Functions

Link copied to clipboard
abstract fun toEvent(previous: Flat): E

The event of the deletion of previous, the node as it was.