limitCheck(final Long, final Long, final boolean) method

Syntax

void limitCheck ( final Long subTransactionId , final Long actorId , final boolean persist ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Exceptions

Usage

Perform a limit sum adjustment and limit check for the given

SubTransaction

.

Notes on transactional semantics:

This operation will run inside its own database transaction. Any failure will trigger a rollback and also if the user requests

persist=false

the changes will also be rolled back. Exception will

always

cause the

SubTransaction

and the main

Transaction

to be marked as failed in a fresh database transaction.