org.eclipse.emf.cdo.spi.server
Interface InternalSession

All Superinterfaces:
CDOCommonSession, CDOCommonSession.Options, CDOIDProvider, Closeable, IContainer<IView>, INotifier, IOptions, IOptionsContainer, ISession, IUserAware

public interface InternalSession
extends ISession, CDOIDProvider, CDOCommonSession.Options

Since:
3.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 classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession
CDOCommonSession.Options
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession.Options
CDOCommonSession.Options.PassiveUpdateEvent, CDOCommonSession.Options.PassiveUpdateMode
 
Field Summary
static int TEMP_VIEW_ID
           
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOIDProvider
NOOP
 
Method Summary
 void collectContainedRevisions(InternalCDORevision revision, CDOBranchPoint branchPoint, int referenceChunk, Set<CDOID> revisions, List<CDORevision> additionalRevisions)
           
 InternalSessionManager getManager()
           
 InternalView getView(int viewID)
           
 InternalView[] getViews()
           
 InternalTransaction openTransaction(int viewID, CDOBranchPoint branchPoint)
           
 InternalView openView(int viewID, CDOBranchPoint branchPoint)
           
 void sendBranchNotification(InternalCDOBranch branch)
           
 void sendCommitNotification(CDOCommitInfo commitInfo)
           
 void sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message)
           
 void sendRemoteSessionNotification(InternalSession sender, byte opcode)
           
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
           
 void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)
           
 void setSubscribed(boolean subscribed)
           
 void viewClosed(InternalView view)
           
 
Methods inherited from interface org.eclipse.emf.cdo.server.ISession
getLastUpdateTime, getProtocol, isSubscribed
 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession
getSessionID, options
 
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.net4j.util.container.IContainer
getElements, isEmpty
 
Methods inherited from interface org.eclipse.emf.cdo.common.id.CDOIDProvider
provideCDOID
 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession.Options
getContainer, getPassiveUpdateMode, isPassiveUpdateEnabled, setPassiveUpdateEnabled, setPassiveUpdateMode
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Field Detail

TEMP_VIEW_ID

static final int TEMP_VIEW_ID
See Also:
Constant Field Values
Method Detail

getManager

InternalSessionManager getManager()
Specified by:
getManager in interface ISession

getViews

InternalView[] getViews()
Specified by:
getViews in interface CDOCommonSession

getView

InternalView getView(int viewID)
Specified by:
getView in interface CDOCommonSession

openView

InternalView openView(int viewID,
                      CDOBranchPoint branchPoint)
Specified by:
openView in interface ISession

openTransaction

InternalTransaction openTransaction(int viewID,
                                    CDOBranchPoint branchPoint)
Specified by:
openTransaction in interface ISession

viewClosed

void viewClosed(InternalView view)

setSubscribed

void setSubscribed(boolean subscribed)

collectContainedRevisions

void collectContainedRevisions(InternalCDORevision revision,
                               CDOBranchPoint branchPoint,
                               int referenceChunk,
                               Set<CDOID> revisions,
                               List<CDORevision> additionalRevisions)

sendRepositoryTypeNotification

void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType,
                                    CDOCommonRepository.Type newType)
                                    throws Exception
Throws:
Exception

sendRepositoryStateNotification

void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                     CDOCommonRepository.State newState)
                                     throws Exception
Throws:
Exception

sendBranchNotification

void sendBranchNotification(InternalCDOBranch branch)
                            throws Exception
Throws:
Exception

sendCommitNotification

void sendCommitNotification(CDOCommitInfo commitInfo)
                            throws Exception
Throws:
Exception

sendRemoteSessionNotification

void sendRemoteSessionNotification(InternalSession sender,
                                   byte opcode)
                                   throws Exception
Throws:
Exception

sendRemoteMessageNotification

void sendRemoteMessageNotification(InternalSession sender,
                                   CDORemoteSessionMessage message)
                                   throws Exception
Throws:
Exception


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