|
||||||||||
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 IDataRow s 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()
IDataRow
s in the IDataPage
.
That returns != -1 only if the IDataRow
is from a IDataPage
IDataRow
s in the IDataPage
.Object getUID() throws ModelException
IChangeableDataRow
, which
isInserting().
IChangeableDataRow
, which
isInserting().
ModelException
- if UID couldn't determinedboolean isInserting() throws ModelException
ModelException
- if is inserting couldn't determinedboolean isUpdating() throws ModelException
ModelException
- if is updating couldn't determinedboolean isDeleting() throws ModelException
ModelException
- if is deleting couldn't determinedboolean isDetailChanged() throws ModelException
ModelException
- if is detail changed couldn't determinedIDataRow getOriginalRow() throws ModelException
ModelException
- if original row couldn't determinedboolean 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 |