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.CommitInfoStorage
getCommitInfoStorage()
long
getCreationTime()
Returns the creation time of this repository.CDOCommonRepository.IDGenerationLocation
getIDGenerationLocation()
long
getLastUpdateTime()
java.lang.String
getName()
Returns the name of this repository.java.util.Set<CDOID.ObjectType>
getObjectIDTypes()
Returns the type of CDOIDs created by the store of this repository.long
getOpeningTime()
java.util.List<InternalCDOPackageUnit>
getPackageUnits()
long
getRepositoryCreationTime()
Deprecated.as of 4.5 usegetCreationTime()
.CDOCommonRepository.IDGenerationLocation
getRepositoryIDGenerationLocation()
Deprecated.as of 4.5 usegetIDGenerationLocation()
.CDOCommonRepository.State
getRepositoryState()
Deprecated.as of 4.5 usegetState()
.CDOSessionProtocol.RepositoryTimeResult
getRepositoryTimeResult()
CDOCommonRepository.Type
getRepositoryType()
Deprecated.as of 4.5 usegetType()
.java.lang.String
getRepositoryUUID()
Deprecated.as of 4.5 usegetUUID()
.CDOID
getRootResourceID()
Returns the ID of the root resource of this repository.int
getSessionID()
CDOCommonRepository.State
getState()
Returns the state of this repository.java.lang.String
getStoreType()
Returns the type of the store of this repository.int
getTagModCount()
long
getTimeStamp()
CDOCommonRepository.Type
getType()
Returns the type of this repository.java.lang.String
getUserID()
java.lang.String
getUUID()
Returns the UUID of this repository.boolean
isAuthenticating()
Returnstrue
if this repository requires user authentication,false
otherwise.boolean
isEnsuringReferentialIntegrity()
Returnstrue
if this repository ensures referential integrity,false
otherwise.boolean
isRepositoryAuthenticating()
Deprecated.as of 4.5 useisAuthenticating()
.boolean
isRepositoryEnsuringReferentialIntegrity()
Deprecated.as of 4.5 useisEnsuringReferentialIntegrity()
.boolean
isRepositorySerializingCommits()
Deprecated.as of 4.5 useisSerializingCommits()
.boolean
isRepositorySupportingAudits()
Deprecated.as of 4.5 useisSupportingAudits()
.boolean
isRepositorySupportingBranches()
Deprecated.as of 4.5 useisSupportingBranches()
.boolean
isRepositorySupportingEcore()
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).boolean
isSerializingCommits()
Returnstrue
if this repository serializes commits,false
otherwise.boolean
isSupportingAudits()
Returnstrue
if this repository supports auditing,false
otherwise.boolean
isSupportingBranches()
Returnstrue
if this repository supports branching,false
otherwise.boolean
isSupportingEcore()
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).boolean
isSupportingUnits()
Returnstrue
if this repository supports units,false
otherwise.void
setRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)
boolean
waitWhileInitial(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:CDOCommonRepository
Returns the UUID of this repository.- Specified by:
getUUID
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getName
public java.lang.String getName()
Description copied from interface:CDOCommonRepository
Returns the name of this repository.- Specified by:
getName
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getType
public CDOCommonRepository.Type getType()
Description copied from interface:CDOCommonRepository
Returns the type of this repository.- Specified by:
getType
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getState
public CDOCommonRepository.State getState()
Description copied from interface:CDOCommonRepository
Returns the state of this repository.- Specified by:
getState
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getStoreType
public java.lang.String getStoreType()
Description copied from interface:CDOCommonRepository
Returns the type of the store of this repository.- Specified by:
getStoreType
in interfaceCDOCommonRepository
- Since:
- 3.0
-
getObjectIDTypes
public java.util.Set<CDOID.ObjectType> getObjectIDTypes()
Description copied from interface:CDOCommonRepository
Returns the type of CDOIDs created by the store of this repository.- Specified by:
getObjectIDTypes
in interfaceCDOCommonRepository
- Since:
- 3.0
-
getRootResourceID
public CDOID getRootResourceID()
Description copied from interface:CDOCommonRepository
Returns the ID of the root resource of this repository.- Specified by:
getRootResourceID
in interfaceCDOCommonRepository
- Since:
- 3.0
-
getCreationTime
public long getCreationTime()
Description copied from interface:CDOCommonRepository
Returns the creation time of this repository.- Specified by:
getCreationTime
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isAuthenticating
public boolean isAuthenticating()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository requires user authentication,false
otherwise.- Specified by:
isAuthenticating
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isSupportingAudits
public boolean isSupportingAudits()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository supports auditing,false
otherwise.- Specified by:
isSupportingAudits
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isSupportingBranches
public boolean isSupportingBranches()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository supports branching,false
otherwise.- Specified by:
isSupportingBranches
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isSupportingUnits
public boolean isSupportingUnits()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository supports units,false
otherwise.- Specified by:
isSupportingUnits
in 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:CDOCommonRepository
Returnstrue
if this repository supports instances of Ecore,false
otherwise.- Specified by:
isSupportingEcore
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isSerializingCommits
public boolean isSerializingCommits()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository serializes commits,false
otherwise.- Specified by:
isSerializingCommits
in interfaceCDOCommonRepository
- Since:
- 4.5
-
isEnsuringReferentialIntegrity
public boolean isEnsuringReferentialIntegrity()
Description copied from interface:CDOCommonRepository
Returnstrue
if this repository ensures referential integrity,false
otherwise.- Specified by:
isEnsuringReferentialIntegrity
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getIDGenerationLocation
public CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()
- Specified by:
getIDGenerationLocation
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getCommitInfoStorage
public CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()
- Specified by:
getCommitInfoStorage
in 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:
getTimeStamp
in interfaceCDOTimeProvider
- Since:
- 4.5
-
waitWhileInitial
public boolean waitWhileInitial(IProgressMonitor monitor)
- Specified by:
waitWhileInitial
in 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
-
-