Package org.openxava.web.editors
Class TreeViewReaderImpl
- java.lang.Object
-
- org.openxava.web.editors.TreeViewReaderImpl
-
- All Implemented Interfaces:
ITreeViewReader
public class TreeViewReaderImpl extends java.lang.Object implements ITreeViewReader
Implements the Tree view reader- Author:
- Federico Alcantara
-
-
Constructor Summary
Constructors Constructor Description TreeViewReaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Ends the process of readingjava.lang.Object
getObjectAt(int rowIndex)
Returns the object representing the columnvoid
initialize(java.lang.String parentModelName, java.util.Map parentKey, java.lang.String collectionModelName, java.util.Map[] allKeys)
Initializes the reader
-
-
-
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 interfaceITreeViewReader
- 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 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 java.lang.Exception
Description copied from interface:ITreeViewReader
Ends the process of reading- Specified by:
close
in interfaceITreeViewReader
- Throws:
java.lang.Exception
- See Also:
ITreeViewReader.close()
-
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 interfaceITreeViewReader
- Parameters:
rowIndex
- index of the row to read- Returns:
- Throws:
java.lang.Exception
- See Also:
org.openxava.web.editors.ITreeViewReader#getRowObject()
-
-