Package org.eclipse.emf.cdo.view

# Schnittstelle CDOViewContainer

Alle Superschnittstellen:
  `CDOViewOpener`, `org.eclipse.net4j.util.container.IContainer<CDOView>`, `org.eclipse.net4j.util.event.INotifier`

Alle bekannten Unterschnittstellen:
  `CDONet4jSession`, `CDOSession`, `CDOSession`, `CDOTransactionContainer`, `InternalCDOSession`

public interface CDOViewContainer extends org.eclipse.net4j.util.container.IContainer<CDOView>, CDOViewOpener
Can open new `views` and provide access to openend views.

Seit:
  4.1
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

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer

`org.eclipse.net4j.util.container.IContainer.Modifiable<E>, org.eclipse.net4j.util.container.IContainer.Persistable<E>, org.eclipse.net4j.util.container.IContainer.Persistence<E>`

## 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
`CDOView`
`getView(int viewID)`
`CDOView[]`
`getViews()`
Returns an array of all open `views` and `transactions` of this session.
`CDOView[]`
`getViews(CDOBranch branch)`
Returns an array of all `views` and `transactions` of this session that are open on the given branch.
`CDOView`
`openView()`
Opens and returns a new `view` on a new EMF `resource set`.
`CDOView`
`openView(long timeStamp)`
Opens and returns a new `view` on a new EMF `resource set`.
`CDOView`
`openView(String durableLockingID)`
Opens and returns a `view` on a new EMF `resource set` by resuming a view that has previously been made durable by calling `CDOView.enableDurableLocking(true)`.
`CDOView`
`openView(CDOBranch branch)`
Opens and returns a new `view` on a new EMF `resource set`.
`CDOView`
`openView(CDOBranch branch, long timeStamp)`
Opens and returns a new `view` on a new EMF `resource set`.
`CDOView`
`openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)`
Opens and returns a new `view` on the given EMF `resource set`.
`CDOView`
`openView(CDOBranchPoint target)`
Opens and returns a new `view` on a new EMF `resource set`.
`CDOView`
`openView(ResourceSet resourceSet)`
Opens and returns a new `view` on the given EMF `resource set`.

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.view.CDOViewOpener

`openView, openView`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer

`getElements, isEmpty`

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

`addListener, getListeners, hasListeners, removeListener`

## Methodendetails

### getViews

CDOView[] getViews()
Returns an array of all open `views` and `transactions` of this session.

Siehe auch:
  - `openView()`

### getViews

CDOView[] getViews(CDOBranch branch)
Returns an array of all `views` and `transactions` of this session that are open on the given branch.

Seit:
  4.2

### getView

CDOView getView(int viewID)

Seit:
  4.0

### openView

CDOView openView(CDOBranchPoint target)
Opens and returns a new `view` on a new EMF `resource set`.

Seit:
  4.0
Siehe auch:
  - `openView()`

### openView

CDOView openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)
Opens and returns a new `view` on the given EMF `resource set`.

Seit:
  3.0
Siehe auch:
  - `openView()`

### openView

CDOView openView(CDOBranch branch, long timeStamp)
Opens and returns a new `view` on a new EMF `resource set`.

Same as calling `openView(new ResourceSetImpl())`.

Seit:
  3.0
Siehe auch:
  - `openView(CDOBranch, long, ResourceSet)`

### openView

CDOView openView(CDOBranch branch)
Opens and returns a new `view` on a new EMF `resource set`.

Same as calling `openView(new ResourceSetImpl())`.

Seit:
  3.0
Siehe auch:
  - `openView(CDOBranch, long, ResourceSet)`

### openView

CDOView openView(long timeStamp)
Opens and returns a new `view` on a new EMF `resource set`.

Same as calling `openView(new ResourceSetImpl())`.

Seit:
  3.0
Siehe auch:
  - `openView(CDOBranch, long, ResourceSet)`

### openView

CDOView openView(ResourceSet resourceSet)
Opens and returns a new `view` on the given EMF `resource set`.

Seit:
  4.0
Siehe auch:
  - `openView(CDOBranch, long, ResourceSet)`

### openView

CDOView openView()
Opens and returns a new `view` on a new EMF `resource set`.

Same as calling `openView(new ResourceSetImpl())`.

Siehe auch:
  - `openView(CDOBranch, long, ResourceSet)`

### openView

CDOView openView(String durableLockingID)
Opens and returns a `view` on a new EMF `resource set` by resuming a view that has previously been made durable by calling `CDOView.enableDurableLocking(true)`.

Same as calling `openView(durableLockingID, new ResourceSetImpl())`.

Seit:
  4.0
Siehe auch:
  - `CDOViewOpener.openView(String,ResourceSet)`