org.apache.jackrabbit.mk.model
Class CommitBuilder

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

public class CommitBuilder
extends Object


Constructor Summary
CommitBuilder(Id baseRevId, String msg, RevisionStore store)
           
 
Method Summary
 void addNode(String parentNodePath, String nodeName)
           
 void addNode(String parentNodePath, String nodeName, Map<String,String> properties)
           
 void copyNode(String srcPath, String destPath)
           
 Id doCommit()
           
 void moveNode(String srcPath, String destPath)
           
 void removeNode(String nodePath)
           
 void setProperties(String nodePath, Map<String,String> properties)
           
 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)
             throws Exception
Throws:
Exception

addNode

public void addNode(String parentNodePath,
                    String nodeName,
                    Map<String,String> properties)
             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

setProperties

public void setProperties(String nodePath,
                          Map<String,String> properties)
                   throws Exception
Throws:
Exception

doCommit

public Id doCommit()
            throws Exception
Throws:
Exception


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