uk.co.mullsoft.jean
Class LinkOperation

java.lang.Object
  extended by uk.co.mullsoft.jean.LinkOperation

public class LinkOperation
extends java.lang.Object


Method Summary
 long getChild()
           
 long getParent()
           
 boolean isDelete()
           
 boolean isLink()
           
static LinkOperation newDeleteOperation(JEANAPI api, long node)
           
static LinkOperation newLinkOperation(JEANAPI api, long parent, long child)
           
static LinkOperation[] newLinkOperations(JEANAPI api, long[] parent, long child)
           
static LinkOperation[] newLinkOperations(JEANAPI api, long parent, long[] child)
           
static LinkOperation newUnlinkOperation(JEANAPI api, long parent, long child)
           
static LinkOperation newUnlinkOperation(JEANAPI api, long parent, long child, boolean delete)
           
static LinkOperation[] newUnlinkOperations(JEANAPI api, long[] parent, long child, boolean delete)
           
static LinkOperation[] newUnlinkOperations(JEANAPI api, long parent, long[] child, boolean delete)
           
static void run(LinkOperation[] linkOperations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newLinkOperation

public static LinkOperation newLinkOperation(JEANAPI api,
                                             long parent,
                                             long child)

newUnlinkOperation

public static LinkOperation newUnlinkOperation(JEANAPI api,
                                               long parent,
                                               long child)

newDeleteOperation

public static LinkOperation newDeleteOperation(JEANAPI api,
                                               long node)

newUnlinkOperation

public static LinkOperation newUnlinkOperation(JEANAPI api,
                                               long parent,
                                               long child,
                                               boolean delete)

newLinkOperations

public static LinkOperation[] newLinkOperations(JEANAPI api,
                                                long[] parent,
                                                long child)

newLinkOperations

public static LinkOperation[] newLinkOperations(JEANAPI api,
                                                long parent,
                                                long[] child)

newUnlinkOperations

public static LinkOperation[] newUnlinkOperations(JEANAPI api,
                                                  long[] parent,
                                                  long child,
                                                  boolean delete)

newUnlinkOperations

public static LinkOperation[] newUnlinkOperations(JEANAPI api,
                                                  long parent,
                                                  long[] child,
                                                  boolean delete)

run

public static void run(LinkOperation[] linkOperations)

getParent

public long getParent()

getChild

public long getChild()

isLink

public boolean isLink()

isDelete

public boolean isDelete()