public interface ITreeViewReader
Modifier and Type | Method and Description |
---|---|
void |
close()
Ends the process of reading
|
java.lang.Object |
getObjectAt(int rowIndex)
Returns the object representing the column
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Retrieves the object value found at row / column
|
void |
initialize(java.lang.String parentModelName,
java.util.Map parentKey,
java.lang.String collectionModelName,
java.util.Map[] allKeys,
java.lang.String[] columnNames)
Initializes the reader
|
void initialize(java.lang.String parentModelName, java.util.Map parentKey, java.lang.String collectionModelName, java.util.Map[] allKeys, java.lang.String[] columnNames) throws java.lang.Exception
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.java.lang.Exception
void close() throws java.lang.Exception
java.lang.Exception
java.lang.Object getObjectAt(int rowIndex) throws java.lang.Exception
rowIndex
- index of the row to readjava.lang.Exception
java.lang.Object getValueAt(int rowIndex, int columnIndex) throws java.lang.Exception
row
- row to be assessedcolumn
- to be readjava.lang.Exception