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 newviewsand 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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOViewgetView(int viewID)CDOView[]getViews()Returns an array of all openviewsandtransactionsof this session.CDOView[]getViews(CDOBranch branch)Returns an array of allviewsandtransactionsof this session that are open on the given branch.CDOViewopenView()Opens and returns a newviewon a new EMFresource set.CDOViewopenView(long timeStamp)Opens and returns a newviewon a new EMFresource set.CDOViewopenView(java.lang.String durableLockingID)Opens and returns aviewon a new EMFresource setby resuming a view that has previously been made durable by callingCDOView.enableDurableLocking(true).CDOViewopenView(CDOBranch branch)Opens and returns a newviewon a new EMFresource set.CDOViewopenView(CDOBranch branch, long timeStamp)Opens and returns a newviewon a new EMFresource set.CDOViewopenView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)Opens and returns a newviewon the given EMFresource set.CDOViewopenView(CDOBranchPoint target)Opens and returns a newviewon a new EMFresource set.CDOViewopenView(ResourceSet resourceSet)Opens and returns a newviewon the given EMFresource set.-
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener
openView, openView
-
-
-
-
Method Detail
-
getViews
CDOView[] getViews()
Returns an array of all openviewsandtransactionsof this session.- See Also:
openView()
-
getViews
CDOView[] getViews(CDOBranch branch)
Returns an array of allviewsandtransactionsof 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 newviewon a new EMFresource set.- Since:
- 4.0
- See Also:
openView()
-
openView
CDOView openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)
Opens and returns a newviewon the given EMFresource set.- Since:
- 3.0
- See Also:
openView()
-
openView
CDOView openView(CDOBranch branch, long timeStamp)
Opens and returns a newviewon a new EMFresource 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 newviewon a new EMFresource 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 newviewon a new EMFresource 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 newviewon the given EMFresource set.- Since:
- 4.0
- See Also:
openView(CDOBranch, long, ResourceSet)
-
openView
CDOView openView()
Opens and returns a newviewon a new EMFresource set.Same as calling
openView(new ResourceSetImpl()).- See Also:
openView(CDOBranch, long, ResourceSet)
-
openView
CDOView openView(java.lang.String durableLockingID)
Opens and returns aviewon a new EMFresource setby resuming a view that has previously been made durable by callingCDOView.enableDurableLocking(true).Same as calling
openView(durableLockingID, new ResourceSetImpl()).- Since:
- 4.0
- See Also:
CDOViewOpener.openView(String,ResourceSet)
-
-