initTransactionCancel(final ITransactionCancelRequest, final CallerInformation) method

Syntax

InitTransactionResult initTransactionCancel ( final ITransactionCancelRequest request , final CallerInformation caller ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Returns

a InitTransactionResult with the parameters from the main Transaction

Exceptions

Usage

Creates and initializes the

TransactionCancel

transaction in the database with the values from the request, performing various checks in the process.

Notes on transactional semantics:

If a business logic exception occurs, a

MobiliserServiceException

will be thrown which will trigger a rollback. Any other exception will also trigger a rollback of the database transaction.

a InitTransactionResult with the parameters from the main Transaction