|
||||||||||
| 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. |
boolean |
isWritableColumnChanged()
Returns true if one isWritableColumnChanged() column is changed. |
| Methods inherited from interface javax.rad.model.IDataRow |
|---|
addControl, compareTo, createDataRow, createEmptyRow, equals, eventValuesChanged, getControls, getRowDefinition, getValue, getValue, getValueAsString, getValues, getValuesAsString, 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()
throws ModelException
IChangeableDataRow, which
isInserting().
IChangeableDataRow, which
isInserting().
ModelException - if UID couldn't determined
boolean isInserting()
throws ModelException
ModelException - if is inserting couldn't determined
boolean isUpdating()
throws ModelException
ModelException - if is updating couldn't determined
boolean isDeleting()
throws ModelException
ModelException - if is deleting couldn't determined
boolean isDetailChanged()
throws ModelException
ModelException - if is detail changed couldn't determined
IDataRow getOriginalRow()
throws ModelException
ModelException - if original row couldn't determined
boolean isWritableColumnChanged()
throws ModelException
ModelException - if writable column changed couldn't determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||