public static final class CDOSessionProtocol.OpenSessionResult extends PlatformObject implements CDOCommonRepository
CDOCommonRepository.IDGenerationLocation, CDOCommonRepository.State, CDOCommonRepository.StateChangedEvent, CDOCommonRepository.Type, CDOCommonRepository.TypeChangedEvent
Constructor and Description |
---|
OpenSessionResult(CDODataInput in,
int sessionID) |
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 use
#OpenSessionResult(CDODataInput, int) . |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime()
Returns the creation time of this repository.
|
CDOCommonRepository.IDGenerationLocation |
getIDGenerationLocation() |
long |
getLastUpdateTime() |
String |
getName()
Returns the name of this repository.
|
Set<CDOID.ObjectType> |
getObjectIDTypes()
Returns the type of CDOIDs created by the store of this repository.
|
List<InternalCDOPackageUnit> |
getPackageUnits() |
long |
getRepositoryCreationTime()
Deprecated.
as of 4.5 use
getCreationTime() . |
CDOCommonRepository.IDGenerationLocation |
getRepositoryIDGenerationLocation()
Deprecated.
as of 4.5 use
getIDGenerationLocation() . |
CDOCommonRepository.State |
getRepositoryState()
Deprecated.
as of 4.5 use
getState() . |
CDOSessionProtocol.RepositoryTimeResult |
getRepositoryTimeResult() |
CDOCommonRepository.Type |
getRepositoryType()
Deprecated.
as of 4.5 use
getType() . |
String |
getRepositoryUUID()
Deprecated.
as of 4.5 use
getUUID() . |
CDOID |
getRootResourceID()
Returns the ID of the root resource of this repository.
|
int |
getSessionID() |
CDOCommonRepository.State |
getState()
Returns the state of this repository.
|
String |
getStoreType()
Returns the type of the store of this repository.
|
long |
getTimeStamp() |
CDOCommonRepository.Type |
getType()
Returns the type of this repository.
|
String |
getUserID() |
String |
getUUID()
Returns the UUID of this repository.
|
boolean |
isAuthenticating()
Returns
true if this repository requires user authentication, false otherwise. |
boolean |
isEnsuringReferentialIntegrity()
Returns
true if this repository ensures referential integrity, false otherwise. |
boolean |
isRepositoryAuthenticating()
Deprecated.
as of 4.5 use
isAuthenticating() . |
boolean |
isRepositoryEnsuringReferentialIntegrity()
Deprecated.
as of 4.5 use
isEnsuringReferentialIntegrity() . |
boolean |
isRepositorySerializingCommits()
Deprecated.
as of 4.5 use
isSerializingCommits() . |
boolean |
isRepositorySupportingAudits()
Deprecated.
as of 4.5 use
isSupportingAudits() . |
boolean |
isRepositorySupportingBranches()
Deprecated.
as of 4.5 use
isSupportingBranches() . |
boolean |
isRepositorySupportingEcore()
Deprecated.
As of 4.2 instances of Ecore are always supported (on demand).
|
boolean |
isSerializingCommits()
Returns
true if this repository serializes commits, false otherwise. |
boolean |
isSupportingAudits()
Returns
true if this repository supports auditing, false otherwise. |
boolean |
isSupportingBranches()
Returns
true if this repository supports branching, false otherwise. |
boolean |
isSupportingEcore()
Deprecated.
As of 4.2 instances of Ecore are always supported (on demand).
|
boolean |
isSupportingUnits()
Returns
true if this repository supports units, false otherwise. |
void |
setRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult) |
boolean |
waitWhileInitial(IProgressMonitor monitor) |
getAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdapter
public OpenSessionResult(CDODataInput in, int sessionID) throws IOException
IOException
@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)
#OpenSessionResult(CDODataInput, int)
.public int getSessionID()
public String getUserID()
public String getUUID()
CDOCommonRepository
getUUID
in interface CDOCommonRepository
public String getName()
CDOCommonRepository
getName
in interface CDOCommonRepository
public CDOCommonRepository.Type getType()
CDOCommonRepository
getType
in interface CDOCommonRepository
public CDOCommonRepository.State getState()
CDOCommonRepository
getState
in interface CDOCommonRepository
public String getStoreType()
CDOCommonRepository
getStoreType
in interface CDOCommonRepository
public Set<CDOID.ObjectType> getObjectIDTypes()
CDOCommonRepository
getObjectIDTypes
in interface CDOCommonRepository
public CDOID getRootResourceID()
CDOCommonRepository
getRootResourceID
in interface CDOCommonRepository
public long getCreationTime()
CDOCommonRepository
getCreationTime
in interface CDOCommonRepository
public boolean isAuthenticating()
CDOCommonRepository
true
if this repository requires user authentication, false
otherwise.isAuthenticating
in interface CDOCommonRepository
public boolean isSupportingAudits()
CDOCommonRepository
true
if this repository supports auditing, false
otherwise.isSupportingAudits
in interface CDOCommonRepository
public boolean isSupportingBranches()
CDOCommonRepository
true
if this repository supports branching, false
otherwise.isSupportingBranches
in interface CDOCommonRepository
public boolean isSupportingUnits()
CDOCommonRepository
true
if this repository supports units, false
otherwise.isSupportingUnits
in interface CDOCommonRepository
@Deprecated public boolean isSupportingEcore()
CDOCommonRepository
true
if this repository supports instances of Ecore, false
otherwise.isSupportingEcore
in interface CDOCommonRepository
public boolean isSerializingCommits()
CDOCommonRepository
true
if this repository serializes commits, false
otherwise.isSerializingCommits
in interface CDOCommonRepository
public boolean isEnsuringReferentialIntegrity()
CDOCommonRepository
true
if this repository ensures referential integrity, false
otherwise.isEnsuringReferentialIntegrity
in interface CDOCommonRepository
public CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()
getIDGenerationLocation
in interface CDOCommonRepository
public long getLastUpdateTime()
public List<InternalCDOPackageUnit> getPackageUnits()
public CDOSessionProtocol.RepositoryTimeResult getRepositoryTimeResult()
public void setRepositoryTimeResult(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)
public long getTimeStamp()
getTimeStamp
in interface CDOTimeProvider
public boolean waitWhileInitial(IProgressMonitor monitor)
waitWhileInitial
in interface CDOCommonRepository
@Deprecated public String getRepositoryUUID()
getUUID()
.@Deprecated public CDOCommonRepository.Type getRepositoryType()
getType()
.@Deprecated public CDOCommonRepository.State getRepositoryState()
getState()
.@Deprecated public long getRepositoryCreationTime()
getCreationTime()
.@Deprecated public boolean isRepositoryAuthenticating()
isAuthenticating()
.@Deprecated public boolean isRepositorySupportingAudits()
isSupportingAudits()
.@Deprecated public boolean isRepositorySupportingBranches()
isSupportingBranches()
.@Deprecated public boolean isRepositorySupportingEcore()
@Deprecated public boolean isRepositorySerializingCommits()
isSerializingCommits()
.@Deprecated public boolean isRepositoryEnsuringReferentialIntegrity()
isEnsuringReferentialIntegrity()
.@Deprecated public CDOCommonRepository.IDGenerationLocation getRepositoryIDGenerationLocation()
getIDGenerationLocation()
.Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.