TruckTransactionCancelInterceptor/TruckTransactionCloseInterceptor

Implementation

Code extension

Extension type:  ROAD_ACTION_INTERCEPTOR

extends AbstractRoadActionInterceptor implements IRoadActionInterceptor

Functionality

Road Module 
Cancellation/Closure of a Truck Transaction

Description

Intercepts before and after cancellation/closure of a Truck Transaction

Interface Method(s) and Injected Data

boolean preProcess ( 
    TruckTransaction inTran
)

Called before the transaction is cancelled/closed

boolean postProcess( 
    TruckTransaction inTran
)

Called after the transaction is cancelled/closed

Exception/Transaction Handling

Exceptions will return an error to the caller

Returning false from either method will prevent further execution and exit with whatever is the current status (OK or ERROR).

Availability

2.5+