This method is called once after all form handler processing is completed. It implements the following transactional steps:
Commit or roll back any transaction that was created in the
beforeSet
method.If the transaction was already in place before the
beforeSet
method was called, theafterSet
method does not end the transaction automatically; this is the application’s responsibility.If a transaction lock was acquired in the
beforeSet
method, release the lock.
If you’re extending an Oracle ATG Web Commerce form handler and your code makes its own decisions about errors, you can mark a transaction for rollback by calling the setTransactionToRollbackOnly
method.
For more information on PurchaseProcessFormHandler
and its subclasses, you can examine the source files at <ATG10dir>\DCS\src\Java\atg\commerce\order\purchase
and refer to the ATG Platform API Reference.