Interface ITreeViewReader

×News: OpenXava 7.7 released - March 9 · Read more
All Known Implementing Classes:
TreeViewReaderImpl

public interface ITreeViewReader
Defines the contract for tree view readers.
Author:
Federico Alcantara
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Ends the process of reading
    getObjectAt(int rowIndex)
    Returns the object representing the column
    void
    initialize(String parentModelName, Map parentKey, String collectionModelName, Map[] allKeys)
    Initializes the reader
  • Method Details

    • initialize

      void initialize(String parentModelName, Map parentKey, String collectionModelName, Map[] allKeys) throws Exception
      Initializes the reader
      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
      columnNames - name of the columns in their column order.
      Throws:
      Exception
    • close

      void close() throws Exception
      Ends the process of reading
      Throws:
      Exception
    • getObjectAt

      Object getObjectAt(int rowIndex) throws Exception
      Returns the object representing the column
      Parameters:
      rowIndex - index of the row to read
      Returns:
      Throws:
      Exception