Package org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.OpenSessionResult
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.emf.spi.cdo.CDOSessionProtocol.OpenSessionResult
- All Implemented Interfaces:
IAdaptable,CDOCommonRepository,CDOTimeProvider
- Enclosing interface:
- CDOSessionProtocol
public static final class CDOSessionProtocol.OpenSessionResult
extends PlatformObject
implements CDOCommonRepository
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
- No Instantiate
- This class is not intended to be instantiated by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonRepository
CDOCommonRepository.CommitInfoStorage, CDOCommonRepository.IDGenerationLocation, CDOCommonRepository.ListOrdering, CDOCommonRepository.State, CDOCommonRepository.StateChangedEvent, CDOCommonRepository.Type, CDOCommonRepository.TypeChangedEvent -
Constructor Summary
ConstructorsConstructorDescriptionOpenSessionResult(int sessionID, String userID, String repositoryUUID, CDOCommonRepository.Type repositoryType, CDOCommonRepository.State repositoryState, String storeType, Set<CDOID.ObjectType> objectIDTypes, long repositoryCreationTime, long lastUpdateTime, CDOID rootResourceID, boolean repositorySupportingAudits, boolean repositorySupportingBranches, boolean repositorySerializingCommits, boolean repositoryEnsuringReferentialIntegrity, CDOCommonRepository.IDGenerationLocation repositoryIDGenerationLocation) Deprecated.OpenSessionResult(CDODataInput in, int sessionID) -
Method Summary
Modifier and TypeMethodDescriptionString[]longReturns the creation time of this repository.longgetName()Returns the name of this repository.Returns the type of CDOIDs created by the store of this repository.longlongDeprecated.As of 4.5 usegetCreationTime().Deprecated.As of 4.5 usegetIDGenerationLocation().Deprecated.As of 4.5 usegetState().Deprecated.As of 4.5 usegetType().Deprecated.As of 4.5 usegetUUID().Returns the ID of the root resource of this repository.intgetState()Returns the state of this repository.Returns the type of the store of this repository.intlonggetType()Returns the type of this repository.getUUID()Returns the UUID of this repository.booleanReturnstrueif this repository requires user authentication,falseotherwise.booleanbooleanReturnstrueif this repository ensures referential integrity,falseotherwise.booleanDeprecated.As of 4.5 useisAuthenticating().booleanDeprecated.As of 4.5 useisEnsuringReferentialIntegrity().booleanDeprecated.As of 4.5 useisSerializingCommits().booleanDeprecated.As of 4.5 useisSupportingAudits().booleanDeprecated.As of 4.5 useisSupportingBranches().booleanDeprecated.As of 4.2 instances of Ecore are always supported (on demand).booleanReturnstrueif this repository serializes commits,falseotherwise.booleanReturnstrueif this repository supports auditing,falseotherwise.booleanReturnstrueif this repository supports branching,falseotherwise.booleanDeprecated.As of 4.2 instances of Ecore are always supported (on demand).booleanReturnstrueif this repository supports login peeking,falseotherwise.booleanReturnstrueif this repository supports units,falseotherwise.voidsetRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult) booleanwaitWhileInitial(IProgressMonitor monitor) Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Constructor Details
-
OpenSessionResult
- Throws:
IOException- Since:
- 4.4
-
OpenSessionResult
@Deprecated public OpenSessionResult(int sessionID, String userID, String repositoryUUID, CDOCommonRepository.Type repositoryType, CDOCommonRepository.State repositoryState, String storeType, Set<CDOID.ObjectType> objectIDTypes, long repositoryCreationTime, long lastUpdateTime, CDOID rootResourceID, boolean repositorySupportingAudits, boolean repositorySupportingBranches, boolean repositorySerializingCommits, boolean repositoryEnsuringReferentialIntegrity, CDOCommonRepository.IDGenerationLocation repositoryIDGenerationLocation) Deprecated.As of 4.4 useOpenSessionResult(CDODataInput, int).- Since:
- 4.2
-
-
Method Details
-
getSessionID
public int getSessionID() -
getUserID
- Since:
- 3.0
-
getUUID
Description copied from interface:CDOCommonRepositoryReturns the UUID of this repository.- Specified by:
getUUIDin interfaceCDOCommonRepository- Since:
- 4.5
-
getName
Description copied from interface:CDOCommonRepositoryReturns the name of this repository.- Specified by:
getNamein interfaceCDOCommonRepository- Since:
- 4.5
-
getType
Description copied from interface:CDOCommonRepositoryReturns the type of this repository.- Specified by:
getTypein interfaceCDOCommonRepository- Since:
- 4.5
-
getState
Description copied from interface:CDOCommonRepositoryReturns the state of this repository.- Specified by:
getStatein interfaceCDOCommonRepository- Since:
- 4.5
-
getStoreType
Description copied from interface:CDOCommonRepositoryReturns the type of the store of this repository.- Specified by:
getStoreTypein interfaceCDOCommonRepository- Since:
- 3.0
-
getObjectIDTypes
Description copied from interface:CDOCommonRepositoryReturns the type of CDOIDs created by the store of this repository.- Specified by:
getObjectIDTypesin interfaceCDOCommonRepository- Since:
- 3.0
-
getRootResourceID
Description copied from interface:CDOCommonRepositoryReturns the ID of the root resource of this repository.- Specified by:
getRootResourceIDin interfaceCDOCommonRepository- Since:
- 3.0
-
getCreationTime
public long getCreationTime()Description copied from interface:CDOCommonRepositoryReturns the creation time of this repository.- Specified by:
getCreationTimein interfaceCDOCommonRepository- Since:
- 4.5
-
isAuthenticating
public boolean isAuthenticating()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository requires user authentication,falseotherwise.- Specified by:
isAuthenticatingin interfaceCDOCommonRepository- Since:
- 4.5
-
isSupportingLoginPeeks
public boolean isSupportingLoginPeeks()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository supports login peeking,falseotherwise.- Specified by:
isSupportingLoginPeeksin interfaceCDOCommonRepository
-
isSupportingAudits
public boolean isSupportingAudits()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository supports auditing,falseotherwise.- Specified by:
isSupportingAuditsin interfaceCDOCommonRepository- Since:
- 4.5
-
isSupportingBranches
public boolean isSupportingBranches()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository supports branching,falseotherwise.- Specified by:
isSupportingBranchesin interfaceCDOCommonRepository- Since:
- 4.5
-
isSupportingUnits
public boolean isSupportingUnits()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository supports units,falseotherwise.- Specified by:
isSupportingUnitsin interfaceCDOCommonRepository- Since:
- 4.5
-
isSupportingEcore
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).Description copied from interface:CDOCommonRepositoryReturnstrueif this repository supports instances of Ecore,falseotherwise.- Specified by:
isSupportingEcorein interfaceCDOCommonRepository- Since:
- 4.5
-
isSerializingCommits
public boolean isSerializingCommits()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository serializes commits,falseotherwise.- Specified by:
isSerializingCommitsin interfaceCDOCommonRepository- Since:
- 4.5
-
isEnsuringReferentialIntegrity
public boolean isEnsuringReferentialIntegrity()Description copied from interface:CDOCommonRepositoryReturnstrueif this repository ensures referential integrity,falseotherwise.- Specified by:
isEnsuringReferentialIntegrityin interfaceCDOCommonRepository- Since:
- 4.5
-
isAuthorizingOperations
public boolean isAuthorizingOperations()- Specified by:
isAuthorizingOperationsin interfaceCDOCommonRepository- Since:
- 4.15
-
getIDGenerationLocation
- Specified by:
getIDGenerationLocationin interfaceCDOCommonRepository- Since:
- 4.5
-
getCommitInfoStorage
- Specified by:
getCommitInfoStoragein interfaceCDOCommonRepository- Since:
- 4.6
-
getAuthorizationResults
- Since:
- 4.15
-
getTagModCount
public int getTagModCount()- Since:
- 4.11
-
getOpeningTime
public long getOpeningTime()- Since:
- 4.13
-
getLastUpdateTime
public long getLastUpdateTime()- Since:
- 3.0
-
getPackageUnits
-
getRepositoryTimeResult
-
setRepositoryTimeResult
-
getTimeStamp
public long getTimeStamp()- Specified by:
getTimeStampin interfaceCDOTimeProvider- Since:
- 4.5
-
waitWhileInitial
- Specified by:
waitWhileInitialin interfaceCDOCommonRepository- Since:
- 4.5
-
getRepositoryUUID
Deprecated.As of 4.5 usegetUUID(). -
getRepositoryType
Deprecated.As of 4.5 usegetType().- Since:
- 3.0
-
getRepositoryState
Deprecated.As of 4.5 usegetState().- Since:
- 3.0
-
getRepositoryCreationTime
Deprecated.As of 4.5 usegetCreationTime(). -
isRepositoryAuthenticating
Deprecated.As of 4.5 useisAuthenticating().- Since:
- 4.4
-
isRepositorySupportingAudits
Deprecated.As of 4.5 useisSupportingAudits(). -
isRepositorySupportingBranches
Deprecated.As of 4.5 useisSupportingBranches().- Since:
- 3.0
-
isRepositorySupportingEcore
Deprecated.As of 4.2 instances of Ecore are always supported (on demand). -
isRepositorySerializingCommits
Deprecated.As of 4.5 useisSerializingCommits().- Since:
- 4.2
-
isRepositoryEnsuringReferentialIntegrity
Deprecated.As of 4.5 useisEnsuringReferentialIntegrity().- Since:
- 4.0
-
getRepositoryIDGenerationLocation
Deprecated.As of 4.5 usegetIDGenerationLocation().- Since:
- 4.1
-
OpenSessionResult(CDODataInput, int).