Package org.apache.jackrabbit.jcr2spi.operation

Examples of org.apache.jackrabbit.jcr2spi.operation.Merge


    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        return merge(nodeState, workspaceName, bestEffort, false);
    }

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow) throws NoSuchWorkspaceException, AccessDeniedException, MergeException, LockException, InvalidItemStateException, RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, isShallow, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here


        Operation op = RemoveActivity.create(activityState, workspaceManager.getHierarchyManager());
        workspaceManager.execute(op);
    }

    public Iterator mergeActivity(NodeState activityState) throws UnsupportedRepositoryOperationException, RepositoryException {
        Merge op = Merge.create(activityState, null, false, false, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        return merge(nodeState, workspaceName, bestEffort, false);
    }

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow) throws NoSuchWorkspaceException, AccessDeniedException, MergeException, LockException, InvalidItemStateException, RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, isShallow, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

        Operation op = RemoveActivity.create(activityState, workspaceManager.getHierarchyManager());
        workspaceManager.execute(op);
    }

    public Iterator mergeActivity(NodeState activityState) throws UnsupportedRepositoryOperationException, RepositoryException {
        Merge op = Merge.create(activityState, null, false, false, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

    public Iterator<NodeId> merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        return merge(nodeState, workspaceName, bestEffort, false);
    }

    public Iterator<NodeId> merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow) throws NoSuchWorkspaceException, AccessDeniedException, MergeException, LockException, InvalidItemStateException, RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, isShallow, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

        Operation op = RemoveActivity.create(activityState, workspaceManager.getHierarchyManager());
        workspaceManager.execute(op);
    }

    public Iterator<NodeId> mergeActivity(NodeState activityState) throws UnsupportedRepositoryOperationException, RepositoryException {
        Merge op = Merge.create(activityState, null, false, false, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

        Operation op = Restore.create(versionStates, removeExisting);
        workspaceManager.execute(op);
    }

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        return merge(nodeState, workspaceName, bestEffort, false);
    }

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort, boolean isShallow) throws NoSuchWorkspaceException, AccessDeniedException, MergeException, LockException, InvalidItemStateException, RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, isShallow, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

        Operation op = RemoveActivity.create(activityState, workspaceManager.getHierarchyManager());
        workspaceManager.execute(op);
    }

    public Iterator mergeActivity(NodeState activityState) throws UnsupportedRepositoryOperationException, RepositoryException {
        Merge op = Merge.create(activityState, null, false, false, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

        Operation op = Restore.create(versionStates, removeExisting);
        workspaceManager.execute(op);
    }

    public Iterator merge(NodeState nodeState, String workspaceName, boolean bestEffort) throws RepositoryException {
        Merge op = Merge.create(nodeState, workspaceName, bestEffort, this);
        workspaceManager.execute(op);
        return op.getFailedIds();
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.jcr2spi.operation.Merge

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.