public interface ITransactionalContentProvider extends IUpdateableContentProvider
Updateable content provider that allows to accumulate changes to the wrapped data
and then submit them all at ones to the data source by calling applyChanges()
.
Modifier and Type | Method and Description |
---|---|
void |
applyChanges()
Commits changes back to the data source.
|
void |
cancelChanges()
Reverts all changes made since the last
applyChanges() call. |
isReadOnly, setValue
getPropertyKeys, getType, getValue, hasProperty, toString
void applyChanges() throws ContentProviderException
Commits changes back to the data source.
ContentProviderException
- if error happens during commitvoid cancelChanges() throws ContentProviderException
Reverts all changes made since the last applyChanges()
call.
ContentProviderException