Package org.eclipse.emf.cdo.view
Interface CDOUnitManager
- All Superinterfaces:
org.eclipse.net4j.util.container.IContainer<CDOUnit>
,org.eclipse.net4j.util.event.INotifier
- Since:
- 4.5
- 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
Modifier and TypeInterfaceDescriptionstatic final class
An uncheckedCDOException
being thrown fromCDOUnitManager.createUnit()
to indicate that the given root object already is theroot
of an existingunit
.static final class
An uncheckedCDOException
being thrown fromCDOUnitManager.openUnit()
to indicate that nounit
exists for the given root object.Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptioncreateUnit
(EObject root, boolean open, IProgressMonitor monitor) getOpenUnit
(EObject object) CDOUnit[]
getView()
boolean
boolean
boolean
openUnit
(EObject root, boolean createOnDemand, IProgressMonitor monitor) void
setAutoResourceUnitsEnabled
(boolean enabled) void
setPrefetchLockStates
(boolean prefetchLockStates) 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 Details
-
getView
CDOView getView() -
isUnit
-
createUnit
CDOUnit createUnit(EObject root, boolean open, IProgressMonitor monitor) throws CDOUnitManager.UnitExistsException -
openUnit
CDOUnit openUnit(EObject root, boolean createOnDemand, IProgressMonitor monitor) throws CDOUnitManager.UnitNotFoundException -
getOpenUnit
-
getOpenUnits
CDOUnit[] getOpenUnits() -
isPrefetchLockStates
boolean isPrefetchLockStates()- Since:
- 4.23
-
setPrefetchLockStates
void setPrefetchLockStates(boolean prefetchLockStates) - Since:
- 4.23
-
isAutoResourceUnitsEnabled
boolean isAutoResourceUnitsEnabled() -
setAutoResourceUnitsEnabled
void setAutoResourceUnitsEnabled(boolean enabled)
-