Package org.eclipse.emf.cdo.transaction
Interface CDOSavepoint
- All Superinterfaces:
CDOChangeSetDataProvider,CDOUserSavepoint
- All Known Subinterfaces:
InternalCDOSavepoint
One in a sequence of possibly several points in time of a
transaction that encapsulates the
changes to transactional objects and that later changes can be rolled back to.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of new objects from this point.Return the list of new objects from this point without objects that are removed.Return the list of all deltas without objects that are removed.Bug 283985 (Re-attachment)Deprecated.booleanwasDirty()Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOChangeSetDataProvider
getChangeSetDataMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserSavepoint
getNumber, isValid, rollback
-
Method Details
-
getTransaction
CDOTransaction getTransaction()- Specified by:
getTransactionin interfaceCDOUserSavepoint- Since:
- 3.0
-
getNextSavepoint
CDOSavepoint getNextSavepoint()- Specified by:
getNextSavepointin interfaceCDOUserSavepoint
-
getPreviousSavepoint
CDOSavepoint getPreviousSavepoint()- Specified by:
getPreviousSavepointin interfaceCDOUserSavepoint
-
wasDirty
boolean wasDirty()- Since:
- 3.0
-
getBaseNewObjects
Map<CDOID,CDORevision> getBaseNewObjects()- Since:
- 3.0
-
getNewObjects
- Since:
- 3.0
-
getDetachedObjects
- Since:
- 3.0
-
getReattachedObjects
Bug 283985 (Re-attachment)- Since:
- 3.0
-
getDirtyObjects
- Since:
- 3.0
-
getRevisionDeltas
Deprecated.As of 4.2 usegetRevisionDeltas2()instead.The returned map delegates togetRevisionDeltas2()and does not support the following methods:- Since:
- 3.0
-
getRevisionDeltas2
Map<CDOID,CDORevisionDelta> getRevisionDeltas2()- Since:
- 4.2
-
getAllBaseNewObjects
Map<CDOID,CDORevision> getAllBaseNewObjects()- Since:
- 3.0
-
getAllNewObjects
Return the list of new objects from this point without objects that are removed.- Since:
- 3.0
-
getAllDetachedObjects
- Since:
- 3.0
-
getAllDirtyObjects
Return the list of new objects from this point.- Since:
- 3.0
-
getAllRevisionDeltas
Map<CDOID,CDORevisionDelta> getAllRevisionDeltas()Return the list of all deltas without objects that are removed.- Since:
- 3.0
-
getAllChangeSetData
CDOChangeSetData getAllChangeSetData()- Since:
- 4.0
-
getRevisionDeltas2()instead.