Package org.eclipse.emf.cdo.transaction
Interface CDOXASavepoint
- All Superinterfaces:
CDORollbackable,CDOUserSavepoint
- All Known Subinterfaces:
InternalCDOXASavepoint
Creates a save point in a
CDOXATransaction that can be used to roll back a part of the transaction.
Note: Save points do not flush to disk. Everything is done in memory on the client side.
- 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 TypeMethodDescriptionReturns the next savepoint in the transaction's savepoint sequence.Returns the previous savepoint in the transaction's savepoint sequence.Returns the transaction that owns this savepoint.Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserSavepoint
getNumber, isLast, isValid, rollback
-
Method Details
-
getTransaction
CDOXATransaction getTransaction()Description copied from interface:CDOUserSavepointReturns the transaction that owns this savepoint.- Specified by:
getTransactionin interfaceCDOUserSavepoint- Returns:
- the owning transaction.
-
getNextSavepoint
CDOXASavepoint getNextSavepoint()Description copied from interface:CDOUserSavepointReturns the next savepoint in the transaction's savepoint sequence.- Specified by:
getNextSavepointin interfaceCDOUserSavepoint- Returns:
- the next savepoint, or
null.
-
getPreviousSavepoint
CDOXASavepoint getPreviousSavepoint()Description copied from interface:CDOUserSavepointReturns the previous savepoint in the transaction's savepoint sequence.- Specified by:
getPreviousSavepointin interfaceCDOUserSavepoint- Returns:
- the previous savepoint, or
null.
-
getSavepoints
List<CDOSavepoint> getSavepoints()
-