Package org.eclipse.emf.spi.cdo
Interface InternalCDOSession
- All Superinterfaces:
CDOCommonSession,CDORevisionUnchunker,CDOSession,CDOTransactionContainer,CDOTransactionOpener,CDOUpdatable,CDOViewContainer,CDOViewOpener,org.eclipse.net4j.util.collection.Closeable,IAdaptable,org.eclipse.net4j.util.container.IContainer<CDOView>,org.eclipse.net4j.util.lifecycle.IDeactivateable,org.eclipse.net4j.util.concurrent.IExecutorServiceProvider,org.eclipse.net4j.util.lifecycle.ILifecycle,org.eclipse.net4j.util.event.INotifier,InternalCDOPackageRegistry.PackageLoader,InternalCDOPackageRegistry.PackageProcessor,InternalCDORevisionManager.RevisionLocker,org.eclipse.net4j.util.options.IOptionsContainer,org.eclipse.net4j.util.security.IPasswordCredentialsProvider.Provider,org.eclipse.net4j.util.properties.IPropertiesContainer,org.eclipse.net4j.util.security.IUserAware
public interface InternalCDOSession
extends CDOSession, InternalCDOPackageRegistry.PackageProcessor, InternalCDOPackageRegistry.PackageLoader, InternalCDORevisionManager.RevisionLocker, CDORevisionUnchunker, org.eclipse.net4j.util.lifecycle.ILifecycle, org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 2.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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA token that is maintained during local commits of transactions.static final classA data structure that holds all input values ofInternalCDOSession#invalidate().static final classA data structure that holds all input and output values ofInternalCDOSession.getMergeData().Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.CDOSession
CDOSession.ExceptionHandler, CDOSession.OptionsNested 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.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
NO_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.As of 4.2 not used anymore.voidcreateRevisionAvailabilityInfo(CDOBranchPoint branchPoint) Deprecated.As of 4.2 not used anymore.voidendLocalCommit(Object token) Deprecated.As of 4.2 useIPasswordCredentialsProvider.Provider.getCredentialsProvider()Returns the CDObranch managerthat manages thebranchesof the repository of this session.Returns the CDOcommit info managerof this session.getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint sourceBase, boolean computeChangeSets) getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint targetBase, CDOBranchPoint sourceBase, boolean computeChangeSets) Returns the CDOremote session managerthat keeps track of the other remote sessions served by the repository of this local session.Returns the CDOrevision managerthat manages therevisionsof the repository of this session.getViews()Returns an array of all openviewsandtransactionsof this session.voidDeprecated.As of 4.3 no longer supported.voidhandleCommitNotification(CDOCommitInfo commitInfo) Deprecated.As of 4.2 usehandleCommitNotification(CDOCommitInfo, boolean).voidhandleCommitNotification(CDOCommitInfo commitInfo, boolean clearResourcePathCache) Deprecated.As of 4.3 usehandleCommitNotification(CommitNotificationInfo).voidvoidhandleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender) Deprecated.voidhandleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender, boolean async) voidhandleRepositoryStateChanged(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) voidhandleRepositoryTypeChanged(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) voidhandleViewClosed(int viewID) voidinvalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender) Deprecated.As of 4.2 useinvalidate(CDOCommitInfo, InternalCDOTransaction, boolean).voidinvalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender, boolean clearResourcePathCache) Deprecated.voidinvalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender, boolean clearResourcePathCache, byte securityImpact, Map<CDOID, CDOPermission> newPermissions) Deprecated.As of 4.6 useinvalidate(InvalidationData).voidinvalidate(InternalCDOSession.InvalidationData invalidationData) booleanisSticky()voidprocessRefreshSessionResult(CDOSessionProtocol.RefreshSessionResult result, CDOBranch branch, List<InternalCDOView> branchViews, Map<CDOBranch, Map<CDOID, InternalCDORevision>> viewedRevisions) voidresetCredentials(String userID) Initiates (possibly interactive) reset of credentials for the specified user.voidresolveAllElementProxies(CDORevision revision) resolveElementProxy(CDORevision revision, EStructuralFeature feature, int accessIndex, int serverIndex) voidsetAuthenticator(CDOAuthenticator authenticator) Deprecated.As of 4.2 usesetCredentialsProvider(IPasswordCredentialsProvider)voidsetBranchManager(InternalCDOBranchManager branchManager) voidsetCommitInfoManager(InternalCDOCommitInfoManager commitInfoManager) voidsetCommittedSinceLastRefresh(CDOID id, CDOBranchPoint branchPoint) voidsetCredentialsProvider(org.eclipse.net4j.util.security.IPasswordCredentialsProvider credentialsProvider) voidsetExceptionHandler(CDOSession.ExceptionHandler exceptionHandler) voidsetFetchRuleManager(CDOFetchRuleManager fetchRuleManager) voidsetIDGenerator(CDOIDGenerator idGenerator) voidsetLastUpdateTime(long lastUpdateTime) voidsetLoginPeek(boolean loginPeek) voidsetMainBranchLocal(boolean mainBranchLocal) voidsetPackageRegistry(InternalCDOPackageRegistry packageRegistry) voidsetRemoteSessionManager(InternalCDORemoteSessionManager remoteSessionManager) voidsetRepositoryInfo(CDORepositoryInfo repositoryInfo) voidsetRevisionManager(InternalCDORevisionManager revisionManager) voidsetSessionID(int sessionID) voidsetSessionProtocol(CDOSessionProtocol sessionProtocol) voidvoidsetUserInfoManager(CDOUserInfoManager userInfoManager) voidsyncExec(org.eclipse.net4j.util.RunnableWithException runnable) voidviewDetached(InternalCDOView view) Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession
authorizeOperations, getOpeningTime, getSessionID, getViewMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.CDORevisionUnchunker
ensureChunksMethods inherited from interface org.eclipse.emf.cdo.session.CDOSession
changeCredentials, changeServerPassword, compareRevisions, getExceptionHandler, getFetchRuleManager, getIDGenerator, getRepositoryInfo, getUserInfoManager, newBlob, newBlob, newClob, newClob, options, refresh, refresh, waitForUpdate, waitForUpdateMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionContainer
getTransaction, getTransactions, getTransactions, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction, openTransactionMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionOpener
openTransaction, openTransactionMethods inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
getLastUpdateTime, runAfterUpdateMethods inherited from interface org.eclipse.emf.cdo.view.CDOViewContainer
getView, getViews, openView, openView, openView, openView, openView, openView, openView, openViewMethods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener
openView, openViewMethods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosedMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
getExecutorServiceMethods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageLoader
loadPackagesMethods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageProcessor
processPackageMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLocker
acquireAtomicRequestLock, releaseAtomicRequestLockMethods inherited from interface org.eclipse.net4j.util.security.IPasswordCredentialsProvider.Provider
getCredentialsProviderMethods inherited from interface org.eclipse.net4j.util.properties.IPropertiesContainer
propertiesMethods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
-
Method Details
-
getViews
InternalCDOView[] getViews()Description copied from interface:CDOViewContainerReturns an array of all openviewsandtransactionsof this session.- Specified by:
getViewsin interfaceCDOCommonSession- Specified by:
getViewsin interfaceCDOViewContainer- Since:
- 4.12
- See Also:
-
getSessionProtocol
CDOSessionProtocol getSessionProtocol() -
setSessionProtocol
- Since:
- 3.0
-
getLockStateCache
CDOLockStateCache getLockStateCache()- Since:
- 4.15
-
getAuthenticator
Deprecated.As of 4.2 useIPasswordCredentialsProvider.Provider.getCredentialsProvider()- Since:
- 4.0
-
setAuthenticator
Deprecated.As of 4.2 usesetCredentialsProvider(IPasswordCredentialsProvider)- Since:
- 4.0
-
setCredentialsProvider
void setCredentialsProvider(org.eclipse.net4j.util.security.IPasswordCredentialsProvider credentialsProvider) - Since:
- 4.2
-
getPackageRegistry
InternalCDOPackageRegistry getPackageRegistry()Description copied from interface:CDOSessionReturns the EMFpackage registrythat is used by allobjectsof allviewsof this session.This registry is managed by the
package unit managerof this session. Allpackagesthat are already persisted in the repository of this session are automatically registered with this registry. New packages can be locally registered with this registry and are committed to the repository through atransaction, if needed.- Specified by:
getPackageRegistryin interfaceCDOSession
-
setPackageRegistry
- Since:
- 4.0
-
getBranchManager
InternalCDOBranchManager getBranchManager()Description copied from interface:CDOSessionReturns the CDObranch managerthat manages thebranchesof the repository of this session.- Specified by:
getBranchManagerin interfaceCDOCommonSession- Specified by:
getBranchManagerin interfaceCDOSession- Since:
- 3.0
-
setBranchManager
- Since:
- 4.0
-
getRevisionManager
InternalCDORevisionManager getRevisionManager()Description copied from interface:CDOSessionReturns the CDOrevision managerthat manages therevisionsof the repository of this session.- Specified by:
getRevisionManagerin interfaceCDOCommonSession- Specified by:
getRevisionManagerin interfaceCDOSession- Since:
- 3.0
-
setRevisionManager
- Since:
- 4.0
-
getCommitInfoManager
InternalCDOCommitInfoManager getCommitInfoManager()Description copied from interface:CDOSessionReturns the CDOcommit info managerof this session.- Specified by:
getCommitInfoManagerin interfaceCDOCommonSession- Specified by:
getCommitInfoManagerin interfaceCDOSession- Since:
- 3.0
-
setCommitInfoManager
- Since:
- 4.0
-
setUserInfoManager
- Since:
- 4.26
-
getRemoteSessionManager
InternalCDORemoteSessionManager getRemoteSessionManager()Description copied from interface:CDOSessionReturns the CDOremote session managerthat keeps track of the other remote sessions served by the repository of this local session.- Specified by:
getRemoteSessionManagerin interfaceCDOSession- Since:
- 3.0
-
setRemoteSessionManager
- Since:
- 3.0
-
getLobStore
CDOLobStore getLobStore()- Since:
- 4.0
-
setExceptionHandler
-
setIDGenerator
- Since:
- 4.1
-
setFetchRuleManager
- Since:
- 3.0
-
setRepositoryInfo
- Since:
- 3.0
-
setSessionID
void setSessionID(int sessionID) - Since:
- 3.0
-
setUserID
-
setLastUpdateTime
void setLastUpdateTime(long lastUpdateTime) - Since:
- 3.0
-
resetCredentials
Initiates (possibly interactive) reset of credentials for the specified user. This is an optional operation of the session and only available for administrators.- Parameters:
userID- the ID of the user for which to reset credentials- Throws:
UnsupportedOperationException- if the session implementation does not permit resetting user credentials- Since:
- 4.3
- See Also:
-
IPasswordCredentialsProvider.Provider.getCredentialsProvider()
-
viewDetached
-
resolveElementProxy
Object resolveElementProxy(CDORevision revision, EStructuralFeature feature, int accessIndex, int serverIndex) - Since:
- 3.0
-
resolveAllElementProxies
- Since:
- 4.0
-
handleRepositoryTypeChanged
void handleRepositoryTypeChanged(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) - Since:
- 3.0
-
handleRepositoryStateChanged
void handleRepositoryStateChanged(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) - Since:
- 3.0
-
handleBranchNotification
Deprecated.As of 4.3 no longer supported.- Since:
- 3.0
-
handleCommitNotification
Deprecated.As of 4.2 usehandleCommitNotification(CDOCommitInfo, boolean).- Since:
- 3.0
-
handleCommitNotification
Deprecated.As of 4.3 usehandleCommitNotification(CommitNotificationInfo).- Since:
- 4.2
-
handleCommitNotification
- Since:
- 4.3
-
handleLockNotification
Deprecated.- Since:
- 4.1
-
handleLockNotification
void handleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender, boolean async) - Since:
- 4.12
-
handleViewClosed
void handleViewClosed(int viewID) - Since:
- 4.15
-
syncExec
- Throws:
Exception- Since:
- 4.22
-
startLocalCommit
Object startLocalCommit()- Since:
- 4.3
-
endLocalCommit
- Since:
- 4.3
-
invalidate
Deprecated.As of 4.2 useinvalidate(CDOCommitInfo, InternalCDOTransaction, boolean).- Since:
- 3.0
-
invalidate
@Deprecated void invalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender, boolean clearResourcePathCache) Deprecated.- Since:
- 4.2
-
invalidate
@Deprecated void invalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender, boolean clearResourcePathCache, byte securityImpact, Map<CDOID, CDOPermission> newPermissions) Deprecated.As of 4.6 useinvalidate(InvalidationData).- Since:
- 4.3
-
invalidate
- Since:
- 4.6
-
processRefreshSessionResult
void processRefreshSessionResult(CDOSessionProtocol.RefreshSessionResult result, CDOBranch branch, List<InternalCDOView> branchViews, Map<CDOBranch, Map<CDOID, InternalCDORevision>> viewedRevisions) - Since:
- 3.0
-
isSticky
boolean isSticky()- Since:
- 4.0
-
getCommittedSinceLastRefresh
- Since:
- 4.0
-
setCommittedSinceLastRefresh
- Since:
- 4.0
-
clearCommittedSinceLastRefresh
void clearCommittedSinceLastRefresh()- Since:
- 4.0
-
setLoginPeek
void setLoginPeek(boolean loginPeek) - Since:
- 4.23
-
setMainBranchLocal
void setMainBranchLocal(boolean mainBranchLocal) - Since:
- 4.0
-
createRevisionAvailabilityInfo
Deprecated.As of 4.2 not used anymore.- Since:
- 4.0
-
cacheRevisions
Deprecated.As of 4.2 not used anymore.- Since:
- 4.0
-
getMergeData
InternalCDOSession.MergeData getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint sourceBase, boolean computeChangeSets) - Since:
- 4.2
-
getMergeData
InternalCDOSession.MergeData getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint targetBase, CDOBranchPoint sourceBase, boolean computeChangeSets) - Since:
- 4.6
-
updatePermissions
Map<CDORevision,CDOPermission> updatePermissions()- Since:
- 4.22
-