initWebTransaction(final Long, final IWebStartRequest, final IWebStartResponse, final CallerInformation) method

Syntax

void initWebTransaction ( final Long authorisationId , final IWebStartRequest request , final IWebStartResponse response , final CallerInformation caller ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Exceptions

Usage

This method complements

IWebActions#createWebTransactions(IWebStartRequest, Long)

. After successfully creating the transactions, this action can be used to actually initialize all relevant fields in the

Authorisation

Notes on transactional semantics:

If a business logic exception occurs, a

MobiliserServiceException

will be thrown and both transactions will be marked with the error code from the exception and the database transaction committed. Any other exception will trigger a rollback of the database transaction followed by a fresh transaction inside of which the

Authorisation

transaction will be marked with an error code.