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 SummaryNested Classes Modifier and Type Interface Description static classInternalCDOSession.CommitTokenA token that is maintained during local commits of transactions.static classInternalCDOSession.InvalidationDataA data structure that holds all input values ofInternalCDOSession#invalidate().static classInternalCDOSession.MergeDataA data structure that holds all input and output values ofInternalCDOSession.getMergeData().- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.CDOSessionCDOSession.ExceptionHandler, CDOSession.Options
 - 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 
- 
 - 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.util.CDOUpdatableNO_TIMEOUT
 
- 
 - 
Method Summary- 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSessionauthorizeOperations, getOpeningTime, getSessionID, getView
 - 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.revision.CDORevisionUnchunkerensureChunks
 - 
Methods inherited from interface org.eclipse.emf.cdo.session.CDOSessionchangeCredentials, changeServerPassword, compareRevisions, getExceptionHandler, getFetchRuleManager, getIDGenerator, getRepositoryInfo, newBlob, newBlob, newClob, newClob, options, refresh, refresh, waitForUpdate, waitForUpdate
 - 
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionContainergetTransaction, getTransactions, getTransactions, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction
 - 
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionOpeneropenTransaction, openTransaction
 - 
Methods inherited from interface org.eclipse.emf.cdo.util.CDOUpdatablegetLastUpdateTime, runAfterUpdate
 - 
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewContainergetView, getViews, openView, openView, openView, openView, openView, openView, openView, openView
 - 
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpeneropenView, openView
 - 
Methods inherited from interface org.eclipse.core.runtime.IAdaptablegetAdapter
 - 
Methods inherited from interface org.eclipse.net4j.util.concurrent.IExecutorServiceProvidergetExecutorService
 - 
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycleactivate, deactivate, getLifecycleState, isActive
 - 
Methods inherited from interface org.eclipse.net4j.util.event.INotifieraddListener, getListeners, hasListeners, removeListener
 - 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageLoaderloadPackages
 - 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageProcessorprocessPackage
 - 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLockeracquireAtomicRequestLock, releaseAtomicRequestLock
 
- 
 
- 
- 
- 
Method Detail- 
getViewsInternalCDOView[] getViews() Description copied from interface:CDOViewContainerReturns an array of all openviewsandtransactionsof this session.- Specified by:
- getViewsin interface- CDOCommonSession
- Specified by:
- getViewsin interface- CDOViewContainer
- Since:
- 4.12
- See Also:
- CDOViewContainer.openView()
 
 - 
getSessionProtocolCDOSessionProtocol getSessionProtocol() 
 - 
setSessionProtocolvoid setSessionProtocol(CDOSessionProtocol sessionProtocol) - Since:
- 3.0
 
 - 
getLockStateCacheCDOLockStateCache getLockStateCache() - Since:
- 4.15
 
 - 
getAuthenticator@Deprecated CDOAuthenticator getAuthenticator() Deprecated.As of 4.2 useIPasswordCredentialsProvider.Provider.getCredentialsProvider()- Since:
- 4.0
 
 - 
setAuthenticator@Deprecated void setAuthenticator(CDOAuthenticator authenticator) Deprecated.As of 4.2 usesetCredentialsProvider(IPasswordCredentialsProvider)- Since:
- 4.0
 
 - 
setCredentialsProvidervoid setCredentialsProvider(org.eclipse.net4j.util.security.IPasswordCredentialsProvider credentialsProvider) - Since:
- 4.2
 
 - 
getPackageRegistryInternalCDOPackageRegistry 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 interface- CDOSession
 
 - 
setPackageRegistryvoid setPackageRegistry(InternalCDOPackageRegistry packageRegistry) - Since:
- 4.0
 
 - 
getBranchManagerInternalCDOBranchManager getBranchManager() Description copied from interface:CDOSessionReturns the CDObranch managerthat manages thebranchesof the repository of this session.- Specified by:
- getBranchManagerin interface- CDOSession
- Since:
- 3.0
 
 - 
setBranchManagervoid setBranchManager(InternalCDOBranchManager branchManager) - Since:
- 4.0
 
 - 
getRevisionManagerInternalCDORevisionManager getRevisionManager() Description copied from interface:CDOSessionReturns the CDOrevision managerthat manages therevisionsof the repository of this session.- Specified by:
- getRevisionManagerin interface- CDOSession
- Since:
- 3.0
 
 - 
setRevisionManagervoid setRevisionManager(InternalCDORevisionManager revisionManager) - Since:
- 4.0
 
 - 
getCommitInfoManagerInternalCDOCommitInfoManager getCommitInfoManager() Description copied from interface:CDOSessionReturns the CDOcommit info managerof this session.- Specified by:
- getCommitInfoManagerin interface- CDOSession
- Since:
- 3.0
 
 - 
setCommitInfoManagervoid setCommitInfoManager(InternalCDOCommitInfoManager commitInfoManager) - Since:
- 4.0
 
 - 
getRemoteSessionManagerInternalCDORemoteSessionManager 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 interface- CDOSession
- Since:
- 3.0
 
 - 
setRemoteSessionManagervoid setRemoteSessionManager(InternalCDORemoteSessionManager remoteSessionManager) - Since:
- 3.0
 
 - 
