docs: private Document cmisContent( String id ) {
          DocumentWriter writer = newDocument(ObjectId.toString(ObjectId.Type.CONTENT, id));
  
          org.apache.chemistry.opencmis.client.api.Document doc = (org.apache.chemistry.opencmis.client.api.Document)session.getObject(id);
          writer.setPrimaryType(NodeType.NT_RESOURCE);
          writer.setParent(id);
  
          ContentStream contentStream = doc.getContentStream();
          if (contentStream != null) {
              BinaryValue content = new CmisConnectorBinary(contentStream, getSourceName(), id, getMimeTypeDetector());
              writer.addProperty(JcrConstants.JCR_DATA, content);
              writer.addProperty(JcrConstants.JCR_MIME_TYPE, contentStream.getMimeType());
          }
  
          Property<Object> lastModified = doc.getProperty(PropertyIds.LAST_MODIFICATION_DATE);
          Property<Object> lastModifiedBy = doc.getProperty(PropertyIds.LAST_MODIFIED_BY);
  
          writer.addProperty(JcrLexicon.LAST_MODIFIED, properties.jcrValues(lastModified));
          writer.addProperty(JcrLexicon.LAST_MODIFIED_BY, properties.jcrValues(lastModifiedBy));
  
          return writer.document();
      }