com.dynamide.db
Class TableTree

java.lang.Object
  extended by com.dynamide.db.TableTree

public class TableTree
extends java.lang.Object


Nested Class Summary
 class TableTree.CompositeToList
           
 
Constructor Summary
TableTree()
           
TableTree(org.webmacro.datatable.DataTable dt, java.lang.String detailIDColumnName, java.lang.String detailParentIDColumnName, boolean zeroIsNull)
           
 
Method Summary
 java.lang.String dump()
           
 Composite findComposite(java.lang.String key)
           
 void fixup(boolean zeroIsNull, Composite root, java.lang.String id, java.lang.String parentID, java.lang.Object row)
           
 java.util.Iterator getPreorderIterator()
           
 java.util.Iterator getPreorderIterator(java.util.List exclusions)
           
 java.util.Iterator getPreorderIterator(java.util.List exclusions, java.lang.String includeID)
           
 Composite getRoot()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableTree

public TableTree()
          throws java.lang.Exception
Throws:
java.lang.Exception

TableTree

public TableTree(org.webmacro.datatable.DataTable dt,
                 java.lang.String detailIDColumnName,
                 java.lang.String detailParentIDColumnName,
                 boolean zeroIsNull)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

fixup

public void fixup(boolean zeroIsNull,
                  Composite root,
                  java.lang.String id,
                  java.lang.String parentID,
                  java.lang.Object row)
           throws java.lang.Exception
Throws:
java.lang.Exception

getRoot

public Composite getRoot()

dump

public java.lang.String dump()

findComposite

public Composite findComposite(java.lang.String key)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getPreorderIterator

public java.util.Iterator getPreorderIterator()

getPreorderIterator

public java.util.Iterator getPreorderIterator(java.util.List exclusions)

getPreorderIterator

public java.util.Iterator getPreorderIterator(java.util.List exclusions,
                                              java.lang.String includeID)

main

public static void main(java.lang.String[] args)


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.