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
 
 public class CDOAutoAttacher extends CDODefaultTransactionHandler1 Atransaction handlerthat automatically attaches cross-referenced objects to theresourcethat contains the referencingobject.- Since:
- 2.0
- Author:
- Simon McDuff
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionHandler1CDOTransactionHandler1.WithUndo
 
- 
 - 
Constructor SummaryConstructors Constructor Description CDOAutoAttacher(CDOTransaction transaction)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachingObject(CDOTransaction transaction, CDOObject object)This implementation does nothing.CDOTransactiongetTransaction()voidmodifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)This implementation does nothing.protected voidpersist(org.eclipse.emf.ecore.EObject res, java.lang.Object object)- 
Methods inherited from class org.eclipse.emf.cdo.transaction.CDODefaultTransactionHandler1detachingObject, handleDefault, undoingObject
 
- 
 
- 
- 
- 
Constructor Detail- 
CDOAutoAttacherpublic CDOAutoAttacher(CDOTransaction transaction) 
 
- 
 - 
Method Detail- 
getTransactionpublic CDOTransaction getTransaction() 
 - 
attachingObjectpublic void attachingObject(CDOTransaction transaction, CDOObject object) Description copied from class:CDODefaultTransactionHandler1This implementation does nothing. Clients may override to provide specialized behavior.- Specified by:
- attachingObjectin interface- CDOTransactionHandler1
- Overrides:
- attachingObjectin class- CDODefaultTransactionHandler1
 
 - 
modifyingObjectpublic void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange) Description copied from class:CDODefaultTransactionHandler1This implementation does nothing. Clients may override to provide specialized behavior.- Specified by:
- modifyingObjectin interface- CDOTransactionHandler1
- Overrides:
- modifyingObjectin class- CDODefaultTransactionHandler1
 
 - 
persistprotected void persist(org.eclipse.emf.ecore.EObject res, java.lang.Object object)
 
- 
 
-