Class UndoTransaction

All Implemented Interfaces:
IUndoableOperation

public class UndoTransaction extends AbstractOperation
Class used to create transactions in the operations history. Construct a new UndoTransaction instance to start the transaction, and call commit at the end, as simple as that! If it fails, call rollback, but ALWAYS make sure either commit or rollback is called using try-catch-finally, otherwise there may be leaks due to history listeners.
Author:
Christopher Mindus