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
ConstructorDescriptionOpenSessionResult
(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[]
long
Returns the creation time of this repository.long
getName()
Returns the name of this repository.Returns the type of CDOIDs created by the store of this repository.long
long
Deprecated.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.int
getState()
Returns the state of this repository.Returns the type of the store of this repository.int
long
getType()
Returns the type of this repository.getUUID()
Returns the UUID of this repository.boolean
Returnstrue
if this repository requires user authentication,false
otherwise.boolean
boolean
Returnstrue
if this repository ensures referential integrity,false
otherwise.boolean
Deprecated.As of 4.5 useisAuthenticating()
.boolean
Deprecated.As of 4.5 useisEnsuringReferentialIntegrity()
.boolean
Deprecated.As of 4.5 useisSerializingCommits()
.boolean
Deprecated.As of 4.5 useisSupportingAudits()
.boolean
Deprecated.As of 4.5 useisSupportingBranches()
.boolean
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).boolean
Returnstrue
if this repository serializes commits,false
otherwise.boolean
Returnstrue
if this repository supports auditing,false
otherwise.boolean
Returnstrue
if this repository supports branching,false
otherwise.boolean
Deprecated.As of 4.2 instances of Ecore are always supported (on demand).boolean
Returnstrue
if this repository supports login peeking,false
otherwise.boolean
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 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:CDOCommonRepository
Returns the UUID of this repository.- Specified by:
getUUID
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getName
Description copied from interface:CDOCommonRepository
Returns the name of this repository.- Specified by:
getName
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getType
Description copied from interface:CDOCommonRepository
Returns the type of this repository.- Specified by:
getType
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getState
Description copied from interface:CDOCommonRepository
Returns the state of this repository.- Specified by:
getState
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getStoreType
Description copied from interface:CDOCommonRepository
Returns the type of the store of this repository.- Specified by:
getStoreType
in interfaceCDOCommonRepository
- Since:
- 3.0
-
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
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
-
isSupportingLoginPeeks
public boolean isSupportingLoginPeeks()Description copied from interface:CDOCommonRepository
Returnstrue
if this repository supports login peeking,false
otherwise.- Specified by:
isSupportingLoginPeeks
in interfaceCDOCommonRepository
-
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.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
-
isAuthorizingOperations
public boolean isAuthorizingOperations()- Specified by:
isAuthorizingOperations
in interfaceCDOCommonRepository
- Since:
- 4.15
-
getIDGenerationLocation
- Specified by:
getIDGenerationLocation
in interfaceCDOCommonRepository
- Since:
- 4.5
-
getCommitInfoStorage
- Specified by:
getCommitInfoStorage
in 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:
getTimeStamp
in interfaceCDOTimeProvider
- Since:
- 4.5
-
waitWhileInitial
- Specified by:
waitWhileInitial
in 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)
.