title: Override delete method of custom object
body: <p>we have an custom object in our instance that effectively is a junction object. Right now, if a relationship is removed, the record in the junction object is deleted. </p>
  
  <p>We want to change this behavior to such that the junction object is marked as deleted, but not physically deleted (please understand that I cannot go into details of why, there are good business reasons to do so). Since we have multiple clients accessing our instance through SOAP and REST APIs I would like to implement a solution whereby I override the standard delete functionality of the custom object to just check a custom field is_deleted, instead of deleting the record.</p>
  
  <p>Is this possible?</p>
  
  <p>Cheers,</p>
  
  <p>Dan</p>