org.eclipse.emf.spi.cdo
Interface InternalCDOTransaction
- All Superinterfaces:
- CDOBranchPoint, CDOChangeSetDataProvider, CDOCommonTransaction, CDOCommonView, CDOIDProvider, CDOLockOwner, CDORevisionProvider, CDOTransaction, CDOUpdatable, CDOUserTransaction, CDOView, Closeable, ILifecycle, INotifier, InternalCDOUserTransaction, InternalCDOView, IOptionsContainer
- public interface InternalCDOTransaction
- extends CDOTransaction, InternalCDOUserTransaction, InternalCDOView
- Since:
- 2.0
- 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 |
InternalCDOTransaction.ApplyChangeSetResult |
applyChangeSet(CDOChangeSetData changeSetData,
CDORevisionProvider ancestorProvider,
CDORevisionProvider targetProvider,
CDOBranchPoint source,
boolean keepVersions)
|
Pair<CDOChangeSetData,Pair<Map<CDOID,CDOID>,List<CDOID>>> |
applyChangeSetData(CDOChangeSetData changeSetData,
CDORevisionProvider ancestorProvider,
CDORevisionProvider targetProvider,
CDOBranchPoint source)
Deprecated. Use
applyChangeSet(CDOChangeSetData, CDORevisionProvider, CDORevisionProvider, CDOBranchPoint, boolean) |
InternalCDOTransaction.InternalCDOCommitContext |
createCommitContext()
|
CDOID |
createIDForNewObject(EObject object)
|
void |
detachObject(InternalCDOObject object)
|
Map<InternalCDOObject,InternalCDORevision> |
getCleanRevisions()
|
InternalCDOSavepoint |
getFirstSavepoint()
|
InternalCDOSavepoint |
getLastSavepoint()
|
CDOIDTemp |
getNextTemporaryID()
Deprecated. createIDForNewObject(EObject) is called since 4.1. |
CDOResourceFolder |
getOrCreateResourceFolder(List<String> names)
|
CDOTransactionStrategy |
getTransactionStrategy()
|
void |
handleRollback(InternalCDOSavepoint savepoint)
|
InternalCDOSavepoint |
handleSetSavepoint()
|
void |
registerAttached(InternalCDOObject object,
boolean isNew)
|
void |
registerDirty(InternalCDOObject object,
CDOFeatureDelta featureDelta)
|
void |
registerFeatureDelta(InternalCDOObject object,
CDOFeatureDelta featureDelta)
|
void |
registerRevisionDelta(CDORevisionDelta revisionDelta)
|
void |
setConflict(InternalCDOObject object)
|
InternalCDOSavepoint |
setSavepoint()
Creates a save point in the CDOTransaction that can be used to roll back a part of the transaction
Save points do not involve the server side, everything is done on the client side. |
void |
setTransactionStrategy(CDOTransactionStrategy transactionStrategy)
|
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransaction |
addTransactionHandler, createQuery, createQuery, createResource, createResourceFolder, exportChanges, getCommitComment, getCommittables, getConflicts, getDetachedObjects, getDirtyObjects, getLastCommitTime, getNewObjects, getOrCreateResource, getOrCreateResourceFolder, getRevisionDeltas, getTransactionHandlers, getTransactionHandlers1, getTransactionHandlers2, hasConflict, importChanges, isDirty, merge, merge, options, removeTransactionHandler, setCommitComment, setCommittables |
Methods inherited from interface org.eclipse.emf.spi.cdo.InternalCDOView |
attachResource, collectViewedRevisions, convertIDToObject, convertObjectToID, convertObjectToID, deregisterObject, getFeatureAnalyzer, getLockStates, getObjects, getResourceNodeID, getRevision, getSession, getStore, getViewSet, handleAddAdapter, handleLockNotification, handleObjectStateChanged, handleRemoveAdapter, hasSubscription, invalidate, isObjectLocked, isObjectNew, prefetchRevisions, registerObject, registerProxyResource, remapObject, setFeatureAnalyzer, setLastUpdateTime, setSession, setViewID, setViewSet, subscribe, toTransaction, unsubscribe |
Methods inherited from interface org.eclipse.emf.cdo.view.CDOView |
addObjectHandler, compareRevisions, createQuery, createQuery, disableDurableLocking, enableDurableLocking, enableDurableLocking, getObject, getObject, getObject, getObjectHandlers, getResource, getResource, getResourceNode, getResourceSet, getRootResource, getURIHandler, hasResource, isInvalidationRunnerActive, isLegacyModeEnabled, isObjectRegistered, lockObjects, lockObjects, queryResources, queryResourcesAsync, queryXRefs, queryXRefs, queryXRefsAsync, reload, removeObjectHandler, setBranch, setBranchPoint, setBranchPoint, setTimeStamp, unlockObjects, unlockObjects, unlockObjects |
createCommitContext
InternalCDOTransaction.InternalCDOCommitContext createCommitContext()
setSavepoint
InternalCDOSavepoint setSavepoint()
- Description copied from interface:
CDOUserTransaction
- Creates a save point in the
CDOTransaction
that can be used to roll back a part of the transaction
Save points do not involve the server side, everything is done on the client side.
- Specified by:
setSavepoint
in interface CDOTransaction
- Specified by:
setSavepoint
in interface CDOUserTransaction
- Specified by:
setSavepoint
in interface InternalCDOUserTransaction
- Since:
- 3.0
getFirstSavepoint
InternalCDOSavepoint getFirstSavepoint()
- Specified by:
getFirstSavepoint
in interface CDOTransaction
- Since:
- 4.1
getLastSavepoint
InternalCDOSavepoint getLastSavepoint()
- Specified by:
getLastSavepoint
in interface CDOTransaction
- Specified by:
getLastSavepoint
in interface CDOUserTransaction
- Specified by:
getLastSavepoint
in interface InternalCDOUserTransaction
- Since:
- 3.0
handleSetSavepoint
InternalCDOSavepoint handleSetSavepoint()
- Since:
- 3.0
handleRollback
void handleRollback(InternalCDOSavepoint savepoint)
- Since:
- 3.0
getTransactionStrategy
CDOTransactionStrategy getTransactionStrategy()
setTransactionStrategy
void setTransactionStrategy(CDOTransactionStrategy transactionStrategy)
getOrCreateResourceFolder
CDOResourceFolder getOrCreateResourceFolder(List<String> names)
- Returns:
- never
null
;
detachObject
void detachObject(InternalCDOObject object)
getNextTemporaryID
@Deprecated
CDOIDTemp getNextTemporaryID()
- Deprecated.
createIDForNewObject(EObject)
is called since 4.1.
createIDForNewObject
CDOID createIDForNewObject(EObject object)
- Since:
- 4.1
registerAttached
void registerAttached(InternalCDOObject object,
boolean isNew)
- Since:
- 4.0
registerDirty
void registerDirty(InternalCDOObject object,
CDOFeatureDelta featureDelta)
registerFeatureDelta
void registerFeatureDelta(InternalCDOObject object,
CDOFeatureDelta featureDelta)
registerRevisionDelta
void registerRevisionDelta(CDORevisionDelta revisionDelta)
setConflict
void setConflict(InternalCDOObject object)
applyChangeSetData
@Deprecated
Pair<CDOChangeSetData,Pair<Map<CDOID,CDOID>,List<CDOID>>> applyChangeSetData(CDOChangeSetData changeSetData,
CDORevisionProvider ancestorProvider,
CDORevisionProvider targetProvider,
CDOBranchPoint source)
- Deprecated. Use
applyChangeSet(CDOChangeSetData, CDORevisionProvider, CDORevisionProvider, CDOBranchPoint, boolean)
- Parameters:
source
- May be null
if changeSetData does not result from a
merge
or if the merge was not in
a local
branch.- Since:
- 4.0
applyChangeSet
InternalCDOTransaction.ApplyChangeSetResult applyChangeSet(CDOChangeSetData changeSetData,
CDORevisionProvider ancestorProvider,
CDORevisionProvider targetProvider,
CDOBranchPoint source,
boolean keepVersions)
throws InternalCDOTransaction.ChangeSetOutdatedException
- Parameters:
source
- May be null
if changeSetData does not result from a
merge
or if the merge was not in
a local
branch.
- Throws:
InternalCDOTransaction.ChangeSetOutdatedException
- Since:
- 4.1
getCleanRevisions
Map<InternalCDOObject,InternalCDORevision> getCleanRevisions()
- Since:
- 4.0
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.