Syntax
CreateMoneyWebTransactionResult
createWebTransactions
(
final IWebStartRequest
request
,
final CallerInformation
caller
) throws MobiliserServiceException, DataAccessException, TransactionException
Parameters
-
request –
the IWebStartRequest for which you want to create the transactions
-
caller –
the actor (authenticated user)
Returns
a bean holding the created and initialized transactions.
Exceptions
-
MobiliserServiceException –
if the creation of the transaction fails for some reason (business rules)
-
DataAccessException –
if some error occurs communicating / writing / reading persistent storage
-
TransactionException –
if some error occurs while handling the transactions related to persistent storage
Usage
This method creates the web transactions for the given request. That includes the main
Transaction
along with the
Authorisation
sub-transaction
Notes on transactional semantics:
This method will create both transactions inside one database transaction, rolling back completely if creation fails for any reason and any exception type.
a bean holding the created and initialized transactions.