Package org.eclipse.emf.cdo.common

# Schnittstelle CDOCommonRepository

Alle Superschnittstellen:
  `CDOTimeProvider`, `IAdaptable`

Alle bekannten Unterschnittstellen:
  `CDOAdminClientRepository`, `CDOAdminRepository`, `CDORepositoryInfo`, `InternalFailoverParticipant`, `InternalRepository`, `InternalSynchronizableRepository`, `IRepository`, `ISynchronizableRepository`

Alle bekannten Implementierungsklassen:
  `CDOSessionProtocol.OpenSessionResult`

public interface CDOCommonRepository extends CDOTimeProvider, IAdaptable
Abstracts the information about CDO repositories that is common to both client and server side.

A CDOCommonRepository can fire the following events:

- `CDOCommonRepository.TypeChangedEvent` after the `repository type` has changed in a fail-over cluster.
- `CDOCommonRepository.StateChangedEvent` after the `repository state` has changed in a replicating deployment.

Seit:
  3.0
Autor:
  Eike Stepper
No Implement
  This interface is not intended to be implemented by clients.
No Extend
  This interface is not intended to be extended by clients.

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`static enum`
`CDOCommonRepository.CommitInfoStorage`
Enumerates the possible `ID generation locations` of a CDO repository.
`static enum`
`CDOCommonRepository.IDGenerationLocation`
Enumerates the possible `ID generation locations` of a CDO repository.
`static enum`
`CDOCommonRepository.ListOrdering`
`static enum`
`CDOCommonRepository.State`
Enumerates the possible `states` of a CDO repository.
`static interface`
`CDOCommonRepository.StateChangedEvent`
An `event` fired when the `state` of a CDO repository has changed.
`static enum`
`CDOCommonRepository.Type`
Enumerates the possible `types` of a CDO repository.
`static interface`
`CDOCommonRepository.TypeChangedEvent`
An `event` fired when the `type` of a CDO repository has changed.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`CDOCommonRepository.CommitInfoStorage`
`getCommitInfoStorage()`
`long`
`getCreationTime()`
Returns the creation time of this repository.
`CDOCommonRepository.IDGenerationLocation`
`getIDGenerationLocation()`
`String`
`getLobDigestAlgorithm()`
`String`
`getName()`
Returns the name of this repository.
`Set<CDOID.ObjectType>`
`getObjectIDTypes()`
Returns the type of CDOIDs created by the store of this repository.
`CDOID`
`getRootResourceID()`
Returns the ID of the root resource of this repository.
`CDOCommonRepository.State`
`getState()`
Returns the state of this repository.
`String`
`getStoreType()`
Returns the type of the store of this repository.
`CDOCommonRepository.Type`
`getType()`
Returns the type of this repository.
`String`
`getUUID()`
Returns the UUID of this repository.
`boolean`
`isAuthenticating()`
Returns `true` if this repository requires user authentication, `false` otherwise.
`boolean`
`isAuthorizingOperations()`
`boolean`
`isEnsuringReferentialIntegrity()`
Returns `true` if this repository ensures referential integrity, `false` otherwise.
`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()`
Veraltet.
As of 4.2 instances of Ecore are always supported (on demand).
`boolean`
`isSupportingLoginPeeks()`
Returns `true` if this repository supports login peeking, `false` otherwise.
`boolean`
`isSupportingUnits()`
Returns `true` if this repository supports units, `false` otherwise.
`boolean`
`waitWhileInitial(IProgressMonitor monitor)`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.util.CDOTimeProvider

`getTimeStamp`

### Von Schnittstelle geerbte Methoden org.eclipse.core.runtime.IAdaptable

`getAdapter`

## Methodendetails

### getName

String getName()
Returns the name of this repository.

### getUUID

String getUUID()
Returns the UUID of this repository.

### getType

CDOCommonRepository.Type getType()
Returns the type of this repository.

### getState

CDOCommonRepository.State getState()
Returns the state of this repository.

### getCreationTime

long getCreationTime()
Returns the creation time of this repository.

### getStoreType

String getStoreType()
Returns the type of the store of this repository.

### getObjectIDTypes

Set<CDOID.ObjectType> getObjectIDTypes()
Returns the type of CDOIDs created by the store of this repository.

### getIDGenerationLocation

CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()

Seit:
  4.1

### getLobDigestAlgorithm

String getLobDigestAlgorithm()

Seit:
  4.26

### getCommitInfoStorage

CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()

Seit:
  4.6

### getRootResourceID

CDOID getRootResourceID()
Returns the ID of the root resource of this repository.

### isAuthenticating

boolean isAuthenticating()
Returns `true` if this repository requires user authentication, `false` otherwise.

Seit:
  4.4

### isSupportingLoginPeeks

boolean isSupportingLoginPeeks()
Returns `true` if this repository supports login peeking, `false` otherwise.

Seit:
  4.22

### isSupportingAudits

boolean isSupportingAudits()
Returns `true` if this repository supports auditing, `false` otherwise.

### isSupportingBranches

boolean isSupportingBranches()
Returns `true` if this repository supports branching, `false` otherwise.

### isSupportingUnits

boolean isSupportingUnits()
Returns `true` if this repository supports units, `false` otherwise.

Seit:
  4.5

### isSupportingEcore

@Deprecated boolean isSupportingEcore()
Veraltet.
As of 4.2 instances of Ecore are always supported (on demand).
Returns `true` if this repository supports instances of Ecore, `false` otherwise.

Seit:
  4.0

### isSerializingCommits

boolean isSerializingCommits()
Returns `true` if this repository serializes commits, `false` otherwise.

Seit:
  4.2

### isEnsuringReferentialIntegrity

boolean isEnsuringReferentialIntegrity()
Returns `true` if this repository ensures referential integrity, `false` otherwise.

Seit:
  4.0

### isAuthorizingOperations

boolean isAuthorizingOperations()

Seit:
  4.15

### waitWhileInitial

boolean waitWhileInitial(IProgressMonitor monitor)

Seit:
  4.2