private Document cmisRepository() {
        RepositoryInfo info = session.getRepositoryInfo();
        DocumentWriter writer = newDocument(ObjectId.toString(ObjectId.Type.REPOSITORY_INFO, ""));

        writer.setPrimaryType(CmisLexicon.REPOSITORY);
        writer.setId(REPOSITORY_INFO_ID);

        // product name/vendor/version
        writer.addProperty(CmisLexicon.VENDOR_NAME, info.getVendorName());
        writer.addProperty(CmisLexicon.PRODUCT_NAME, info.getProductName());
        writer.addProperty(CmisLexicon.PRODUCT_VERSION, info.getProductVersion());

        return writer.document();
    }
private Document cmisRepository ( ) { RepositoryInfo info = session . getRepositoryInfo ( ) ; DocumentWriter writer = newDocument ( ObjectId . toString ( ObjectId . Type . REPOSITORY_INFO , "" ) ) ; writer . setPrimaryType ( CmisLexicon . REPOSITORY ) ; writer . setId ( REPOSITORY_INFO_ID ) ; writer . addProperty ( CmisLexicon . VENDOR_NAME , info . getVendorName ( ) ) ; writer . addProperty ( CmisLexicon . PRODUCT_NAME , info . getProductName ( ) ) ; writer . addProperty ( CmisLexicon . PRODUCT_VERSION , info . getProductVersion ( ) ) ; return writer . document ( ) ; }
Translates CMIS repository information into Node.

@return node document.