|
Oracle Application Development Framework Model and Business Components Java API Reference
10.1.3.1.0 B28969-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is to be implementated by DataControls that supports transactions.
Field Summary |
Fields inherited from interface oracle.binding.DataControl |
REL_ALL_REFS, REL_DATA_REFS, REL_VIEW_REFS, REL_WEAK_DATA_REFS |
Method Summary | |
void |
commitTransaction() Commits the current transaction to save all changes to the data source. |
java.lang.Object |
createRowData(RowContext ctx) This method is called by the data binding framework when a new row is needed from the data control. |
boolean |
isTransactionDirty() Returns true if this transaction has been dirtied by this application, as a result of data updates, deletes or inserts. |
java.lang.Object |
registerDataProvider(RowContext ctx) This method is called by the data binding facility before the row in the RowContext object is modified or marked as removed, so the row can be marked dirty by the data control. |
boolean |
removeRowData(RowContext ctx) This method is called by the data binding facility when a row should be removed from the underlying data source. |
void |
rollbackTransaction() Rolls back the current transaction. |
boolean |
setAttributeValue(AttributeContext ctx, java.lang.Object value) This method is called by the data binding framework when a new value is to be set on an attribute in a bean. |
void |
validate() Validates transaction if dirty. |
Methods inherited from interface oracle.binding.DataControl |
getDataProvider, getName, invokeOperation, release |
Method Detail |
public boolean isTransactionDirty()
public boolean setAttributeValue(AttributeContext ctx, java.lang.Object value)
Return true if the base framework should skip any further processing of this attribute set. Otherwise return false so that framework can perform a set or put of the attribute value based on introspection.
public java.lang.Object createRowData(RowContext ctx)
ctx
- Context of the new row.public java.lang.Object registerDataProvider(RowContext ctx)
ctx
- Context of the row to be modified or removed.public boolean removeRowData(RowContext ctx)
ctx
- Context of the row to be removed.public void rollbackTransaction()
public void commitTransaction()
public void validate()
|
Oracle Application Development Framework Model and Business Components Java API Reference
10.1.3.1.0 B28969-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |