Package org.eclipse.emf.spi.cdo
Interface InternalCDOTransaction
- All Superinterfaces:
CDOBranchPoint
,CDOBranchProvider
,CDOChangeSetDataProvider
,CDOCommitHistory.Provider<CDOObject,
,CDOObjectHistory> CDOCommonTransaction
,CDOCommonView
,CDOIDProvider
,CDORevisionProvider
,CDOTimeProvider
,CDOTransaction
,CDOUpdatable
,CDOUserTransaction
,CDOView
,org.eclipse.net4j.util.collection.Closeable
,IAdaptable
,org.eclipse.net4j.util.container.IContainer<CDOResourceNode>
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.event.INotifier
,InternalCDOUserTransaction
,InternalCDOView
,org.eclipse.net4j.util.options.IOptionsContainer
,org.eclipse.net4j.util.properties.IPropertiesContainer
public interface InternalCDOTransaction
extends CDOTransaction, InternalCDOUserTransaction, InternalCDOView
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 2.0
- Author:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
If the meaning of this type isn't clear, there really should be more of a description here...static final class
If the meaning of this type isn't clear, there really should be more of a description here...static interface
Provides a context for a commit operation.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.transaction.CDOTransaction
CDOTransaction.CommitResult<T>, CDOTransaction.Options
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.view.CDOView
CDOView.Options
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
Nested classes/interfaces inherited from interface org.eclipse.emf.spi.cdo.InternalCDOView
InternalCDOView.ViewAndState, InternalCDOView.ViewInvalidationData
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOIDProvider
NOOP
Fields inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
NO_TIMEOUT
Fields inherited from interface org.eclipse.emf.cdo.view.CDOView
PROP_LIFECYCLE_EXCEPTION_HANDLER, PROP_TIME_MACHINE_DISABLED
-
Method Summary
Modifier and TypeMethodDescriptionapplyChangeSet
(CDOChangeSetData changeSetData, CDORevisionProvider targetBaseProvider, CDORevisionProvider targetProvider, CDOBranchPoint source, boolean keepVersions) org.eclipse.net4j.util.collection.Pair<CDOChangeSetData,
org.eclipse.net4j.util.collection.Pair<Map<CDOID, CDOID>, List<CDOID>>> applyChangeSetData
(CDOChangeSetData changeSetData, CDORevisionProvider targetBaseProvider, CDORevisionProvider targetProvider, CDOBranchPoint source) Deprecated.createIDForNewObject
(EObject object) void
detachObject
(InternalCDOObject object) Deprecated.createIDForNewObject(EObject)
is called since 4.1.getOrCreateResourceFolder
(List<String> names) void
handleRollback
(InternalCDOSavepoint savepoint) boolean
void
registerAttached
(InternalCDOObject object, boolean isNew) void
registerDirty
(InternalCDOObject object, CDOFeatureDelta featureDelta) void
registerDirty
(InternalCDOObject object, CDOFeatureDelta featureDelta, InternalCDORevision cleanRevision) void
registerFeatureDelta
(InternalCDOObject object, CDOFeatureDelta featureDelta) void
registerFeatureDelta
(InternalCDOObject object, CDOFeatureDelta featureDelta, InternalCDORevision cleanRevision) void
registerRevisionDelta
(CDORevisionDelta revisionDelta) void
removeConflict
(InternalCDOObject object) void
setCommitMergeSource
(CDOBranchPoint mergeSource) void
setCommitProperties
(Map<String, String> properties) void
setConflict
(InternalCDOObject object) void
setDirty
(boolean dirty) Creates a save point in theCDOTransaction
that can be used to roll back a part of the transactionvoid
setTransactionStrategy
(CDOTransactionStrategy transactionStrategy) Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStamp
Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOChangeSetDataProvider
getChangeSetData
Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitHistory.Provider
getHistory, getHistory
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonView
getDurableLockingID, getSessionID, getViewID, isDurableView, isHistorical, isReadOnly
Methods inherited from interface org.eclipse.emf.cdo.common.id.CDOIDProvider
provideCDOID
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider
getRevision
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransaction
addTransactionHandler, commit, commit, commit, commit, commit, commit, commitAndClose, createBinaryResource, createQuery, createQuery, createResource, createResourceFolder, createTextResource, exportChanges, getCommitComment, getCommitProperty, getCommittables, getConflicts, getDetachedObjects, getDirtyObjects, getLastCommitTime, getNewObjects, getOrCreateBinaryResource, getOrCreateResource, getOrCreateResourceFolder, getOrCreateTextResource, getRevisionDeltas, getTransactionHandlers, getTransactionHandlers1, getTransactionHandlers2, hasConflict, importChanges, isDirty, merge, merge, merge, merge, options, removeTransactionHandler, revertTo, setCommitComment, setCommitProperty, setCommittables
Methods inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
getLastUpdateTime, runAfterUpdate, waitForUpdate, waitForUpdate
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserTransaction
commit, commit, rollback
Methods inherited from interface org.eclipse.emf.cdo.view.CDOView
addObjectHandler, addRegistrationHandler, compareRevisions, createQuery, createQuery, createResourceURI, disableDurableLocking, enableDurableLocking, enableDurableLocking, getBinaryResource, getLockStates, getLockStates, getLockStatesOfObjects, getObject, getObject, getObject, getObjectHandlers, getObjects, getProvider, getRegistrationHandlers, getResource, getResource, getResourceFolder, getResourceNode, getResourceSet, getRootResource, getTextResource, getUnitManager, getURI, getURIHandler, getViewLock, hasResource, isInvalidating, isInvalidationRunnerActive, isLegacyModeEnabled, isObjectRegistered, lockObjects, lockObjects, queryInstances, queryInstancesAsync, queryInstancesAsync, queryResources, queryResourcesAsync, queryXRefs, queryXRefs, queryXRefsAsync, refreshLockStates, reload, removeObjectHandler, removeRegistrationHandler, setBranch, setBranch, setBranchPoint, setBranchPoint, setBranchPoint, setBranchPoint, setResourcePathCache, setTimeStamp, setTimeStamp, syncExec, syncExec, unlockObjects, unlockObjects, unlockObjects
Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
getExecutorService
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface org.eclipse.emf.spi.cdo.InternalCDOView
attachResource, clearResourcePathCacheIfNecessary, collectViewedRevisions, convertIDToObject, convertObjectToID, convertObjectToID, deregisterObject, getFeatureAnalyzer, getLockOwner, getObjects, getObjectsList, getRepositoryName, getResourceNodeID, getRevision, getSession, getStore, getViewAndState, getViewMonitor, getViewSet, handleAddAdapter, handleLockNotification, handleObjectStateChanged, handleRemoveAdapter, hasSubscription, invalidate, invalidate, invalidate, inverseClose, isClosing, isObjectLocked, isObjectNew, lockView, prefetchRevisions, registerObject, registerProxyResource, remapObject, resourceLoaded, setFeatureAnalyzer, setLastUpdateTime, setProvider, setRepositoryName, setSession, setViewID, setViewSet, subscribe, toTransaction, unlockView, unsubscribe, updateLockStates
Methods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
properties
-
Method Details
-
createCommitContext
InternalCDOTransaction.InternalCDOCommitContext createCommitContext() -
getCommitToken
InternalCDOSession.CommitToken getCommitToken()- Since:
- 4.5
-
getCommitProperties
- Since:
- 4.25
-
setCommitProperties
- Since:
- 4.25
-
getCommitMergeSource
CDOBranchPoint getCommitMergeSource()- Since:
- 4.6
-
setCommitMergeSource
- Since:
- 4.6
-
hasMultipleSavepoints
boolean hasMultipleSavepoints()- Since:
- 4.3
-
setSavepoint
InternalCDOSavepoint setSavepoint()Description copied from interface:CDOUserTransaction
Creates a save point in theCDOTransaction
that can be used to roll back a part of the transactionSave points do not involve the server side, everything is done on the client side.
- Specified by:
setSavepoint
in interfaceCDOTransaction
- Specified by:
setSavepoint
in interfaceCDOUserTransaction
- Specified by:
setSavepoint
in interfaceInternalCDOUserTransaction
- Since:
- 3.0
-
getFirstSavepoint
InternalCDOSavepoint getFirstSavepoint()- Specified by:
getFirstSavepoint
in interfaceCDOTransaction
- Since:
- 4.1
-
getLastSavepoint
InternalCDOSavepoint getLastSavepoint()- Specified by:
getLastSavepoint
in interfaceCDOTransaction
- Specified by:
getLastSavepoint
in interfaceCDOUserTransaction
- Specified by:
getLastSavepoint
in interfaceInternalCDOUserTransaction
- Since:
- 3.0
-
handleSetSavepoint
InternalCDOSavepoint handleSetSavepoint()- Since:
- 3.0
-
handleRollback
- Since:
- 3.0
-
getTransactionStrategy
CDOTransactionStrategy getTransactionStrategy() -
setTransactionStrategy
-
getOrCreateResourceFolder
- Returns:
- never
null
;
-
detachObject
-
getNextTemporaryID
Deprecated.createIDForNewObject(EObject)
is called since 4.1. -
createIDForNewObject
- Since:
- 4.1
-
registerAttached
- Since:
- 4.0
-
registerDirty
-
registerDirty
void registerDirty(InternalCDOObject object, CDOFeatureDelta featureDelta, InternalCDORevision cleanRevision) - Since:
- 4.3
-
registerFeatureDelta
-
registerFeatureDelta
void registerFeatureDelta(InternalCDOObject object, CDOFeatureDelta featureDelta, InternalCDORevision cleanRevision) - Since:
- 4.3
-
registerRevisionDelta
-
setDirty
void setDirty(boolean dirty) - Since:
- 4.2
-
setConflict
-
removeConflict
- Since:
- 4.4
-
applyChangeSetData
@Deprecated org.eclipse.net4j.util.collection.Pair<CDOChangeSetData,org.eclipse.net4j.util.collection.Pair<Map<CDOID, applyChangeSetDataCDOID>, List<CDOID>>> (CDOChangeSetData changeSetData, CDORevisionProvider targetBaseProvider, CDORevisionProvider targetProvider, CDOBranchPoint source) Deprecated. -
applyChangeSet
InternalCDOTransaction.ApplyChangeSetResult applyChangeSet(CDOChangeSetData changeSetData, CDORevisionProvider targetBaseProvider, CDORevisionProvider targetProvider, CDOBranchPoint source, boolean keepVersions) throws InternalCDOTransaction.ChangeSetOutdatedException - Parameters:
source
- May benull
if changeSetData does not result from amerge
or if the merge was not in alocal
branch.- Throws:
InternalCDOTransaction.ChangeSetOutdatedException
- Since:
- 4.1
-
getCleanRevisions
Map<InternalCDOObject,InternalCDORevision> getCleanRevisions()- Since:
- 4.0
-
applyChangeSet(CDOChangeSetData, CDORevisionProvider, CDORevisionProvider, CDOBranchPoint, boolean)