getLobStoreCDOLobStore getLobStore() - Since:
- 4.0
 
 - 
setExceptionHandlervoid setExceptionHandler(CDOSession.ExceptionHandler exceptionHandler) 
 - 
setIDGeneratorvoid setIDGenerator(CDOIDGenerator idGenerator) - Since:
- 4.1
 
 - 
setFetchRuleManagervoid setFetchRuleManager(CDOFetchRuleManager fetchRuleManager) - Since:
- 3.0
 
 - 
setRepositoryInfovoid setRepositoryInfo(CDORepositoryInfo repositoryInfo) - Since:
- 3.0
 
 - 
setSessionIDvoid setSessionID(int sessionID) - Since:
- 3.0
 
 - 
setUserIDvoid setUserID(java.lang.String userID) 
 - 
setLastUpdateTimevoid setLastUpdateTime(long lastUpdateTime) - Since:
- 3.0
 
 - 
resetCredentialsvoid resetCredentials(java.lang.String userID) 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:
- java.lang.UnsupportedOperationException- if the session implementation does not permit resetting user credentials
- Since:
- 4.3
- See Also:
- IPasswordCredentialsProvider.Provider.getCredentialsProvider()
 
 - 
viewDetachedvoid viewDetached(InternalCDOView view) 
 - 
resolveElementProxyjava.lang.Object resolveElementProxy(CDORevision revision, org.eclipse.emf.ecore.EStructuralFeature feature, int accessIndex, int serverIndex) - Since:
- 3.0
 
 - 
resolveAllElementProxiesvoid resolveAllElementProxies(CDORevision revision) - Since:
- 4.0
 
 - 
handleRepositoryTypeChangedvoid handleRepositoryTypeChanged(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) - Since:
- 3.0
 
 - 
handleRepositoryStateChangedvoid handleRepositoryStateChanged(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) - Since:
- 3.0
 
 - 
handleBranchNotification@Deprecated void handleBranchNotification(InternalCDOBranch branch) Deprecated.As of 4.3 no longer supported.- Since:
- 3.0
 
 - 
handleCommitNotification@Deprecated void handleCommitNotification(CDOCommitInfo commitInfo) Deprecated.As of 4.2 usehandleCommitNotification(CDOCommitInfo, boolean).- Since:
- 3.0
 
 - 
handleCommitNotification@Deprecated void handleCommitNotification(CDOCommitInfo commitInfo, boolean clearResourcePathCache) Deprecated.As of 4.3 usehandleCommitNotification(CommitNotificationInfo).- Since:
- 4.2
 
 - 
handleCommitNotificationvoid handleCommitNotification(CDOProtocol.CommitNotificationInfo info) - Since:
- 4.3
 
 - 
handleLockNotification@Deprecated void handleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender) Deprecated.- Since:
- 4.1
 
 - 
handleLockNotificationvoid handleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender, boolean async) - Since:
- 4.12
 
 - 
handleViewClosedvoid handleViewClosed(int viewID) - Since:
- 4.15
 
 - 
startLocalCommitjava.lang.Object startLocalCommit() - Since:
- 4.3
 
 - 
endLocalCommitvoid endLocalCommit(java.lang.Object token) - Since:
- 4.3
 
 - 
invalidate@Deprecated void invalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender) 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, java.util.Map<CDOID,CDOPermission> newPermissions) Deprecated.As of 4.6 useinvalidate(InvalidationData).- Since:
- 4.3
 
 - 
invalidatevoid invalidate(InternalCDOSession.InvalidationData invalidationData) - Since:
- 4.6
 
 - 
processRefreshSessionResultvoid processRefreshSessionResult(CDOSessionProtocol.RefreshSessionResult result, CDOBranch branch, java.util.List<InternalCDOView> branchViews, java.util.Map<CDOBranch,java.util.Map<CDOID,InternalCDORevision>> viewedRevisions) - Since:
- 3.0
 
 - 
isStickyboolean isSticky() - Since:
- 4.0
 
 - 
getCommittedSinceLastRefreshCDOBranchPoint getCommittedSinceLastRefresh(CDOID id) - Since:
- 4.0
 
 - 
setCommittedSinceLastRefreshvoid setCommittedSinceLastRefresh(CDOID id, CDOBranchPoint branchPoint) - Since:
- 4.0
 
 - 
clearCommittedSinceLastRefreshvoid clearCommittedSinceLastRefresh() - Since:
- 4.0
 
 - 
setMainBranchLocalvoid setMainBranchLocal(boolean mainBranchLocal) - Since:
- 4.0
 
 - 
createRevisionAvailabilityInfo@Deprecated CDORevisionAvailabilityInfo createRevisionAvailabilityInfo(CDOBranchPoint branchPoint) Deprecated.As of 4.2 not used anymore.- Since:
- 4.0
 
 - 
cacheRevisions@Deprecated void cacheRevisions(CDORevisionAvailabilityInfo info) Deprecated.As of 4.2 not used anymore.- Since:
- 4.0
 
 - 
getMergeDataInternalCDOSession.MergeData getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint sourceBase, boolean computeChangeSets) - Since:
- 4.2
 
 - 
getMergeDataInternalCDOSession.MergeData getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint targetBase, CDOBranchPoint sourceBase, boolean computeChangeSets) - Since:
- 4.6
 
 
- 
 
-