...
- If item is deleted and update is undeletednot deleted, this is allowed and the resulting item is not deleted
- If item is not deleted and update is not deleted, this is allowed and the resulting item is not deleted
- If item is not deleted and update is deleted, this is allowed and resulting item is deleted (no need to prevent this)
- If item is deleted and update is deleted, then throw an EntityNotFoundExceptionIf item is not deleted and update is not deleted, this is allowed and the resulting item is not deleted
DELETE /apples/id or DELETE /apples?id=x
...