public interface PreCommitListener extends TransactedListener
Modifier and Type | Method and Description |
---|---|
void |
aboutToCommit(CoreEvent[] events)
Current transaction is about to commit.
|
void |
aboutToCommit(Operation<?>[] events)
Current transaction is about to commit.
|
void aboutToCommit(CoreEvent[] events)
This method should be used by listeners using the CoreEvent model and ignored by the one using Operation events.
events
- all core events collected in current transaction.void aboutToCommit(Operation<?>[] events)
This method should be used by listeners using the Operation events and ignored by the one using CoreEvent events.
events
- all operation events collected in current transactionCopyright © 2011 Nuxeo SA. All Rights Reserved.