code: public synchronized void updateDocumentContent(Long docid, String content) throws SQLException {
          if (cache_document==CACHE_OFF) {
              edadb.updateDocumentContent(docid, content);
          } else if (cache_document==CACHE_ONLY) {
              Document docvo = documentCache.get(docid);
              if (docvo!=null) docvo.setContent(content);
          } else {
              edadb.updateDocumentContent(docid, content);
              Document docvo = documentCache.get(docid);
              if (docvo!=null) docvo.setContent(content);
          }
      }
docs: Update the content (actual document object) bound to the given
  document reference object.
  
  @param docid
  @param content
  @throws DataAccessException