delete

open fun delete(id: ActivityDirectiveId)

Delete an activity specified by directive id, and throw an error if any activities are anchored to it.


abstract fun delete(id: ActivityDirectiveId, strategy: DeletedAnchorStrategy)

Delete an activity specified by directive id, with a strategy to handle activities that are anchored to it.

If other anchored activities are affected, extra addition and deletion edits may be created.


open fun delete(directive: Directive<AnyDirective>)

Delete an activity and throw an error if any activities are anchored to it.


abstract fun delete(directive: Directive<AnyDirective>, strategy: DeletedAnchorStrategy)

Delete an activity with a strategy to handle activities that are anchored to it.

If other anchored activities are affected, extra addition and deletion edits may be created.