checkNotDeleted

protected void checkNotDeleted()

Ensures that the entity is not marked as deleted.

See also

io.spine.server.entity.LifecycleFlags#getDeleted()

Throws

CannotModifyDeletedEntity

if the entity is marked as deleted