org.eclipse.emf.spi.cdo
Interface InternalCDOSession

All Superinterfaces:
CDOCommonSession, CDOSession, CDOTransactionContainer, CDOUpdatable, CDOViewContainer, Closeable, IAdaptable, IContainer<CDOView>, ILifecycle, INotifier, InternalCDOPackageRegistry.PackageLoader, InternalCDOPackageRegistry.PackageProcessor, InternalCDORevisionManager.RevisionLocker, IOptionsContainer, IUserAware

public interface InternalCDOSession
extends CDOSession, InternalCDOPackageRegistry.PackageProcessor, InternalCDOPackageRegistry.PackageLoader, InternalCDORevisionManager.RevisionLocker, ILifecycle

If the meaning of this type isn't clear, there really should be more of a description here...

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.

Nested Class Summary
static class InternalCDOSession.MergeData
          A data structure that holds all input and output values of InternalCDOSession.getMergeData().
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.CDOSession
CDOSession.ExceptionHandler, CDOSession.Options
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.DeferrableActivation
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
NO_TIMEOUT
 
Method Summary
 void cacheRevisions(CDORevisionAvailabilityInfo info)
          Deprecated. As of 4.2 not used anymore.
 void clearCommittedSinceLastRefresh()
           
 CDORevisionAvailabilityInfo createRevisionAvailabilityInfo(CDOBranchPoint branchPoint)
          Deprecated. As of 4.2 not used anymore.
 CDOAuthenticator getAuthenticator()
          Deprecated. As of 4.2 use getCredentialsProvider()
 InternalCDOBranchManager getBranchManager()
          Returns the CDO branch manager that manages the branches of the repository of this session.
 InternalCDOCommitInfoManager getCommitInfoManager()
          Returns the CDO commit info manager of this session.
 CDOBranchPoint getCommittedSinceLastRefresh(CDOID id)
           
 IPasswordCredentialsProvider getCredentialsProvider()
           
 CDOLobStore getLobStore()
           
 InternalCDOSession.MergeData getMergeData(CDOBranchPoint target, CDOBranchPoint source, CDOBranchPoint sourceBase, boolean computeChangeSets)
           
 InternalCDOPackageRegistry getPackageRegistry()
          Returns the EMF package registry that is used by all objects of all views of this session.
 InternalCDORemoteSessionManager getRemoteSessionManager()
          Returns the CDO remote session manager that keeps track of the other remote sessions served by the repository of this local session.
 InternalCDORevisionManager getRevisionManager()
          Returns the CDO revision manager that manages the revisions of the repository of this session.
 CDOSessionProtocol getSessionProtocol()
           
 void handleBranchNotification(InternalCDOBranch branch)
           
 void handleCommitNotification(CDOCommitInfo commitInfo)
          Deprecated. As of 4.2 use handleCommitNotification(CDOCommitInfo, boolean)
 void handleCommitNotification(CDOCommitInfo commitInfo, boolean clearResourcePathCache)
           
 void handleLockNotification(CDOLockChangeInfo lockChangeInfo, InternalCDOView sender)
           
 void handleRepositoryStateChanged(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
           
 void handleRepositoryTypeChanged(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)
           
 void invalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender)
          Deprecated. As of 4.2 use invalidate(CDOCommitInfo, InternalCDOTransaction, boolean)
 void invalidate(CDOCommitInfo commitInfo, InternalCDOTransaction sender, boolean clearResourcePathCache)
           
 boolean isSticky()
           
 void processRefreshSessionResult(CDOSessionProtocol.RefreshSessionResult result, CDOBranch branch, List<InternalCDOView> branchViews, Map<CDOBranch,Map<CDOID,InternalCDORevision>> viewedRevisions)
           
 void resolveAllElementProxies(CDORevision revision)
           
 Object resolveElementProxy(CDORevision revision, EStructuralFeature feature, int accessIndex, int serverIndex)
           
 void setAuthenticator(CDOAuthenticator authenticator)
          Deprecated. As of 4.2 use setCredentialsProvider(IPasswordCredentialsProvider)
 void setBranchManager(InternalCDOBranchManager branchManager)
           
 void setCommitInfoManager(InternalCDOCommitInfoManager commitInfoManager)
           
 void setCommittedSinceLastRefresh(CDOID id, CDOBranchPoint branchPoint)
           
 void setCredentialsProvider(IPasswordCredentialsProvider credentialsProvider)
           
 void setExceptionHandler(CDOSession.ExceptionHandler exceptionHandler)
           
 void setFetchRuleManager(CDOFetchRuleManager fetchRuleManager)
           
 void setIDGenerator(CDOIDGenerator idGenerator)
           
 void setLastUpdateTime(long lastUpdateTime)
           
 void setMainBranchLocal(boolean mainBranchLocal)
           
 void setPackageRegistry(InternalCDOPackageRegistry packageRegistry)
           
 void setRemoteSessionManager(InternalCDORemoteSessionManager remoteSessionManager)
           
 void setRepositoryInfo(CDORepositoryInfo repositoryInfo)
           
 void setRevisionManager(InternalCDORevisionManager revisionManager)
           
 void setSessionID(int sessionID)
           
 void setSessionProtocol(CDOSessionProtocol sessionProtocol)
           
 void setUserID(String userID)
           
 void viewDetached(InternalCDOView view)
           
 
Methods inherited from interface org.eclipse.emf.cdo.session.CDOSession
compareRevisions, getExceptionHandler, getFetchRuleManager, getIDGenerator, getRepositoryInfo, options, refresh, waitForUpdate, waitForUpdate
 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession
getSessionID, getView, getViews
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
 
Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
 
Methods inherited from interface org.eclipse.emf.cdo.util.CDOUpdatable
getLastUpdateTime
 
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionContainer
getTransaction, getTransactions, getTransactions, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction, openTransaction
 
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewContainer
getView, getViews, getViews, openView, openView, openView, openView, openView, openView, openView, openView, openView, openView
 
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageProcessor
processPackage
 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.model.InternalCDOPackageRegistry.PackageLoader
loadPackages
 
Methods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionManager.RevisionLocker
acquireAtomicRequestLock, releaseAtomicRequestLock
 
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
 

Method Detail

getSessionProtocol

CDOSessionProtocol getSessionProtocol()

setSessionProtocol

void setSessionProtocol(CDOSessionProtocol sessionProtocol)
Since:
3.0

getAuthenticator

@Deprecated
CDOAuthenticator getAuthenticator()
Deprecated. As of 4.2 use getCredentialsProvider()

Since:
4.0

setAuthenticator

@Deprecated
void setAuthenticator(CDOAuthenticator authenticator)
Deprecated. As of 4.2 use setCredentialsProvider(IPasswordCredentialsProvider)

Since:
4.0

getCredentialsProvider

IPasswordCredentialsProvider getCredentialsProvider()
Since:
4.2

setCredentialsProvider

void setCredentialsProvider(IPasswordCredentialsProvider credentialsProvider)
Since:
4.2

getPackageRegistry

InternalCDOPackageRegistry getPackageRegistry()
Description copied from interface: CDOSession
Returns the EMF package registry that is used by all objects of all views of this session.

This registry is managed by the package unit manager of this session. All packages that 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 a transaction, if needed.

Specified by:
getPackageRegistry in interface CDOSession

setPackageRegistry

void setPackageRegistry(InternalCDOPackageRegistry packageRegistry)
Since:
4.0

getBranchManager

InternalCDOBranchManager getBranchManager()
Description copied from interface: CDOSession
Returns the CDO branch manager that manages the branches of the repository of this session.

Specified by:
getBranchManager in interface CDOSession
Since:
3.0

setBranchManager

void setBranchManager(InternalCDOBranchManager branchManager)
Since:
4.0

getRevisionManager

InternalCDORevisionManager getRevisionManager()
Description copied from interface: CDOSession
Returns the CDO revision manager that manages the revisions of the repository of this session.

Specified by:
getRevisionManager in interface CDOSession
Since:
3.0

setRevisionManager

void setRevisionManager(InternalCDORevisionManager revisionManager)
Since:
4.0

getCommitInfoManager

InternalCDOCommitInfoManager getCommitInfoManager()
Description copied from interface: CDOSession
Returns the CDO commit info manager of this session.

Specified by:
getCommitInfoManager in interface CDOSession
Since:
3.0

setCommitInfoManager

void setCommitInfoManager(InternalCDOCommitInfoManager commitInfoManager)
Since:
4.0

getRemoteSessionManager

InternalCDORemoteSessionManager getRemoteSessionManager()
Description copied from interface: CDOSession
Returns the CDO remote session manager that keeps track of the other remote sessions served by the repository of this local session.

Specified by:
getRemoteSessionManager in interface CDOSession
Since:
3.0

setRemoteSessionManager

void setRemoteSessionManager(InternalCDORemoteSessionManager remoteSessionManager)
Since:
3.0

getLobStore

CDOLobStore getLobStore()
Since:
4.0

setExceptionHandler

void setExceptionHandler(CDOSession.ExceptionHandler exceptionHandler)

setIDGenerator

void setIDGenerator(CDOIDGenerator idGenerator)
Since:
4.1

setFetchRuleManager

void setFetchRuleManager(CDOFetchRuleManager fetchRuleManager)
Since:
3.0

setRepositoryInfo

void setRepositoryInfo(CDORepositoryInfo repositoryInfo)
Since:
3.0

setSessionID

void setSessionID(int sessionID)
Since:
3.0

setUserID

void setUserID(String userID)

setLastUpdateTime

void setLastUpdateTime(long lastUpdateTime)
Since:
3.0

viewDetached

void viewDetached(InternalCDOView view)

resolveElementProxy

Object resolveElementProxy(CDORevision revision,
                           EStructuralFeature feature,
                           int accessIndex,
                           int serverIndex)
Since:
3.0

resolveAllElementProxies

void resolveAllElementProxies(CDORevision revision)
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

void handleBranchNotification(InternalCDOBranch branch)
Since:
3.0

handleCommitNotification

@Deprecated
void handleCommitNotification(CDOCommitInfo commitInfo)
Deprecated. As of 4.2 use handleCommitNotification(CDOCommitInfo, boolean)

Since:
3.0

handleCommitNotification

void handleCommitNotification(CDOCommitInfo commitInfo,
                              boolean clearResourcePathCache)
Since:
4.2

handleLockNotification

void handleLockNotification(CDOLockChangeInfo lockChangeInfo,
                            InternalCDOView sender)
Since:
4.1

invalidate

@Deprecated
void invalidate(CDOCommitInfo commitInfo,
                           InternalCDOTransaction sender)
Deprecated. As of 4.2 use invalidate(CDOCommitInfo, InternalCDOTransaction, boolean)

Since:
3.0

invalidate

void invalidate(CDOCommitInfo commitInfo,
                InternalCDOTransaction sender,
                boolean clearResourcePathCache)
Since:
4.2

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

CDOBranchPoint getCommittedSinceLastRefresh(CDOID id)
Since:
4.0

setCommittedSinceLastRefresh

void setCommittedSinceLastRefresh(CDOID id,
                                  CDOBranchPoint branchPoint)
Since:
4.0

clearCommittedSinceLastRefresh

void clearCommittedSinceLastRefresh()
Since:
4.0

setMainBranchLocal

void 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

getMergeData

InternalCDOSession.MergeData getMergeData(CDOBranchPoint target,
                                          CDOBranchPoint source,
                                          CDOBranchPoint sourceBase,
                                          boolean computeChangeSets)
Since:
4.2


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.