org.apache.jackrabbit.mk.model
Class CommitBuilder

java.lang.Object
  extended by org.apache.jackrabbit.mk.model.CommitBuilder

public class CommitBuilder
extends Object


Nested Class Summary
static class CommitBuilder.NodeTree
           
 
Constructor Summary
CommitBuilder(Id baseRevId, String msg, RevisionStore store)
           
 
Method Summary
 void addNode(String parentNodePath, String nodeName, CommitBuilder.NodeTree node)
           
 void copyNode(String srcPath, String destPath)
           
 Id doCommit()
           
 Id doCommit(boolean createBranch)
           
 Id doMerge()
           
 void moveNode(String srcPath, String destPath)
           
 void removeNode(String nodePath)
           
 void setProperty(String nodePath, String propName, String propValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommitBuilder

public CommitBuilder(Id baseRevId,
                     String msg,
                     RevisionStore store)
              throws Exception
Throws:
Exception
Method Detail

addNode

public void addNode(String parentNodePath,
                    String nodeName,
                    CommitBuilder.NodeTree node)
             throws Exception
Throws:
Exception

removeNode

public void removeNode(String nodePath)
                throws NotFoundException,
                       Exception
Throws:
NotFoundException
Exception

moveNode

public void moveNode(String srcPath,
                     String destPath)
              throws NotFoundException,
                     Exception
Throws:
NotFoundException
Exception

copyNode

public void copyNode(String srcPath,
                     String destPath)
              throws NotFoundException,
                     Exception
Throws:
NotFoundException
Exception

setProperty

public void setProperty(String nodePath,
                        String propName,
                        String propValue)
                 throws Exception
Throws:
Exception

doCommit

public Id doCommit()
            throws Exception
Throws:
Exception

doCommit

public Id doCommit(boolean createBranch)
            throws Exception
Throws:
Exception

doMerge

public Id doMerge()
           throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.