Package org.apache.jackrabbit.mongomk.impl.action

Examples of org.apache.jackrabbit.mongomk.impl.action.FetchNodesAction.execute()


    private void readNodesByPath() {
        FetchNodesAction query = new FetchNodesAction(nodeStore, path, revisionId);
        query.setBranchId(branchId);
        query.setValidCommits(lastCommits);
        query.setDepth(depth);
        pathAndNodeMap = query.execute();
    }

    private boolean verifyNodeHierarchy() {
        boolean verified = verifyNodeHierarchyRec(path, 0);
        if (!verified) {
View Full Code Here


    private void readExistingNodes() {
        FetchNodesAction action = new FetchNodesAction(nodeStore, affectedPaths,
                branchId == null? mongoSync.getHeadRevisionId() : baseRevisionId);
        action.setBranchId(branchId);
        action.setValidCommits(validCommits);
        existingNodes = action.execute();
    }

    private void mergeNodes() {
        for (MongoNode existingNode : existingNodes.values()) {
            for (MongoNode committingNode : nodes) {
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.