Examples of addVersionLabel()


Examples of javax.jcr.version.VersionHistory.addVersionLabel()

      // Creating node: n4
      Node n4 = testVersionable.addNode("n4");
      testVersionable.save();
      Version ver3 = testVersionable.checkin(); // v3
      vHistory.addVersionLabel(ver3.getName(), "ver.3", false);
      vHistory.addVersionLabel(ver3.getName(), "version 3.0", false);
      if (log.isDebugEnabled())
         log.debug("===== ver.3 checkin =====");
      showVersionable(testVersionable);
      testVersionable.checkout();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.