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 voidclose()Ends the process of readingjava.lang.ObjectgetObjectAt(int rowIndex)Returns the object representing the columnvoidinitialize(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:ITreeViewReaderInitializes the reader- Specified by:
initializein 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.ExceptionDescription copied from interface:ITreeViewReaderEnds the process of reading- Specified by:
closein interfaceITreeViewReader- Throws:
java.lang.Exception- See Also:
ITreeViewReader.close()
-
getObjectAt
public java.lang.Object getObjectAt(int rowIndex) throws java.lang.ExceptionDescription copied from interface:ITreeViewReaderReturns the object representing the column- Specified by:
getObjectAtin interfaceITreeViewReader- Parameters:
rowIndex- index of the row to read- Returns:
- Throws:
java.lang.Exception- See Also:
org.openxava.web.editors.ITreeViewReader#getRowObject()
-
-