org.eclipse.emf.cdo.view
Interface CDOViewContainer

All Superinterfaces:
IContainer<CDOView>, INotifier
All Known Subinterfaces:
CDONet4jSession, CDOSession, CDOSession, CDOSession, CDOTransactionContainer, InternalCDOSession

public interface CDOViewContainer
extends IContainer<CDOView>

Can open new views and provide access to openend views.

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

getView

CDOView getView(int viewID)
Since:
4.0

openView

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

Since:
4.0
See Also:
openView()

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(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:
openView(String,ResourceSet)

openView

CDOView openView(String durableLockingID,
                 ResourceSet resourceSet)
Opens and returns a view on the given EMF resource set by resuming a view that has previously been made durable by calling CDOView.enableDurableLocking(true).

Since:
4.0
See Also:
openView(String)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.