Package org.eclipse.emf.spi.cdo
Interface InternalCDOSavepoint
- All Superinterfaces:
CDOChangeSetDataProvider,CDORollbackable,CDOSavepoint,CDOTransactionAware,CDOUserSavepoint,InternalCDOUserSavepoint
Adds transaction-internal access to the mutable segment owned by a savepoint. The public
CDOSavepoint aggregate methods expose only the fixed boundary represented by a returned
savepoint. Transaction internals use the IncludingCurrent methods when they need the
active transaction state, including the mutable segment after that boundary.- Since:
- 3.0
- 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 TypeMethodDescriptionvoidclear()Returns the aggregate through this savepoint, including its mutable current segment.Returns change-set data through this savepoint, including its mutable current segment.Returns the aggregate through this savepoint, including its mutable current segment.Returns the aggregate through this savepoint, including its mutable current segment.Returns the aggregate through this savepoint, including its mutable current segment.Returns the aggregate through this savepoint, including its mutable current segment.getDirtyObject(CDOID id) Returns the next savepoint after this one.Returns the savepoint preceding this one.Deprecated.Returns the transaction that owns this savepoint.booleanisNewObject(CDOID id) voidDeprecated.Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOChangeSetDataProvider
getChangeSetDataMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOSavepoint
getAllBaseNewObjects, getAllChangeSetData, getAllDetachedObjects, getAllDirtyObjects, getAllNewObjects, getAllRevisionDeltas, getBaseNewObjects, getDetachedObjects, getDirtyObjects, getNewObjects, getReattachedObjects, getRevisionDeltas, getRevisionDeltas2, wasDirtyMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserSavepoint
getNumber, isLast, isValid, rollbackMethods inherited from interface org.eclipse.emf.spi.cdo.InternalCDOUserSavepoint
setNextSavepoint, setPreviousSavepoint
-
Method Details
-
getTransaction
InternalCDOTransaction getTransaction()Description copied from interface:CDOSavepointReturns the transaction that owns this savepoint.- Specified by:
getTransactionin interfaceCDOSavepoint- Specified by:
getTransactionin interfaceCDOTransactionAware- Specified by:
getTransactionin interfaceCDOUserSavepoint- Specified by:
getTransactionin interfaceInternalCDOUserSavepoint- Returns:
- the owning transaction.
-
getFirstSavePoint
InternalCDOSavepoint getFirstSavePoint()- Specified by:
getFirstSavePointin interfaceInternalCDOUserSavepoint
-
getPreviousSavepoint
InternalCDOSavepoint getPreviousSavepoint()Description copied from interface:CDOSavepointReturns the savepoint preceding this one.- Specified by:
getPreviousSavepointin interfaceCDOSavepoint- Specified by:
getPreviousSavepointin interfaceCDOUserSavepoint- Specified by:
getPreviousSavepointin interfaceInternalCDOUserSavepoint- Returns:
- the previous savepoint, or
null.
-
getNextSavepoint
InternalCDOSavepoint getNextSavepoint()Description copied from interface:CDOSavepointReturns the next savepoint after this one.- Specified by:
getNextSavepointin interfaceCDOSavepoint- Specified by:
getNextSavepointin interfaceCDOUserSavepoint- Specified by:
getNextSavepointin interfaceInternalCDOUserSavepoint- Returns:
- the next savepoint, or
null.
-
clear
void clear() -
isNewObject
- Since:
- 4.1
-
getDirtyObject
- Since:
- 4.6
-
getDetachedObject
- Since:
- 4.6
-
getAllNewObjectsIncludingCurrent
Returns the aggregate through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-
getAllDirtyObjectsIncludingCurrent
Returns the aggregate through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-
getAllBaseNewObjectsIncludingCurrent
Map<CDOID,CDORevision> getAllBaseNewObjectsIncludingCurrent()Returns the aggregate through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-
getAllRevisionDeltasIncludingCurrent
Map<CDOID,CDORevisionDelta> getAllRevisionDeltasIncludingCurrent()Returns the aggregate through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-
getAllDetachedObjectsIncludingCurrent
Returns the aggregate through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-
getAllChangeSetDataIncludingCurrent
CDOChangeSetData getAllChangeSetDataIncludingCurrent()Returns change-set data through this savepoint, including its mutable current segment. This method is for transaction internals; clients must use the fixed-boundary public API.- Since:
- 4.30
-