Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.listener
Interface PreCommitListener

All Superinterfaces:
TransactedListener
All Known Implementing Classes:
TestTransactedListener

public interface PreCommitListener
extends TransactedListener

This listener is notified before a transaction is committed.

Author:
Bogdan Stefanescu

Method Summary
 void aboutToCommit(CoreEvent[] events)
          Current transaction is about to commit.
 void aboutToCommit(Operation<?>[] events)
          Current transaction is about to commit.
 

Method Detail

aboutToCommit

void aboutToCommit(CoreEvent[] events)
Current transaction is about to commit.

This method should be used by listeners using the CoreEvent model and ignored by the one using Operation events.

Parameters:
events - all core events collected in current transaction.

aboutToCommit

void aboutToCommit(Operation<?>[] events)
Current transaction is about to commit.

This method should be used by listeners using the Operation events and ignored by the one using CoreEvent events.

Parameters:
events - all operation events collected in current transaction

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.