Package org.openxava.web.editors
Interface ITreeViewReader
- All Known Implementing Classes:
TreeViewReaderImpl
public interface ITreeViewReader
Defines the contract for tree view readers.
- Author:
- Federico Alcantara
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Ends the process of readinggetObjectAt(int rowIndex) Returns the object representing the columnvoidinitialize(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 collectionparentKey- key for the parent objectcollectionModelName- name of the collection modelallKeys- all the keys to be read from the collectioncolumnNames- name of the columns in their column order.- Throws:
Exception
-
close
Ends the process of reading- Throws:
Exception
-
getObjectAt
Returns the object representing the column- Parameters:
rowIndex- index of the row to read- Returns:
- Throws:
Exception
-