it.unipd.dei.ims.nestor.experiment.tree
Class UpdateOperations

java.lang.Object
  extended by it.unipd.dei.ims.nestor.experiment.tree.UpdateOperations

public class UpdateOperations
extends java.lang.Object


Constructor Summary
UpdateOperations()
           
 
Method Summary
static void delete(Tree tree, java.lang.Integer nodeId)
           
static void insertAsChild(Tree tree, java.lang.Integer parentId, Node childNode)
           
static void insertAsParent(Tree tree, java.lang.Integer childId, Node newParentNode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateOperations

public UpdateOperations()
Method Detail

insertAsChild

public static void insertAsChild(Tree tree,
                                 java.lang.Integer parentId,
                                 Node childNode)

insertAsParent

public static void insertAsParent(Tree tree,
                                  java.lang.Integer childId,
                                  Node newParentNode)

delete

public static void delete(Tree tree,
                          java.lang.Integer nodeId)