Package org.eclipse.emf.cdo.view

## Interface CDOViewContainer

- All Superinterfaces:
    `CDOViewOpener`, `org.eclipse.net4j.util.container.IContainer<CDOView>`, `org.eclipse.net4j.util.event.INotifier`
  All Known Subinterfaces:
    `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.
  Since:
    4.1
  Author:
    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.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer

      `org.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>`

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier

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

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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​(java.lang.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`.

    - ### Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener

      `openView, openView`

    - ### Methods inherited from interface org.eclipse.net4j.util.container.IContainer

      `getElements, isEmpty`

    - ### Methods inherited from interface org.eclipse.net4j.util.event.INotifier

      `addListener, getListeners, hasListeners, removeListener`

- - ### Method Detail

    - #### getViews

          CDOView[] getViews()

      Returns an array of all open `views` and `transactions` of this session.
      See Also:
        `openView()`

    - #### getViews

          CDOView[] getViews​(CDOBranch branch)

      Returns an array of all `views` and `transactions` of this session that are open on the given branch.
      Since:
        4.2

    - #### getView

          CDOView getView​(int viewID)

      Since:
        4.0

    - #### openView

          CDOView openView​(CDOBranchPoint target)

      Opens and returns a new `view` on a new EMF `resource set`.
      Since:
        4.0
      See Also:
        `openView()`

    - #### openView

          CDOView openView​(CDOBranch branch,
                           long timeStamp,
                           ResourceSet resourceSet)

      Opens and returns a new `view` on the given EMF `resource set`.
      Since:
        3.0
      See Also:
        `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())`.

      Since:
        3.0
      See Also:
        `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())`.

      Since:
        3.0
      See Also:
        `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())`.

      Since:
        3.0
      See Also:
        `openView(CDOBranch, long, ResourceSet)`

    - #### openView

          CDOView openView​(ResourceSet resourceSet)

      Opens and returns a new `view` on the given EMF `resource set`.
      Since:
        4.0
      See Also:
        `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())`.

      See Also:
        `openView(CDOBranch, long, ResourceSet)`

    - #### openView

          CDOView openView​(java.lang.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())`.

      Since:
        4.0
      See Also:
        `CDOViewOpener.openView(String,ResourceSet)`