public interface TransactionalDataControl extends DataControl, TransactionalDataControl, UpdateableDataControl
DataControl.DataChangeEventPolicyDATACHANGE_EVENT_POLLINGMODE, REL_ALL_REFS, REL_DATA_REFS, REL_VIEW_REFS, REL_WEAK_DATA_REFS| Modifier and Type | Method and Description |
|---|---|
void |
commitTransaction()
Invoke the transaction's commit() method to save all changes to the data source.
|
java.lang.Object |
createRowData(RowContext ctx)
Create a new row for the iterator associated with the given iterator-binding at the given index and return the new row.
|
boolean |
isTransactionDirty()
Returns true if this transaction has been dirtied by this application.
|
java.lang.Object |
registerDataProvider(RowContext ctx)
Called before the row in the RowContext object is modified/marked as removed.
|
boolean |
removeRowData(RowContext ctx)
This method is to remove the row object (the obj parameter) from the underlying data source.
|
void |
rollbackTransaction()
Helper method that invokes rollback on the current Transaction.
|
void |
validate()
validate transaction if dirty.
|
getDataProvider, getName, releaseclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescreateRowData, registerDataProvider, removeRowData, setAttributeValueinvokeOperation, releaseboolean isTransactionDirty()
isTransactionDirty in interface TransactionalDataControljava.lang.Object createRowData(RowContext ctx)
java.lang.Object registerDataProvider(RowContext ctx)
boolean removeRowData(RowContext ctx)
void rollbackTransaction()
rollbackTransaction in interface TransactionalDataControlvoid commitTransaction()
commitTransaction in interface TransactionalDataControlvoid validate()
validate in interface UpdateableDataControl