code: public void deleteResource(CmsResource res, CmsResourceDeleteMode deletePreserveSiblings) throws CmsException {
  
          getResourceType(res).deleteResource(this, m_securityManager, res, deletePreserveSiblings);
      }
docs: Deletes a resource.<p>
  
  The <code>siblingMode</code> parameter controls how to handle siblings
  during the delete operation.<br>
  Possible values for this parameter are: <br>
  <ul>
  <li><code>{@link CmsResource#DELETE_REMOVE_SIBLINGS}</code></li>
  <li><code>{@link CmsResource#DELETE_PRESERVE_SIBLINGS}</code></li>
  </ul><p>
  
  @param res the resource to delete
  @param deletePreserveSiblings indicates how to handle siblings of the deleted resource
  
  @throws CmsException if something goes wrong