|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CDOTransactionHandler
TODO Enhance API: Return exceptions instead of letting them be thrown
Method Summary | |
---|---|
void |
addingObject(CDOTransaction transaction,
CDOObject object)
Called by a CDOTransaction before an object is added. |
void |
committingTransaction(CDOTransaction transaction)
Called by a CDOTransaction before it is being committed. |
void |
modifyingObject(CDOTransaction transaction,
CDOObject object,
CDOFeatureDelta featureDelta)
Called by a CDOTransaction before an object is modified. |
Method Detail |
---|
void addingObject(CDOTransaction transaction, CDOObject object)
CDOTransaction
before an object is added. The implementor of this method is allowed
to throw an unchecked exception that will propagate up to the operation that is about to add the object.
void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureDelta)
CDOTransaction
before an object is modified. The implementor of this method is
allowed to throw an unchecked exception that will propagate up to the operation that is about to modify the object.
Note: This method will be called at most once per object until the associated transaction is committed.
void committingTransaction(CDOTransaction transaction)
CDOTransaction
before it is being committed. The implementor of this method is
allowed to throw an unchecked exception that will propagate up to the operation that is about to commit the
transaction.
|
Copyright (c) 2004 - 2008 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |