updateJtxObject

fun updateJtxObject(id: Long, entity: Entity)

Updates a jtx object's main row and refreshes all sub-rows.

Sub-rows are always deleted and re-created from entity.

Parameters

id

ID of the jtx object to update

entity

new values of the jtx object

Throws

when the content provider returns an error


fun updateJtxObject(id: Long, entity: Entity, batch: JtxBatchOperation)

Enqueues an update of a jtx object's main row and refreshes all sub-rows into batch.

Sub-rows are always deleted and re-created from entity.

Parameters

id

ID of the jtx object to update

entity

new values of the jtx object

batch

batch operation in which the update is enqueued