public interface CDOSessionProtocol extends CDOProtocol, InternalCDOPackageRegistry.PackageLoader, InternalCDOBranchManager.BranchLoader, InternalCDORevisionManager.RevisionLoader, 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.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.CommitNotificationInfo
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, ROLLBACK_REASON_COMMIT_CONFLICT, ROLLBACK_REASON_CONTAINMENT_CYCLE, ROLLBACK_REASON_OPTIMISTIC_LOCKING, ROLLBACK_REASON_REFERENTIAL_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_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_QUERY, SIGNAL_QUERY_CANCEL, SIGNAL_QUERY_LOBS, SIGNAL_REFRESH_SESSION, SIGNAL_REMOTE_MESSAGE, SIGNAL_REMOTE_MESSAGE_NOTIFICATION, SIGNAL_REMOTE_SESSION_NOTIFICATION, SIGNAL_REPLICATE_REPOSITORY, SIGNAL_REPLICATE_REPOSITORY_RAW, SIGNAL_REPOSITORY_STATE_NOTIFICATION, SIGNAL_REPOSITORY_TIME, SIGNAL_REPOSITORY_TYPE_NOTIFICATION, SIGNAL_SET_LOCK_NOTIFICATION_MODE, SIGNAL_SET_PASSIVE_UPDATE_MODE, SIGNAL_SWITCH_TARGET, 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
NEW_BRANCH, NEW_LOCAL_BRANCH
getSession
loadPackages
createBranch, loadBranch, loadBranches, loadSubBranches
handleRevisions, loadRevisionByVersion, loadRevisions
loadCommitData, loadCommitInfos
CDOSessionProtocol.RepositoryTimeResult getRepositoryTime()
void disablePassiveUpdate()
void setPassiveUpdateMode(CDOCommonSession.Options.PassiveUpdateMode mode)
void setLockNotificationMode(CDOCommonSession.Options.LockNotificationMode mode)
CDOSessionProtocol.RefreshSessionResult refresh(long lastUpdateTime, Map<CDOBranch,Map<CDOID,InternalCDORevision>> viewedRevisions, int initialChunkSize, boolean enablePassiveUpdates)
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, String durableLockingID)
void switchTarget(int viewID, CDOBranchPoint branchPoint, List<InternalCDOObject> invalidObjects, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, OMMonitor monitor)
void closeView(int viewID)
void changeSubscription(int viewId, List<CDOID> ids, boolean subscribeMode, boolean clear)
void query(CDOView view, AbstractQueryIterator<?> queryResult)
boolean cancelQuery(int queryId)
@Deprecated CDOSessionProtocol.LockObjectsResult lockObjects(List<InternalCDORevision> viewedRevisions, int viewID, CDOBranch viewedBranch, IRWLockManager.LockType lockType, long timeout) throws InterruptedException
#lockObjects2(List, int, CDOBranch, LockType, boolean, long)
instead.InterruptedException
CDOSessionProtocol.LockObjectsResult lockObjects2(List<CDORevisionKey> revisionKeys, int viewID, CDOBranch viewedBranch, IRWLockManager.LockType lockType, boolean recursive, long timeout) throws InterruptedException
InterruptedException
CDOSessionProtocol.LockObjectsResult delegateLockObjects(String lockAreaID, List<CDORevisionKey> revisionKeys, CDOBranch viewedBranch, IRWLockManager.LockType lockType, boolean recursive, long timeout) throws InterruptedException
InterruptedException
@Deprecated void unlockObjects(CDOView view, Collection<CDOID> objectIDs, IRWLockManager.LockType lockType)
#unlockObjects2(CDOView, Collection, LockType, boolean)
instead.CDOSessionProtocol.UnlockObjectsResult unlockObjects2(CDOView view, Collection<CDOID> objectIDs, IRWLockManager.LockType lockType, boolean recursive)
CDOSessionProtocol.UnlockObjectsResult delegateUnlockObjects(String lockAreaID, Collection<CDOID> objectIDs, IRWLockManager.LockType lockType, boolean recursive)
boolean isObjectLocked(CDOView view, CDOObject object, IRWLockManager.LockType lockType, boolean byOthers)
void loadLob(CDOLobInfo info, Object outputStreamOrWriter) throws IOException
IOException
@Deprecated CDOSessionProtocol.CommitTransactionResult commitTransaction(int transactionID, String comment, boolean releaseLocks, CDOIDProvider idProvider, CDOCommitData commitData, Collection<CDOLob<?>> lobs, OMMonitor monitor)
#commitTransaction(InternalCDOCommitContext, OMMonitor)
instead.CDOSessionProtocol.CommitTransactionResult commitTransaction(InternalCDOTransaction.InternalCDOCommitContext context, OMMonitor monitor)
@Deprecated CDOSessionProtocol.CommitTransactionResult commitDelegation(CDOBranch branch, String userID, String comment, CDOCommitData commitData, Map<CDOID,EClass> detachedObjectTypes, 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)
List<CDORemoteSession> getRemoteSessions(InternalCDORemoteSessionManager manager, boolean subscribe)
Set<Integer> sendRemoteMessage(CDORemoteSessionMessage message, List<CDORemoteSession> recipients)
boolean unsubscribeRemoteSessions()
void replicateRepository(CDOReplicationContext context, OMMonitor monitor)
void replicateRepositoryRaw(CDORawReplicationContext context, OMMonitor monitor)
CDOChangeSetData[] loadChangeSets(CDOBranchPointRange... ranges)
Set<CDOID> loadMergeData(CDORevisionAvailabilityInfo targetInfo, CDORevisionAvailabilityInfo sourceInfo, CDORevisionAvailabilityInfo targetBaseInfo, CDORevisionAvailabilityInfo sourceBaseInfo)
CDOLockState[] getLockStates(int viewID, Collection<CDOID> ids)
void enableLockNotifications(int viewID, boolean enable)
Map<CDORevision,CDOPermission> loadPermissions(InternalCDORevision[] revisions)
void requestChangeCredentials()
UnsupportedOperationException
- if the session protocol implementation does
not support requesting change of credentialsvoid requestResetCredentials(String userID)
userID
- the ID of the user whose credentials are to be resetUnsupportedOperationException
- if the session protocol implementation does
not support requesting reset of credentialsCopyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.