Returns whether transaction is enabled for this service
Event fired when transaction state has changed - add transaction, commit all transactions, undo and redo
Adds provided transaction with recordRef if any
Transaction to be added
Reference to the value of the record in the data source related to the changed item
Clears all transactions
Optional record id to clear transactions for
Applies all transactions over the provided data
Data source to update
Optional record id to commit transactions for
Clears all pending transactions and aggregated pending state. If commit is set to true commits pending states as single transaction
Should commit the pending states
Returns aggregated changes from all transactions
If set to true will merge each state's value over relate recordRef and will record resulting value in the related transaction
Collection of aggregated transactions for each changed record
Returns value of the required id including all uncommitted changes
The id of the record to return value for
If set to true will merge state's value over relate recordRef and will return merged value
Value with changes or null
Returns the state of the record with provided id
The id of the record
Should get pending state
State of the record if any
Returns all recorded transactions in chronological order
Optional record id to get transactions for
All transaction in the service or for the specified record
Applies the last undone transaction if any
Starts pending transactions. All transactions passed after call to startPending will not be added to transaction log
Remove the last transaction if any
if there are any transactions in the Redo stack