domain: client
language: javascript
class Item class
calls the can_delete method to check whether a user have a right to delete a record, and if not, returns
asks a user to confirm the operation
calls the delete method to delete the record
calls the apply method to write changes to the application database