|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChangeableDataRow
An IChangeableDataRow extends the IDataRow with support for
the change state of the row, belonging DataPage and row index and some supporting
methods and an unique ID column.
IDataRow,
IDataPage,
IDataBook| Method Summary | |
|---|---|
IDataPage |
getDataPage()
Returns the corresponding IDataPage of the IDataRow. |
IDataRow |
getOriginalRow()
Returns the original row, before the first change is made. |
int |
getRowIndex()
Returns the row index of the IDataRows in the IDataPage. |
Object |
getUID()
Returns the internal unique identifier for a IChangeableDataRow, which
isInserting(). |
boolean |
isDeleting()
Returns if this row is deleted. |
boolean |
isDetailChanged()
Returns true if under this row in the detail DataBook one or more changed (isInserting/Updating/Deleting() == true) detail rows existing. |
boolean |
isInserting()
Returns if this row is new. |
boolean |
isUpdating()
Returns if this row is changed. |
| Methods inherited from interface javax.rad.model.IDataRow |
|---|
addControl, compareTo, createDataRow, createEmptyRow, equals, eventValuesChanged, getControls, getRowDefinition, getValue, getValue, getValues, removeControl, setValue, setValues |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
IDataPage getDataPage()
IDataPage of the IDataRow.
That returns != null only if the IDataRow is from a IDataBook
IDataPage of the IDataRow.int getRowIndex()
IDataRows in the IDataPage.
That returns != -1 only if the IDataRow is from a IDataPage
IDataRows in the IDataPage.Object getUID()
IChangeableDataRow, which
isInserting().
IChangeableDataRow, which
isInserting().
boolean isInserting()
throws ModelException
ModelException - if a exception occurs during synchronize.
boolean isUpdating()
throws ModelException
ModelException - if a exception occurs during synchronize.
boolean isDeleting()
throws ModelException
ModelException - if a exception occurs during synchronize.
boolean isDetailChanged()
throws ModelException
ModelException - if a exception occurs during synchronize.
IDataRow getOriginalRow()
throws ModelException
ModelException - if the original row couldn't determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||