public interface InternalSession extends ISession, CDOIDProvider, CDOPermissionProvider, CDOCommonSession.Options
CDOCommonSession.Options
IContainer.Modifiable<E>
CDOPermissionProvider.Constant
CDOCommonSession.Options.LockNotificationMode, CDOCommonSession.Options.LockNotificationModeEvent, CDOCommonSession.Options.PassiveUpdateEvent, CDOCommonSession.Options.PassiveUpdateMode
Modifier and Type | Field and Description |
---|---|
static int |
TEMP_VIEW_ID |
NOOP
NONE, READ, WRITE
getLastUpdateTime, getProtocol, isSubscribed
getSessionID, options
getAdapter
getUserID
getElements, isEmpty
provideCDOID
getPermission
getContainer, getLockNotificationMode, getPassiveUpdateMode, isPassiveUpdateEnabled, setLockNotificationMode, setPassiveUpdateEnabled, setPassiveUpdateMode
addListener, getListeners, hasListeners, removeListener
static final int TEMP_VIEW_ID
InternalSessionManager getManager()
getManager
in interface ISession
void setUserID(String userID)
InternalView[] getViews()
getViews
in interface CDOCommonSession
InternalView getView(int viewID)
getView
in interface CDOCommonSession
InternalView openView(int viewID, CDOBranchPoint branchPoint)
InternalTransaction openTransaction(int viewID, CDOBranchPoint branchPoint)
openTransaction
in interface ISession
void viewClosed(InternalView view)
void setSubscribed(boolean subscribed)
void collectContainedRevisions(InternalCDORevision revision, CDOBranchPoint branchPoint, int referenceChunk, Set<CDOID> revisions, List<CDORevision> additionalRevisions)
void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) throws Exception
Exception
@Deprecated void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) throws Exception
sendRepositoryStateNotification(org.eclipse.emf.cdo.common.CDOCommonRepository.State, org.eclipse.emf.cdo.common.CDOCommonRepository.State, CDOID)
insteadException
void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID) throws Exception
Exception
void sendBranchNotification(InternalCDOBranch branch) throws Exception
Exception
@Deprecated void sendCommitNotification(CDOCommitInfo commitInfo) throws Exception
sendCommitNotification(CDOCommitInfo, boolean)
Exception
void sendCommitNotification(CDOCommitInfo commitInfo, boolean clearResourcePathCache) throws Exception
Exception
void sendRemoteSessionNotification(InternalSession sender, byte opcode) throws Exception
Exception
void sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message) throws Exception
Exception
void sendLockNotification(CDOLockChangeInfo lockChangeInfo) throws Exception
Exception
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.