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...
|
InternalCDOBranchManager.BranchLoader.BranchInfo, InternalCDOBranchManager.BranchLoader.SubBranchInfo
NEW_BRANCH, NEW_LOCAL_BRANCH
getSession
loadPackages
createBranch, loadBranch, loadBranches, loadSubBranches
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)
void handleRevisions(EClass eClass, CDOBranch branch, boolean exactBranch, long timeStamp, boolean exactTime, CDORevisionHandler handler)
CDOLockState[] getLockStates(int viewID, Collection<CDOID> ids)
void enableLockNotifications(int viewID, boolean enable)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.