Package org.apache.jackrabbit.core

Examples of org.apache.jackrabbit.core.NodeImpl.internalRestore()


                // but merge it anyways
                if (base.isMoreRecent(version.getInternalVersion())) {
                    failedIds.add(node.getNodeId());
                    // should we add it to the jcr:mergeFailed property ?
                } else {
                    Version[] vs = node.internalRestore(version, vsel, true);
                    for (Version restored: vs) {
                        changeSet.remove(((VersionImpl) restored).getNodeId());
                    }
                }
            } catch (ItemNotFoundException e) {
View Full Code Here


                // but merge it anyways
                if (base.isMoreRecent(version.getInternalVersion())) {
                    failedIds.add(node.getNodeId());
                    // should we add it to the jcr:mergeFailed property ?
                } else {
                    Version[] vs = node.internalRestore(version, vsel, true);
                    for (Version restored: vs) {
                        changeSet.remove(((VersionImpl) restored).getNodeId());
                    }
                }
            } catch (ItemNotFoundException e) {
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.