|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChangeableDataRow
The IChangeableDataRow
is an IDataRow
extension which adds
support for monitoring the state of the IDataRow
(whether it is
currently changing or not, and what changes are occurring).
IDataRow
,
IDataPage
,
IDataBook
Method Summary | |
---|---|
IDataPage |
getDataPage()
Gets the parent IDataPage . |
IDataRow |
getOriginalDataRow()
Gets the original IDataRow , before any changes were performed. |
IDataRow |
getOriginalRow()
Deprecated. since 2.5, use getOriginalDataRow() . |
int |
getRowIndex()
Gets the row index within the parent IDataPage . |
java.lang.Object |
getUID()
Gets the internal unique identifier for this IDataRow . |
boolean |
isDeleting()
Gets if this row is currently being deleted, which means that it has been removed/deleted but this action has not yet been finalized. |
boolean |
isDetailChanged()
Gets if any associated detail rows have been modified. |
boolean |
isInserting()
Gets if this row is currently being inserted, which means that it has been created but has not yet been saved/finalized. |
boolean |
isUpdating()
Gets if this row is currently being updated, which means that its values are changed but these changes have not yet been saved/finalized. |
boolean |
isWritableColumnChanged()
Gets if there was a writeable column changed. |
Methods inherited from interface javax.rad.model.IDataRow |
---|
addControl, cancelEditingControls, compareTo, createDataRow, createEmptyDataRow, createEmptyRow, equals, eventValuesChanged, eventValuesChanged, getControls, getRowDefinition, getValue, getValue, getValueAsString, getValues, getValuesAsString, notifyRepaintControls, removeControl, saveEditingControls, setValue, setValues |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
IDataPage getDataPage()
IDataPage
.
IDataPage
, can null
if there is no
parent IDataPage
.int getRowIndex()
IDataPage
.
IDataPage
, can be
-1
if there is no parent IDataPage
.java.lang.Object getUID() throws ModelException
IDataRow
.
IDataRow
.
ModelException
- if the unique identifier could not be determined.boolean isInserting() throws ModelException
true
if this row is currently being inserted.
ModelException
- if the state could not be determined.boolean isUpdating() throws ModelException
true
if this row is currently being changed.
ModelException
- if the state could not be determined.boolean isDeleting() throws ModelException
ModelException
- if the state could not be determined.boolean isDetailChanged() throws ModelException
true
if any associated detail rows have been modified.
ModelException
- if the state of the detail rows could not be
determined.@Deprecated IDataRow getOriginalRow() throws ModelException
getOriginalDataRow()
.
IDataRow
, before any changes were performed.
IDataRow
, before any changes were performed.
ModelException
- if the original IDataRow
could not be got.IDataRow getOriginalDataRow() throws ModelException
IDataRow
, before any changes were performed.
IDataRow
, before any changes were performed.
ModelException
- if the original IDataRow
could not be got.boolean isWritableColumnChanged() throws ModelException
true
if there was a writeable column changed.
ModelException
- if the state could not be determined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |