org.eclipse.emf.spi.cdo
Interface InternalCDOSession
- All Superinterfaces:
- CDOCommonSession, CDOSession, CDOTransactionContainer, CDOUpdatable, CDOViewContainer, Closeable, IContainer<CDOView>, ILifecycle, INotifier, InternalCDOPackageRegistry.PackageLoader, InternalCDOPackageRegistry.PackageProcessor, InternalCDORevisionManager.RevisionLocker, IOptionsContainer, IUserAware
- public interface InternalCDOSession
- extends CDOSession, InternalCDOPackageRegistry.PackageProcessor, InternalCDOPackageRegistry.PackageLoader, InternalCDORevisionManager.RevisionLocker, ILifecycle
- 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 |
void |
cacheRevisions(CDORevisionAvailabilityInfo info)
|
void |
clearCommittedSinceLastRefresh()
|
CDORevisionAvailabilityInfo |
createRevisionAvailabilityInfo(CDOBranchPoint branchPoint)
|
CDOAuthenticator |
getAuthenticator()
|
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)
|
CDOLobStore |
getLobStore()
|
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)
|
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)
|
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)
|
void |
setBranchManager(InternalCDOBranchManager branchManager)
|
void |
setCommitInfoManager(InternalCDOCommitInfoManager commitInfoManager)
|
void |
setCommittedSinceLastRefresh(CDOID id,
CDOBranchPoint branchPoint)
|
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.view.CDOViewContainer |
getView, getViews, openView, openView, openView, openView, openView, openView, openView, openView, openView, openView |
getSessionProtocol
CDOSessionProtocol getSessionProtocol()
setSessionProtocol
void setSessionProtocol(CDOSessionProtocol sessionProtocol)
- Since:
- 3.0
getAuthenticator
CDOAuthenticator getAuthenticator()
- Since:
- 4.0
setAuthenticator
void setAuthenticator(CDOAuthenticator authenticator)
- Since:
- 4.0
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
void handleCommitNotification(CDOCommitInfo commitInfo)
- Since:
- 3.0
handleLockNotification
void handleLockNotification(CDOLockChangeInfo lockChangeInfo,
InternalCDOView sender)
- Since:
- 4.1
invalidate
void invalidate(CDOCommitInfo commitInfo,
InternalCDOTransaction sender)
- Since:
- 3.0
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
CDORevisionAvailabilityInfo createRevisionAvailabilityInfo(CDOBranchPoint branchPoint)
- Since:
- 4.0
cacheRevisions
void cacheRevisions(CDORevisionAvailabilityInfo info)
- Since:
- 4.0
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.