com.ibm.xsp.model
Interface DataModelEx

All Known Implementing Classes:
AbstractDataModel, AbstractViewDataModel, DominoViewDataModel, ListDataModelEx, TabularDataModel

public interface DataModelEx


Method Summary
 void duplicateRowData(int insertIndex)
          Duplicate the data for the currently selected row index and insert it into the data model at the specified insertion index.
 void insertRowData(java.lang.Object data)
          Insert the object representing the data for the currently selected row index.
 void removeRowData()
          Remove the data for the currently selected row index.
 void setRowData(java.lang.Object data)
          Set the object representing the data for the currently selected row index.
 

Method Detail

setRowData

void setRowData(java.lang.Object data)
Set the object representing the data for the currently selected row index.

Parameters:
data - data to be set for the currently selected row index
Throws:
javax.faces.FacesException - if an error occurs setting row data
java.lang.IllegalArgumentException - if now row data is available at the currently specified row index

insertRowData

void insertRowData(java.lang.Object data)
Insert the object representing the data for the currently selected row index.

Parameters:
data - data to be inserted at the currently selected row index
Throws:
javax.faces.FacesException - if an error occurs setting row data
java.lang.IllegalArgumentException - if now row data is available at the currently specified row index

duplicateRowData

void duplicateRowData(int insertIndex)
                      throws javax.faces.FacesException
Duplicate the data for the currently selected row index and insert it into the data model at the specified insertion index.

Parameters:
insertIndex - the insertion index for the duplicated row data
Throws:
javax.faces.FacesException - if an error occurs duplicating row data
java.lang.IllegalArgumentException - if now row data is available at the currently specified row index

removeRowData

void removeRowData()
                   throws javax.faces.FacesException
Remove the data for the currently selected row index.

Throws:
javax.faces.FacesException - if an error occurs removing row data
java.lang.IllegalArgumentException - if now row data is available at the currently specified row index