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

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

public interface InternalSession
extends ISession, CDOIDProvider, CDOPermissionProvider, CDOCommonSession.Options

Since:
3.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
 
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.security.CDOPermissionProvider
CDOPermissionProvider.Constant
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession.Options
CDOCommonSession.Options.LockNotificationMode, CDOCommonSession.Options.LockNotificationModeEvent, 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
 
Fields inherited from interface org.eclipse.emf.cdo.common.security.CDOPermissionProvider
NONE, READ, WRITE
 
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 sendLockNotification(CDOLockChangeInfo lockChangeInfo)
           
 void sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message)
           
 void sendRemoteSessionNotification(InternalSession sender, byte opcode)
           
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
          Deprecated. use sendRepositoryStateNotification(org.eclipse.emf.cdo.common.CDOCommonRepository.State, org.eclipse.emf.cdo.common.CDOCommonRepository.State, CDOID) instead
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID)
           
 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.security.CDOPermissionProvider
getPermission
 
Methods inherited from interface org.eclipse.emf.cdo.common.CDOCommonSession.Options
getContainer, getLockNotificationMode, getPassiveUpdateMode, isPassiveUpdateEnabled, setLockNotificationMode, 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

@Deprecated
void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                                CDOCommonRepository.State newState)
                                     throws Exception
Deprecated. use sendRepositoryStateNotification(org.eclipse.emf.cdo.common.CDOCommonRepository.State, org.eclipse.emf.cdo.common.CDOCommonRepository.State, CDOID) instead

Throws:
Exception

sendRepositoryStateNotification

void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                     CDOCommonRepository.State newState,
                                     CDOID rootResourceID)
                                     throws Exception
Throws:
Exception
Since:
4.1

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

sendLockNotification

void sendLockNotification(CDOLockChangeInfo lockChangeInfo)
                          throws Exception
Throws:
Exception
Since:
4.1


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