Package org.eclipse.emf.cdo.workspace

# Schnittstelle CDOWorkspace

Alle Superschnittstellen:
  `CDOElement.StateProvider`, `CDORevisionProvider`, `org.eclipse.net4j.util.collection.Closeable`, `org.eclipse.net4j.util.event.INotifier`

Alle bekannten Unterschnittstellen:
  `InternalCDOWorkspace`

public interface CDOWorkspace extends CDORevisionProvider, CDOElement.StateProvider, org.eclipse.net4j.util.collection.Closeable, org.eclipse.net4j.util.event.INotifier
Represents a local `checkout` from a remote repository.

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 interface`
`CDOWorkspace.DirtyStateChangedEvent`
An `event` fired when the overall state of the `workspace` changes between dirty and clean.
`static interface`
`CDOWorkspace.ObjectStatesChangedEvent`
An `event` fired when the state of objects in the `workspace` change between new, dirty and clean.

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

`org.eclipse.net4j.util.event.INotifier.INotifier2`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`CDOCommitInfo`
`checkin()`
`CDOCommitInfo`
`checkin(String comment)`
`CDOChangeSetData`
`compare(String branchPath)`
`CDOChangeSetData`
`compare(String branchPath, long timeStamp)`
`CDOWorkspaceBase`
`getBase()`
`int`
`getBranchID()`
`String`
`getBranchPath()`
`CDOChangeSetData`
`getLocalChanges()`
`long`
`getTimeStamp()`
`boolean`
`isDirty()`
`boolean`
`isFixed()`
`CDOTransaction`
`merge(CDOMerger merger, String branchPath)`
`CDOTransaction`
`merge(CDOMerger merger, String branchPath, long timeStamp)`
`CDOTransaction`
`openTransaction()`
`CDOTransaction`
`openTransaction(ResourceSet resourceSet)`
`CDOView`
`openView()`
`CDOView`
`openView(ResourceSet resourceSet)`
`void`
`replace(String branchPath, long timeStamp)`
`void`
`revert()`
`CDOTransaction`
`update(CDOMerger merger)`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.CDOElement.StateProvider

`getState`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionProvider

`getRevision`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.collection.Closeable

`close, isClosed`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

## Methodendetails

### getBranchID

int getBranchID()

Seit:
  4.2

### getBranchPath

String getBranchPath()

### getTimeStamp

long getTimeStamp()

### isFixed

boolean isFixed()

### getBase

CDOWorkspaceBase getBase()

### openView

CDOView openView()

### openView

CDOView openView(ResourceSet resourceSet)

### openTransaction

CDOTransaction openTransaction()

### openTransaction

CDOTransaction openTransaction(ResourceSet resourceSet)

### update

CDOTransaction update(CDOMerger merger)

### merge

CDOTransaction merge(CDOMerger merger, String branchPath)

### merge

CDOTransaction merge(CDOMerger merger, String branchPath, long timeStamp)

### checkin

CDOCommitInfo checkin() throws CommitException

Löst aus:
  `CommitException`

### checkin

CDOCommitInfo checkin(String comment) throws CommitException

Löst aus:
  `CommitException`

### compare

CDOChangeSetData compare(String branchPath)

### compare

CDOChangeSetData compare(String branchPath, long timeStamp)

### getLocalChanges

CDOChangeSetData getLocalChanges()

### replace

void replace(String branchPath, long timeStamp)

### revert

void revert()

### isDirty

boolean isDirty()

Seit:
  4.1