Class TreeViewReaderImpl

java.lang.Object
org.openxava.web.editors.TreeViewReaderImpl
All Implemented Interfaces:
ITreeViewReader

public class TreeViewReaderImpl extends Object implements ITreeViewReader
Implements the Tree view reader
Author:
Federico Alcantara
  • Constructor Details

    • TreeViewReaderImpl

      public TreeViewReaderImpl()
  • Method Details

    • initialize

      public void initialize(String parentModelName, Map parentKey, String collectionModelName, Map[] allKeys)
      Description copied from interface: ITreeViewReader
      Initializes the reader
      Specified by:
      initialize in interface ITreeViewReader
      Parameters:
      parentModelName - name of the parent model of the collection
      parentKey - key for the parent object
      collectionModelName - name of the collection model
      allKeys - all the keys to be read from the collection
      See Also:
      • org.openxava.web.editors.ITreeViewReader#initialize(java.lang.String, java.lang.String[], java.util.Map, java.util.Map[])
    • close

      public void close() throws Exception
      Description copied from interface: ITreeViewReader
      Ends the process of reading
      Specified by:
      close in interface ITreeViewReader
      Throws:
      Exception
      See Also:
    • getObjectAt

      public Object getObjectAt(int rowIndex) throws Exception
      Description copied from interface: ITreeViewReader
      Returns the object representing the column
      Specified by:
      getObjectAt in interface ITreeViewReader
      Parameters:
      rowIndex - index of the row to read
      Returns:
      Throws:
      Exception
      See Also:
      • org.openxava.web.editors.ITreeViewReader#getRowObject()