Package org.exoplatform.services.jcr.impl.tools.tree

Examples of org.exoplatform.services.jcr.impl.tools.tree.ValueSsh1Generator


      RandomValueNodeGenerator nodeGenerator =
         new RandomValueNodeGenerator(session.getValueFactory(), 6, 5, 8, 5, 1024 * 1024);
      TreeGenerator generator = new TreeGenerator(testNode, nodeGenerator);
      generator.genereteTree();
      root.save();
      ValueSsh1Generator ssh1Generator = new ValueSsh1Generator(session.getTransientNodesManager(), sshStrream);
      ((NodeImpl)testNode).getData().accept(ssh1Generator);
      sshStrream.close();
      File exportFile = new File(System.getProperty("java.io.tmpdir"), "testExport.xml");
      OutputStream os = new FileOutputStream(exportFile);
      session.exportSystemView(testNode.getPath(), os, false, false);
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.tools.tree.ValueSsh1Generator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.