Package org.apache.jackrabbit.core.version

Examples of org.apache.jackrabbit.core.version.GenericVersionSelector


                // not found, create new one
                node = addNode(relPath, ((AbstractVersion) version).getFrozenNode());
            }

            // recreate node from frozen state
            node.internalRestore(version, new GenericVersionSelector(version.getCreated()), removeExisting);
            // session.save/revert is done in internal restore
        }
    }
View Full Code Here


        Version v = getVersionHistory().getVersionByLabel(versionLabel);
        if (v == null) {
            throw new VersionException("No version for label " + versionLabel + " found.");
        }
        internalRestore(v, new GenericVersionSelector(versionLabel), removeExisting);
        // session.save/revert is done in internal restore
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.version.GenericVersionSelector

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.