public interface CDOSessionProtocol extends CDOProtocol, InternalCDOPackageRegistry.PackageLoader, InternalCDOBranchManager.BranchLoader3, InternalCDORevisionManager.RevisionLoader2, InternalCDOCommitInfoManager.CommitInfoLoader
Modifier and Type | Interface and Description |
---|---|
static class |
CDOSessionProtocol.CommitTransactionResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
CDOSessionProtocol.LockObjectsResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
CDOSessionProtocol.MergeDataResult |
static class |
CDOSessionProtocol.OpenSessionResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
CDOSessionProtocol.RefreshSessionResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
CDOSessionProtocol.RepositoryTimeResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
CDOSessionProtocol.UnlockObjectsResult
If the meaning of this type isn't clear, there really should be more of a description here...
|
CDOProtocol.CommitData, CDOProtocol.CommitNotificationInfo
CDOProtocolConstants.UnitOpcode
InternalCDOBranchManager.BranchLoader.BranchInfo, InternalCDOBranchManager.BranchLoader.SubBranchInfo
NO_MORE_REMOTE_SESSIONS, PROTOCOL_NAME, PROTOCOL_VERSION, QUERY_LANGUAGE_INSTANCES, QUERY_LANGUAGE_INSTANCES_EXACT, QUERY_LANGUAGE_INSTANCES_TYPE, QUERY_LANGUAGE_RESOURCES, QUERY_LANGUAGE_RESOURCES_EXACT_MATCH, QUERY_LANGUAGE_RESOURCES_FOLDER_ID, QUERY_LANGUAGE_XREFS, QUERY_LANGUAGE_XREFS_SOURCE_REFERENCES, QUERY_RESULT_EXCEPTION, QUERY_RESULT_PRIMITIVE, QUERY_RESULT_REVISION, REFRESH_CHANGED_OBJECT, REFRESH_DETACHED_OBJECT, REFRESH_FINISHED, REFRESH_PACKAGE_UNIT, RELEASE_ALL_LOCKS, REMOTE_SESSION_CLOSED, REMOTE_SESSION_CUSTOM_DATA, REMOTE_SESSION_OPENED, REMOTE_SESSION_SUBSCRIBED, REMOTE_SESSION_UNSUBSCRIBED, REPLICATE_BRANCH, REPLICATE_COMMIT, REPLICATE_FINISHED, REPLICATE_LOCKAREA, REVISION_DOES_NOT_EXIST, ROLLBACK_REASON_COMMIT_CONFLICT, ROLLBACK_REASON_CONTAINMENT_CYCLE, ROLLBACK_REASON_OPTIMISTIC_LOCKING, ROLLBACK_REASON_REFERENTIAL_INTEGRITY, ROLLBACK_REASON_UNIT_INTEGRITY, ROLLBACK_REASON_UNKNOWN, ROLLBACK_REASON_VALIDATION_ERROR, SIGNAL_AUTHENTICATION, SIGNAL_BRANCH_NOTIFICATION, SIGNAL_CHANGE_CREDENTIALS, SIGNAL_CHANGE_SUBSCRIPTION, SIGNAL_CLOSE_VIEW, SIGNAL_COMMIT_DELEGATION, SIGNAL_COMMIT_NOTIFICATION, SIGNAL_COMMIT_TRANSACTION, SIGNAL_CREATE_BRANCH, SIGNAL_CREDENTIALS_CHALLENGE, SIGNAL_DISABLE_PASSIVE_UPDATE, SIGNAL_ENABLE_LOCK_NOTIFICATION, SIGNAL_GET_REMOTE_SESSIONS, SIGNAL_HANDLE_REVISIONS, SIGNAL_LOAD_BRANCH, SIGNAL_LOAD_BRANCHES, SIGNAL_LOAD_CHANGE_SETS, SIGNAL_LOAD_CHUNK, SIGNAL_LOAD_COMMIT_DATA, SIGNAL_LOAD_COMMIT_INFOS, SIGNAL_LOAD_LOB, SIGNAL_LOAD_MERGE_DATA, SIGNAL_LOAD_OBJECT_LIFETIME, SIGNAL_LOAD_PACKAGES, SIGNAL_LOAD_PERMISSIONS, SIGNAL_LOAD_REVISION_BY_VERSION, SIGNAL_LOAD_REVISIONS, SIGNAL_LOAD_SUB_BRANCHES, SIGNAL_LOCK_AREA, SIGNAL_LOCK_DELEGATION, SIGNAL_LOCK_NOTIFICATION, SIGNAL_LOCK_OBJECTS, SIGNAL_LOCK_STATE, SIGNAL_OBJECT_LOCKED, SIGNAL_OPEN_SESSION, SIGNAL_OPEN_VIEW, SIGNAL_OPENED_SESSION, SIGNAL_QUERY, SIGNAL_QUERY_CANCEL, SIGNAL_QUERY_LOBS, SIGNAL_REFRESH_SESSION, SIGNAL_REMOTE_MESSAGE, SIGNAL_REMOTE_MESSAGE_NOTIFICATION, SIGNAL_REMOTE_SESSION_NOTIFICATION, SIGNAL_RENAME_BRANCH, SIGNAL_REPLICATE_REPOSITORY, SIGNAL_REPLICATE_REPOSITORY_RAW, SIGNAL_REPOSITORY_STATE_NOTIFICATION, SIGNAL_REPOSITORY_TIME, SIGNAL_REPOSITORY_TYPE_NOTIFICATION, SIGNAL_RESET_TRANSACTION, SIGNAL_SET_LOCK_NOTIFICATION_MODE, SIGNAL_SET_PASSIVE_UPDATE_MODE, SIGNAL_SWITCH_TARGET, SIGNAL_UNIT, SIGNAL_UNLOCK_DELEGATION, SIGNAL_UNLOCK_OBJECTS, SIGNAL_UNSUBSCRIBE_REMOTE_SESSIONS, SIGNAL_XA_COMMIT_TRANSACTION_CANCEL, SIGNAL_XA_COMMIT_TRANSACTION_PHASE1, SIGNAL_XA_COMMIT_TRANSACTION_PHASE2, SIGNAL_XA_COMMIT_TRANSACTION_PHASE3, X_COMPRESSION
NEW_BRANCH, NEW_LOCAL_BRANCH
Modifier and Type | Method and Description |
---|---|
boolean |
cancelQuery(int queryId) |
java.lang.String |
changeLockArea(CDOView view,
boolean create) |
void |
changeSubscription(int viewId,
java.util.List<CDOID> ids,
boolean subscribeMode,
boolean clear) |
void |
closeView(int viewID) |
CDOSessionProtocol.CommitTransactionResult |
commitDelegation(CDOBranch branch,
java.lang.String userID,
java.lang.String comment,
CDOCommitData commitData,
java.util.Map<CDOID,EClass> detachedObjectTypes,
java.util.Collection<CDOLob<?>> lobs,
OMMonitor monitor)
Deprecated.
Not called anymore. Use
#commitDelegation(InternalCDOCommitContext, OMMonitor) instead. |
CDOSessionProtocol.CommitTransactionResult |
commitDelegation(InternalCDOTransaction.InternalCDOCommitContext context,
OMMonitor monitor) |
CDOSessionProtocol.CommitTransactionResult |
commitTransaction(InternalCDOTransaction.InternalCDOCommitContext context,
OMMonitor monitor) |
CDOSessionProtocol.CommitTransactionResult |
commitTransaction(int transactionID,
java.lang.String comment,
boolean releaseLocks,
CDOIDProvider idProvider,
CDOCommitData commitData,
java.util.Collection<CDOLob<?>> lobs,
OMMonitor monitor)
Deprecated.
Not called anymore. Use
#commitTransaction(InternalCDOCommitContext, OMMonitor) instead. |
CDOSessionProtocol.CommitTransactionResult |
commitXATransactionCancel(InternalCDOXATransaction.InternalCDOXACommitContext xaContext,
OMMonitor monitor) |
CDOSessionProtocol.CommitTransactionResult |
commitXATransactionPhase1(InternalCDOXATransaction.InternalCDOXACommitContext xaContext,
OMMonitor monitor) |
CDOSessionProtocol.CommitTransactionResult |
commitXATransactionPhase2(InternalCDOXATransaction.InternalCDOXACommitContext xaContext,
OMMonitor monitor) |
CDOSessionProtocol.CommitTransactionResult |
commitXATransactionPhase3(InternalCDOXATransaction.InternalCDOXACommitContext xaContext,
OMMonitor monitor) |
CDOSessionProtocol.LockObjectsResult |
delegateLockObjects(java.lang.String lockAreaID,
java.util.List<CDORevisionKey> revisionKeys,
CDOBranch viewedBranch,
IRWLockManager.LockType lockType,
boolean recursive,
long timeout) |
CDOSessionProtocol.UnlockObjectsResult |
delegateUnlockObjects(java.lang.String lockAreaID,
java.util.Collection<CDOID> objectIDs,
IRWLockManager.LockType lockType,
boolean recursive) |
void |
disablePassiveUpdate() |
void |
enableLockNotifications(int viewID,
boolean enable) |
CDOLockState[] |
getLockStates(int viewID,
java.util.Collection<CDOID> ids)
Deprecated.
Not called anymore. Use
getLockStates(int, Collection, int) instead. |
CDOLockState[] |
getLockStates(int viewID,
java.util.Collection<CDOID> ids,
int depth) |
java.util.List<CDORemoteSession> |
getRemoteSessions(InternalCDORemoteSessionManager manager,
boolean subscribe) |
CDOSessionProtocol.RepositoryTimeResult |
getRepositoryTime() |
boolean |
isObjectLocked(CDOView view,
CDOObject object,
IRWLockManager.LockType lockType,
boolean byOthers) |
CDOChangeSetData[] |
loadChangeSets(CDOBranchPointRange... ranges) |
java.lang.Object |
loadChunk(InternalCDORevision revision,
EStructuralFeature feature,
int accessIndex,
int fetchIndex,
int fromIndex,
int toIndex) |
void |
loadLob(CDOLobInfo info,
java.lang.Object outputStreamOrWriter) |
java.util.Set<CDOID> |
loadMergeData(CDORevisionAvailabilityInfo targetInfo,
CDORevisionAvailabilityInfo sourceInfo,
CDORevisionAvailabilityInfo targetBaseInfo,
CDORevisionAvailabilityInfo sourceBaseInfo)
|
CDOSessionProtocol.MergeDataResult |
loadMergeData2(CDORevisionAvailabilityInfo targetInfo,
CDORevisionAvailabilityInfo sourceInfo,
CDORevisionAvailabilityInfo targetBaseInfo,
CDORevisionAvailabilityInfo sourceBaseInfo) |
java.util.Map<CDORevision,CDOPermission> |
loadPermissions(InternalCDORevision[] revisions) |
CDOSessionProtocol.LockObjectsResult |
lockObjects(java.util.List<InternalCDORevision> viewedRevisions,
int viewID,
CDOBranch viewedBranch,
IRWLockManager.LockType lockType,
long timeout)
Deprecated.
Not called anymore. Use
#lockObjects2(List, int, CDOBranch, LockType, boolean, long) instead. |
CDOSessionProtocol.LockObjectsResult |
lockObjects2(java.util.List<CDORevisionKey> revisionKeys,
int viewID,
CDOBranch viewedBranch,
IRWLockManager.LockType lockType,
boolean recursive,
long timeout) |
void |
openedSession() |
void |
openView(int viewID,
boolean readOnly,
CDOBranchPoint branchPoint) |
CDOBranchPoint |
openView(int viewID,
boolean readOnly,
java.lang.String durableLockingID) |
void |
query(CDOView view,
AbstractQueryIterator<?> queryResult) |
java.util.List<byte[]> |
queryLobs(java.util.Set<byte[]> ids) |
CDOSessionProtocol.RefreshSessionResult |
refresh(long lastUpdateTime,
java.util.Map<CDOBranch,java.util.Map<CDOID,InternalCDORevision>> viewedRevisions,
int initialChunkSize,
boolean enablePassiveUpdates) |
void |
replicateRepository(CDOReplicationContext context,
OMMonitor monitor) |
void |
replicateRepositoryRaw(CDORawReplicationContext context,
OMMonitor monitor) |
void |
requestChangeCredentials()
Requests that the server initiate the change-credentials protocol.
|
void |
requestResetCredentials(java.lang.String userID)
Requests that the server initiate the reset-credentials protocol.
|
boolean |
requestUnit(int viewID,
CDOID rootID,
CDOProtocolConstants.UnitOpcode opcode,
CDORevisionHandler revisionHandler,
OMMonitor monitor) |
CDOCommitInfo |
resetTransaction(int transactionID,
int commitNumber) |
java.util.Set<java.lang.Integer> |
sendRemoteMessage(CDORemoteSessionMessage message,
java.util.List<CDORemoteSession> recipients) |
void |
setLockNotificationMode(CDOCommonSession.Options.LockNotificationMode mode) |
void |
setPassiveUpdateMode(CDOCommonSession.Options.PassiveUpdateMode mode) |
void |
switchTarget(int viewID,
CDOBranchPoint branchPoint,
java.util.List<InternalCDOObject> invalidObjects,
java.util.List<CDORevisionKey> allChangedObjects,
java.util.List<CDOIDAndVersion> allDetachedObjects,
OMMonitor monitor) |
void |
unlockObjects(CDOView view,
java.util.Collection<CDOID> objectIDs,
IRWLockManager.LockType lockType)
Deprecated.
Not called anymore. Use
#unlockObjects2(CDOView, Collection, LockType, boolean) instead. |
CDOSessionProtocol.UnlockObjectsResult |
unlockObjects2(CDOView view,
java.util.Collection<CDOID> objectIDs,
IRWLockManager.LockType lockType,
boolean recursive) |
boolean |
unsubscribeRemoteSessions() |
getSession
loadPackages
renameBranch
deleteBranch, renameBranch
createBranch, loadBranch, loadBranches, loadSubBranches
loadObjectLifetime
handleRevisions, loadRevisionByVersion, loadRevisions
loadCommitData, loadCommitInfos
CDOSessionProtocol.RepositoryTimeResult getRepositoryTime()
void openedSession()
void disablePassiveUpdate()
void setPassiveUpdateMode(CDOCommonSession.Options.PassiveUpdateMode mode)
void setLockNotificationMode(CDOCommonSession.Options.LockNotificationMode mode)
CDOSessionProtocol.RefreshSessionResult refresh(long lastUpdateTime, java.util.Map<CDOBranch,java.util.Map<CDOID,InternalCDORevision>> viewedRevisions, int initialChunkSize, boolean enablePassiveUpdates)
java.lang.Object loadChunk(InternalCDORevision revision, EStructuralFeature feature, int accessIndex, int fetchIndex, int fromIndex, int toIndex)
accessIndex
- Index of the item access at the client (with modifications)fetchIndex
- Index of the item access at the server (without any modifications)fromIndex
- Load objects at the client from fromIndex (inclusive)toIndex
- Load objects at the client to toIndex (inclusive)void openView(int viewID, boolean readOnly, CDOBranchPoint branchPoint)
CDOBranchPoint openView(int viewID, boolean readOnly, java.lang.String durableLockingID)
void switchTarget(int viewID, CDOBranchPoint branchPoint, java.util.List<InternalCDOObject> invalidObjects, java.util.List<CDORevisionKey> allChangedObjects, java.util.List<CDOIDAndVersion> allDetachedObjects, OMMonitor monitor)
void closeView(int viewID)
void changeSubscription(int viewId, java.util.List<CDOID> ids, boolean subscribeMode, boolean clear)
void query(CDOView view, AbstractQueryIterator<?> queryResult)
boolean cancelQuery(int queryId)
@Deprecated CDOSessionProtocol.LockObjectsResult lockObjects(java.util.List<InternalCDORevision> viewedRevisions, int viewID, CDOBranch viewedBranch, IRWLockManager.LockType lockType, long timeout) throws java.lang.InterruptedException
#lockObjects2(List, int, CDOBranch, LockType, boolean, long)
instead.java.lang.InterruptedException
CDOSessionProtocol.LockObjectsResult lockObjects2(java.util.List<CDORevisionKey> revisionKeys, int viewID, CDOBranch viewedBranch, IRWLockManager.LockType lockType, boolean recursive, long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
CDOSessionProtocol.LockObjectsResult delegateLockObjects(java.lang.String lockAreaID, java.util.List<CDORevisionKey> revisionKeys, CDOBranch viewedBranch, IRWLockManager.LockType lockType, boolean recursive, long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
@Deprecated void unlockObjects(CDOView view, java.util.Collection<CDOID> objectIDs, IRWLockManager.LockType lockType)
#unlockObjects2(CDOView, Collection, LockType, boolean)
instead.CDOSessionProtocol.UnlockObjectsResult unlockObjects2(CDOView view, java.util.Collection<CDOID> objectIDs, IRWLockManager.LockType lockType, boolean recursive)
CDOSessionProtocol.UnlockObjectsResult delegateUnlockObjects(java.lang.String lockAreaID, java.util.Collection<CDOID> objectIDs, IRWLockManager.LockType lockType, boolean recursive)
boolean isObjectLocked(CDOView view, CDOObject object, IRWLockManager.LockType lockType, boolean byOthers)
java.lang.String changeLockArea(CDOView view, boolean create)
java.util.List<byte[]> queryLobs(java.util.Set<byte[]> ids)
void loadLob(CDOLobInfo info, java.lang.Object outputStreamOrWriter) throws java.io.IOException
java.io.IOException
@Deprecated CDOSessionProtocol.CommitTransactionResult commitTransaction(int transactionID, java.lang.String comment, boolean releaseLocks, CDOIDProvider idProvider, CDOCommitData commitData, java.util.Collection<CDOLob<?>> lobs, OMMonitor monitor)
#commitTransaction(InternalCDOCommitContext, OMMonitor)
instead.CDOSessionProtocol.CommitTransactionResult commitTransaction(InternalCDOTransaction.InternalCDOCommitContext context, OMMonitor monitor)
@Deprecated CDOSessionProtocol.CommitTransactionResult commitDelegation(CDOBranch branch, java.lang.String userID, java.lang.String comment, CDOCommitData commitData, java.util.Map<CDOID,EClass> detachedObjectTypes, java.util.Collection<CDOLob<?>> lobs, OMMonitor monitor)
#commitDelegation(InternalCDOCommitContext, OMMonitor)
instead.CDOSessionProtocol.CommitTransactionResult commitDelegation(InternalCDOTransaction.InternalCDOCommitContext context, OMMonitor monitor)
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase1(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, OMMonitor monitor)
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase2(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, OMMonitor monitor)
CDOSessionProtocol.CommitTransactionResult commitXATransactionPhase3(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, OMMonitor monitor)
CDOSessionProtocol.CommitTransactionResult commitXATransactionCancel(InternalCDOXATransaction.InternalCDOXACommitContext xaContext, OMMonitor monitor)
CDOCommitInfo resetTransaction(int transactionID, int commitNumber)
java.util.List<CDORemoteSession> getRemoteSessions(InternalCDORemoteSessionManager manager, boolean subscribe)
java.util.Set<java.lang.Integer> sendRemoteMessage(CDORemoteSessionMessage message, java.util.List<CDORemoteSession> recipients)
boolean unsubscribeRemoteSessions()
void replicateRepository(CDOReplicationContext context, OMMonitor monitor)
void replicateRepositoryRaw(CDORawReplicationContext context, OMMonitor monitor)
CDOChangeSetData[] loadChangeSets(CDOBranchPointRange... ranges)
@Deprecated java.util.Set<CDOID> loadMergeData(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo)
loadMergeData2(CDORevisionAvailabilityInfo, CDORevisionAvailabilityInfo, CDORevisionAvailabilityInfo, CDORevisionAvailabilityInfo)
.CDOSessionProtocol.MergeDataResult loadMergeData2(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo)
@Deprecated CDOLockState[] getLockStates(int viewID, java.util.Collection<CDOID> ids)
getLockStates(int, Collection, int)
instead.CDOLockState[] getLockStates(int viewID, java.util.Collection<CDOID> ids, int depth)
void enableLockNotifications(int viewID, boolean enable)
java.util.Map<CDORevision,CDOPermission> loadPermissions(InternalCDORevision[] revisions)
void requestChangeCredentials()
java.lang.UnsupportedOperationException
- if the session protocol implementation does
not support requesting change of credentialsvoid requestResetCredentials(java.lang.String userID)
userID
- the ID of the user whose credentials are to be resetjava.lang.UnsupportedOperationException
- if the session protocol implementation does
not support requesting reset of credentialsboolean requestUnit(int viewID, CDOID rootID, CDOProtocolConstants.UnitOpcode opcode, CDORevisionHandler revisionHandler, OMMonitor monitor)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html