Package org.eclipse.emf.cdo.transaction
Class CDOAutoAttacher
java.lang.Object
org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler1
org.eclipse.emf.cdo.transaction.CDOAutoAttacher
- All Implemented Interfaces:
CDOTransactionHandler1
,CDOTransactionHandler1.WithUndo
,CDOTransactionHandlerBase
A
transaction handler
that automatically attaches cross-referenced objects to the
resource
that contains the referencing object
.- Since:
- 2.0
- Author:
- Simon McDuff
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionHandler1
CDOTransactionHandler1.WithUndo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attachingObject
(CDOTransaction transaction, CDOObject object) This implementation does nothing.void
modifyingObject
(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange) This implementation does nothing.protected void
Methods inherited from class org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler1
detachingObject, handleDefault, undoingObject
-
Constructor Details
-
CDOAutoAttacher
-
-
Method Details
-
getTransaction
-
attachingObject
Description copied from class:CDODefaultTransactionHandler1
This implementation does nothing. Clients may override to provide specialized behavior.- Specified by:
attachingObject
in interfaceCDOTransactionHandler1
- Overrides:
attachingObject
in classCDODefaultTransactionHandler1
-
modifyingObject
public void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange) Description copied from class:CDODefaultTransactionHandler1
This implementation does nothing. Clients may override to provide specialized behavior.- Specified by:
modifyingObject
in interfaceCDOTransactionHandler1
- Overrides:
modifyingObject
in classCDODefaultTransactionHandler1
-
persist
-