code: @Override
      public boolean deletePolicy(String name) throws PolicyIndexException {
          log.debug("Deleting document: " + name);
  
          DbXmlManager.writeLock.lock();
          try {
              m_dbXmlManager.container.deleteDocument(name, m_dbXmlManager.updateContext);
              setLastUpdate(System.currentTimeMillis());
          } catch (XmlException xe) {
              // safe delete - only warn if not found
              if (xe.getDbError() == XmlException.DOCUMENT_NOT_FOUND){
                  log.warn("Error deleting document: " + name + " - document does not exist");
              } else {
                  throw new PolicyIndexException("Error deleting document: " + name + xe.getMessage(), xe);
              }
          } finally {
              DbXmlManager.writeLock.unlock();
          }
          return true;
      }
docs: /*
  (non-Javadoc)
  @see
  org.fcrepo.server.security.xacml.pdp.data.PolicyDataManager#deletePolicy
  (java.lang.String)