org.apache.jackrabbit.mk.model
Class MutableNode

java.lang.Object
  extended by org.apache.jackrabbit.mk.model.AbstractNode
      extended by org.apache.jackrabbit.mk.model.MutableNode
All Implemented Interfaces:
Node, PersistHook

public class MutableNode
extends AbstractNode
implements PersistHook


Field Summary
 
Fields inherited from class org.apache.jackrabbit.mk.model.AbstractNode
childEntries, properties, provider
 
Constructor Summary
MutableNode(Node other, RevisionProvider provider)
           
MutableNode(RevisionProvider provider)
           
 
Method Summary
 ChildNodeEntry add(ChildNodeEntry newEntry)
           
 void postPersist(RevisionStore store, RevisionStore.PutToken token)
           
 void prePersist(RevisionStore store, RevisionStore.PutToken token)
           
 ChildNodeEntry remove(String name)
           
 ChildNodeEntry rename(String oldName, String newName)
           
 
Methods inherited from class org.apache.jackrabbit.mk.model.AbstractNode
diff, getChildNodeCount, getChildNodeEntries, getChildNodeEntry, getChildNodeNames, getProperties, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableNode

public MutableNode(RevisionProvider provider)

MutableNode

public MutableNode(Node other,
                   RevisionProvider provider)
Method Detail

add

public ChildNodeEntry add(ChildNodeEntry newEntry)

remove

public ChildNodeEntry remove(String name)

rename

public ChildNodeEntry rename(String oldName,
                             String newName)

prePersist

public void prePersist(RevisionStore store,
                       RevisionStore.PutToken token)
                throws Exception
Specified by:
prePersist in interface PersistHook
Throws:
Exception

postPersist

public void postPersist(RevisionStore store,
                        RevisionStore.PutToken token)
                 throws Exception
Specified by:
postPersist in interface PersistHook
Throws:
Exception


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