Package org.apache.jackrabbit.oak.jcr.version

Examples of org.apache.jackrabbit.oak.jcr.version.VersionStorage


    public void removeVersion(@Nonnull VersionHistoryDelegate versionHistory,
                              @Nonnull String oakVersionName) throws RepositoryException {
        // perform operation on fresh storage to not interfere
        // with pending changes in the workspace.
        Root fresh = sessionDelegate.getContentSession().getLatestRoot();
        VersionStorage storage = new VersionStorage(fresh);
        String vhRelPath = PathUtils.relativize(VersionStorage.VERSION_STORAGE_PATH,
                checkNotNull(versionHistory).getPath());
        versionManager.removeVersion(storage, vhRelPath, oakVersionName);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.jcr.version.VersionStorage

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.