code: public void deleteResource(String name) throws Exception {
  
          m_cms.lockResource(name);
          m_cms.deleteResource(name, CmsResource.DELETE_PRESERVE_SIBLINGS);
      }
docs: Deletes a resource.<p>
  
  @param name the name of the resource to delete
  
  @throws Exception if something goes wrong