Class TreeViewReaderImpl

  • All Implemented Interfaces:

    public class TreeViewReaderImpl
    extends java.lang.Object
    implements ITreeViewReader
    Implements the Tree view reader
    Federico Alcantara
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Ends the process of reading
      java.lang.Object getObjectAt​(int rowIndex)
      Returns the object representing the column
      void initialize​(java.lang.String parentModelName, java.util.Map parentKey, java.lang.String collectionModelName, java.util.Map[] allKeys)
      Initializes the reader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeViewReaderImpl

        public TreeViewReaderImpl()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String parentModelName,
                               java.util.Map parentKey,
                               java.lang.String collectionModelName,
                               java.util.Map[] allKeys)
        Description copied from interface: ITreeViewReader
        Initializes the reader
        Specified by:
        initialize in interface ITreeViewReader
        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[])
      • getObjectAt

        public java.lang.Object getObjectAt​(int rowIndex)
                                     throws java.lang.Exception
        Description copied from interface: ITreeViewReader
        Returns the object representing the column
        Specified by:
        getObjectAt in interface ITreeViewReader
        rowIndex - index of the row to read
        See Also: