public interface UserServiceTransactionManager
Modifier and Type | Method and Description |
---|---|
UserServiceTransaction |
createTransaction()
Creates an instance of UserServiceTransaction object that allows to mix in a single transaction:
record creations, record or dataset updates and custom procedure executions.
|
ProcedureResult |
save(boolean addErrorMessageIfException,
ObjectKey... objectKeys)
Updates or creates a list of previously registered objects.
|
ProcedureResult |
save(ObjectKey... objectKeys)
Updates or creates a list of previously registered objects.
|
ProcedureResult save(ObjectKey... objectKeys)
Calling this method is similar to calling save(true, objectKeys).
objectKeys
- the keys of the objects to update or create. The object must be a record or a dataset.UserServiceException
- if:
save(boolean, ObjectKey...)
ProcedureResult save(boolean addErrorMessageIfException, ObjectKey... objectKeys)
If one of the object key represents a record which have been previously deleted, this method will not save it, but will display a warning instead.
addErrorMessageIfException
- specifies whether the user interface automatically reports an error message
whenever the execution has encountered an error.objectKeys
- the keys of the objects to update or create. The object must be a record or a
dataset.UserServiceException
- if:
UserServiceTransaction createTransaction()
UserServiceTransaction
object.