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
Constructors Constructor Description OpenSessionResult(int sessionID, java.lang.String userID, java.lang.String repositoryUUID, CDOCommonRepository.Type repositoryType, CDOCommonRepository.State repositoryState, java.lang.String storeType, java.util.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).OpenSessionResult(CDODataInput in, int sessionID)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CDOCommonRepository.CommitInfoStoragegetCommitInfoStorage()longgetCreationTime()Returns the creation time of this repository.CDOCommonRepository.IDGenerationLocationgetIDGenerationLocation()longgetLastUpdateTime()java.lang.StringgetName()Returns the name of this repository.java.util.Set<CDOID.ObjectType>getObjectIDTypes()Returns the type of CDOIDs created by the store of this repository.longgetOpeningTime()java.util.List<InternalCDOPackageUnit>getPackageUnits()longgetRepositoryCreationTime()Deprecated.as of 4.5 usegetCreationTime().CDOCommonRepository.IDGenerationLocationgetRepositoryIDGenerationLocation()Deprecated.as of 4.5 usegetIDGenerationLocation().CDOCommonRepository.StategetRepositoryState()Deprecated.as of 4.5 usegetState().CDOSessionProtocol.RepositoryTimeResultgetRepositoryTimeResult()CDOCommonRepository.TypegetRepositoryType()Deprecated.as of 4.5 usegetType().java.lang.StringgetRepositoryUUID()Deprecated.as of 4.5 usegetUUID().CDOIDgetRootResourceID()Returns the ID of the root resource of this repository.intgetSessionID()CDOCommonRepository.StategetState()Returns the state of this repository.java.lang.StringgetStoreType()Returns the type of the store of this repository.intgetTagModCount()longgetTimeStamp()CDOCommonRepository.TypegetType()Returns the type of this repository.java.lang.StringgetUserID()java.lang.StringgetUUID()Returns the UUID of this repository.booleanisAuthenticating()Returnstrueif this repository requires user authentication,falseotherwise.booleanisEnsuringReferentialIntegrity()Returnstrueif this repository ensures referential integrity,falseotherwise.booleanisRepositoryAuthenticating()Deprecated.as of 4.5 useisAuthenticating().booleanisRepositoryEnsuringReferentialIntegrity()Deprecated.as of 4.5 useisEnsuringReferentialIntegrity().booleanisRepositorySerializingCommits()Deprecated.as of 4.5 useisSerializingCommits().booleanisRepositorySupportingAudits()Deprecated.as of 4.5 useisSupportingAudits().booleanisRepositorySupportingBranches()Deprecated.as of 4.5 useisSupportingBranches().booleanisRepositorySupportingEcore()Deprecated.As of 4.2 instances of Ecore are always supported (on demand).booleanisSerializingCommits()Returnstrueif this repository serializes commits,falseotherwise.booleanisSupportingAudits()Returnstrueif this repository supports auditing,falseotherwise.booleanisSupportingBranches()Returnstrueif this repository supports branching,falseotherwise.booleanisSupportingEcore()Deprecated.As of 4.2 instances of Ecore are always supported (on demand).booleanisSupportingUnits()Returnstrueif this repository supports units,falseotherwise.voidsetRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)booleanwaitWhileInitial(IProgressMonitor monitor)-
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
-
-
-
Constructor Detail
-
OpenSessionResult
public OpenSessionResult(CDODataInput in, int sessionID) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 4.4
-
OpenSessionResult
@Deprecated public OpenSessionResult(int sessionID, java.lang.String userID, java.lang.String repositoryUUID, CDOCommonRepository.Type repositoryType, CDOCommonRepository.State repositoryState, java.lang.String storeType, java.util.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 Detail
-
getSessionID
public int getSessionID()
-
getUserID
public java.lang.String getUserID()
- Since:
- 3.0
-
getUUID
public java.lang.String getUUID()
Description copied from interface:CDOCommonRepositoryReturns the UUID of this repository.- Specified by:
getUUIDin interfaceCDOCommonRepository- Since:
- 4.5
-
getName
public java.lang.String getName()
Description copied from interface:CDOCommonRepositoryReturns the name of this repository.- Specified by:
getNamein interfaceCDOCommonRepository- Since:
- 4.5
-
getType
public CDOCommonRepository.Type getType()
Description copied from interface:CDOCommonRepositoryReturns the type of this repository.- Specified by:
getTypein interfaceCDOCommonRepository- Since:
- 4.5
-
getState
public CDOCommonRepository.State getState()
Description copied from interface:CDOCommonRepositoryReturns the state of this repository.- Specified by:
getStatein interfaceCDOCommonRepository- Since:
- 4.5
-
getStoreType
public java.lang.String getStoreType()
Description copied from interface:CDOCommonRepositoryReturns the type of the store of this repository.- Specified by:
getStoreTypein interfaceCDOCommonRepository- Since:
- 3.0
-
getObjectIDTypes
public java.util.Set<CDOID.ObjectType> 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
public CDOID 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
-
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 public boolean 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
-
getIDGenerationLocation
public CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()
- Specified by:
getIDGenerationLocationin interfaceCDOCommonRepository- Since:
- 4.5
-
getCommitInfoStorage
public CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()
- Specified by:
getCommitInfoStoragein interfaceCDOCommonRepository- Since:
- 4.6
-
getTagModCount
public int getTagModCount()
- Since:
- 4.11
-
getOpeningTime
public long getOpeningTime()
- Since:
- 4.13
-
getLastUpdateTime
public long getLastUpdateTime()
- Since:
- 3.0
-
getPackageUnits
public java.util.List<InternalCDOPackageUnit> getPackageUnits()
-
getRepositoryTimeResult
public CDOSessionProtocol.RepositoryTimeResult getRepositoryTimeResult()
-
setRepositoryTimeResult
public void setRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)
-
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStampin interfaceCDOTimeProvider- Since:
- 4.5
-
waitWhileInitial
public boolean waitWhileInitial(IProgressMonitor monitor)
- Specified by:
waitWhileInitialin interfaceCDOCommonRepository- Since:
- 4.5
-
getRepositoryUUID
@Deprecated public java.lang.String getRepositoryUUID()
Deprecated.as of 4.5 usegetUUID().
-
getRepositoryType
@Deprecated public CDOCommonRepository.Type getRepositoryType()
Deprecated.as of 4.5 usegetType().- Since:
- 3.0
-
getRepositoryState
@Deprecated public CDOCommonRepository.State getRepositoryState()
Deprecated.as of 4.5 usegetState().- Since:
- 3.0
-
getRepositoryCreationTime
@Deprecated public long getRepositoryCreationTime()
Deprecated.as of 4.5 usegetCreationTime().
-
isRepositoryAuthenticating
@Deprecated public boolean isRepositoryAuthenticating()
Deprecated.as of 4.5 useisAuthenticating().- Since:
- 4.4
-
isRepositorySupportingAudits
@Deprecated public boolean isRepositorySupportingAudits()
Deprecated.as of 4.5 useisSupportingAudits().
-
isRepositorySupportingBranches
@Deprecated public boolean isRepositorySupportingBranches()
Deprecated.as of 4.5 useisSupportingBranches().- Since:
- 3.0
-
isRepositorySupportingEcore
@Deprecated public boolean isRepositorySupportingEcore()
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).
-
isRepositorySerializingCommits
@Deprecated public boolean isRepositorySerializingCommits()
Deprecated.as of 4.5 useisSerializingCommits().- Since:
- 4.2
-
isRepositoryEnsuringReferentialIntegrity
@Deprecated public boolean isRepositoryEnsuringReferentialIntegrity()
Deprecated.as of 4.5 useisEnsuringReferentialIntegrity().- Since:
- 4.0
-
getRepositoryIDGenerationLocation
@Deprecated public CDOCommonRepository.IDGenerationLocation getRepositoryIDGenerationLocation()
Deprecated.as of 4.5 usegetIDGenerationLocation().- Since:
- 4.1
-
-