3738394041424344454647
conn.addNode(nodeName, "v1".getBytes()); conn.addVersionControl(nodeName); conn.checkIn(nodeName); conn.checkOut(nodeName); // check for (JCRWebdavConnection connection : getConnections()) {
5152535455565758596061
} // create version conn.checkOut(nodeName); conn.addNode(nodeName, "v2".getBytes()); conn.checkIn(nodeName); // create version conn.checkOut(nodeName); conn.addNode(nodeName, "v3".getBytes()); conn.checkIn(nodeName);
5657585960616263646566
conn.checkIn(nodeName); // create version conn.checkOut(nodeName); conn.addNode(nodeName, "v3".getBytes()); conn.checkIn(nodeName); // create version conn.checkOut(nodeName); conn.addNode(nodeName, "v4".getBytes()); conn.checkIn(nodeName);
6162636465666768697071
conn.checkIn(nodeName); // create version conn.checkOut(nodeName); conn.addNode(nodeName, "v4".getBytes()); conn.checkIn(nodeName); // check for (JCRWebdavConnection connection : getConnections()) { HTTPResponse response = connection.getNode(nodeName);