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 newviews
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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOView
getView(int viewID)
CDOView[]
getViews()
Returns an array of all openviews
andtransactions
of this session.CDOView[]
getViews(CDOBranch branch)
Returns an array of allviews
andtransactions
of this session that are open on the given branch.CDOView
openView()
Opens and returns a newview
on a new EMFresource set
.CDOView
openView(long timeStamp)
Opens and returns a newview
on a new EMFresource set
.CDOView
openView(java.lang.String durableLockingID)
Opens and returns aview
on a new EMFresource set
by resuming a view that has previously been made durable by callingCDOView.enableDurableLocking(true)
.CDOView
openView(CDOBranch branch)
Opens and returns a newview
on a new EMFresource set
.CDOView
openView(CDOBranch branch, long timeStamp)
Opens and returns a newview
on a new EMFresource set
.CDOView
openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)
Opens and returns a newview
on the given EMFresource set
.CDOView
openView(CDOBranchPoint target)
Opens and returns a newview
on a new EMFresource set
.CDOView
openView(ResourceSet resourceSet)
Opens and returns a newview
on 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 openviews
andtransactions
of this session.- See Also:
openView()
-
getViews
CDOView[] getViews(CDOBranch branch)
Returns an array of allviews
andtransactions
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 newview
on a new EMFresource set
.- Since:
- 4.0
- See Also:
openView()
-
openView
CDOView openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet)
Opens and returns a newview
on the given EMFresource set
.- Since:
- 3.0
- See Also:
openView()
-
openView
CDOView openView(CDOBranch branch, long timeStamp)
Opens and returns a newview
on 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 newview
on 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 newview
on 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 newview
on the given EMFresource set
.- Since:
- 4.0
- See Also:
openView(CDOBranch, long, ResourceSet)
-
openView
CDOView openView()
Opens and returns a newview
on 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 aview
on a new EMFresource set
by 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)
-
-