Package org.eclipse.emf.spi.cdo

# Schnittstelle InternalCDOView

Alle Superschnittstellen:
  `CDOBranchPoint`, `CDOBranchProvider`, `CDOCommitHistory.Provider<CDOObject,CDOObjectHistory>`, `CDOCommonView`, `CDOIDProvider`, `CDOLobLoader`, `CDORevisionProvider`, `CDOTimeProvider`, `CDOUpdatable`, `CDOView`, `org.eclipse.net4j.util.collection.Closeable`, `IAdaptable`, `org.eclipse.net4j.util.container.IContainer<CDOResourceNode>`, `org.eclipse.net4j.util.lifecycle.IDeactivateable`, `org.eclipse.net4j.util.concurrent.IExecutorServiceProvider`, `org.eclipse.net4j.util.lifecycle.ILifecycle`, `org.eclipse.net4j.util.event.INotifier`, `org.eclipse.net4j.util.options.IOptionsContainer`, `org.eclipse.net4j.util.properties.IPropertiesContainer`

Alle bekannten Unterschnittstellen:
  `InternalCDOTransaction`

public interface InternalCDOView extends CDOView, CDOIDProvider, CDOLobLoader, org.eclipse.net4j.util.lifecycle.ILifecycle, org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  2.0
Autor:
  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.

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`static final class`
`InternalCDOView.ViewAndState`
Optimizes the storage of `CDOObject.cdoView()` and `CDOObject.cdoState()`.
`static final class`
`InternalCDOView.ViewInvalidationData`
A data structure that holds all input values of `InternalCDOView#invalidate()`.

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.view.CDOView

`CDOView.Options`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer

`org.eclipse.net4j.util.container.IContainer.Modifiable<E>, org.eclipse.net4j.util.container.IContainer.Persistable<E>, org.eclipse.net4j.util.container.IContainer.Persistence<E>`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle

`org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

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

## Feldübersicht

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchPoint

`INVALID_DATE, UNSPECIFIED_DATE`

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.id.CDOIDProvider

`NOOP`

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.util.CDOUpdatable

`NO_TIMEOUT`

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.view.CDOView

`PROP_LIFECYCLE_EXCEPTION_HANDLER, PROP_TIME_MACHINE_DISABLED`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`attachResource(CDOResourceImpl resource)`
`void`
`clearResourcePathCacheIfNecessary(CDORevisionDelta delta)`
`void`
`collectViewedRevisions(Map<CDOID,InternalCDORevision> revisions)`
`Object`
`convertIDToObject(Object potentialID)`
`Object`
`convertObjectToID(Object potentialObject)`
`Object`
`convertObjectToID(Object potentialObject, boolean onlyPersistedID)`
`void`
`deregisterObject(InternalCDOObject object)`
`CDOFeatureAnalyzer`
`getFeatureAnalyzer()`
Veraltet.
`CDOLockOwner`
`getLockOwner()`
`Map<CDOID,InternalCDOObject>`
`getObjects()`
Returns an unmodifiable map of the objects managed by this view.
`List<InternalCDOObject>`
`getObjectsList()`
`String`
`getRepositoryName()`
`CDOID`
`getResourceNodeID(String path)`
`InternalCDORevision`
`getRevision(CDOID id, boolean loadOnDemand)`
`InternalCDOSession`
`getSession()`
Returns the `session` this view was opened by.
`CDOStore`
`getStore()`
`InternalCDOView.ViewAndState`
`getViewAndState(CDOState state)`
`Object`
`getViewMonitor()`
`InternalCDOViewSet`
`getViewSet()`
Returns the `view set` this view is associated with.
`void`
`handleAddAdapter(InternalCDOObject eObject, Adapter adapter)`
`void`
`handleLockNotification(InternalCDOView sender, CDOLockChangeInfo lockChangeInfo)`
`void`
`handleObjectStateChanged(InternalCDOObject object, CDOState oldState, CDOState newState)`
`void`
`handleRemoveAdapter(InternalCDOObject eObject, Adapter adapter)`
`boolean`
`hasSubscription(CDOID id)`
`void`
`invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async)`
Veraltet.
As of 4.2.
`void`
`invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async, boolean clearResourcePathCache)`
Veraltet.
As of 4.6.
`void`
`invalidate(InternalCDOView.ViewInvalidationData invalidationData)`
`void`
`inverseClose()`
`boolean`
`isClosing()`
`boolean`
`isObjectLocked(CDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean byOthers)`
`boolean`
`isObjectNew(CDOID id)`
`void`
`lockView()`
`void`
`prefetchRevisions(CDOID id, int depth)`
`void`
`registerObject(InternalCDOObject object)`
`void`
`registerProxyResource(CDOResourceImpl resource)`
Veraltet.
No longer supported.
`void`
`remapObject(CDOID oldID)`
`void`
`resourceLoaded(CDOResourceImpl resource, boolean loaded)`
`void`
`setFeatureAnalyzer(CDOFeatureAnalyzer featureAnalyzer)`
Veraltet.
`void`
`setLastUpdateTime(long lastUpdateTime)`
`void`
`setProvider(CDOViewProvider provider)`
`void`
`setRepositoryName(String repositoryName)`
`void`
`setSession(InternalCDOSession session)`
`void`
`setViewID(int viewId)`
`void`
`setViewSet(InternalCDOViewSet viewSet)`
`void`
`subscribe(EObject eObject, Adapter adapter)`
`InternalCDOTransaction`
`toTransaction()`
`void`
`unlockView()`
`void`
`unsubscribe(EObject eObject, Adapter adapter)`
`void`
`updateLockStates(CDOLockState[] newLockStates, boolean loadObjectsOnDemand, Consumer<CDOLockState> consumer)`
Veraltet.
As of 4.15 use `CDOLockStateCache.updateLockStates(CDOBranch, Collection, Collection, Consumer)`.

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.branch.CDOBranchPoint

`getBranch, getTimeStamp`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.commit.CDOCommitHistory.Provider

`getHistory, getHistory`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.CDOCommonView

`getDurableLockingID, getSessionID, getViewID, isDurableView, isHistorical, isReadOnly`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.id.CDOIDProvider

`provideCDOID`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.lob.CDOLobLoader

`loadLob`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionProvider

`getRevision`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.util.CDOUpdatable

`getLastUpdateTime, runAfterUpdate, waitForUpdate, waitForUpdate`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.view.CDOView

`addObjectHandler, addRegistrationHandler, compareRevisions, createQuery, createQuery, createResourceURI, disableDurableLocking, enableDurableLocking, enableDurableLocking, getBinaryResource, getLockStates, getLockStates, getLockStatesOfObjects, getObject, getObject, getObject, getObjectHandlers, getObjects, getProvider, getRegistrationHandlers, getResource, getResource, getResourceFolder, getResourceNode, getResourceSet, getRootResource, getTextResource, getUnitManager, getURI, getURIHandler, getViewLock, hasConflict, hasResource, isDirty, isInvalidating, isInvalidationRunnerActive, isLegacyModeEnabled, isObjectRegistered, lockObjects, lockObjects, options, queryInstances, queryInstancesAsync, queryInstancesAsync, queryResources, queryResourcesAsync, queryXRefs, queryXRefs, queryXRefsAsync, refreshLockStates, reload, removeObjectHandler, removeRegistrationHandler, setBranch, setBranch, setBranchPoint, setBranchPoint, setBranchPoint, setBranchPoint, setResourcePathCache, setTimeStamp, setTimeStamp, syncExec, syncExec, unlockObjects, unlockObjects, unlockObjects`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.collection.Closeable

`close, isClosed`

### Von Schnittstelle geerbte Methoden org.eclipse.core.runtime.IAdaptable

`getAdapter`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer

`getElements, isEmpty`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.concurrent.IExecutorServiceProvider

`getExecutorService`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.lifecycle.ILifecycle

`activate, deactivate, getLifecycleState, isActive`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.properties.IPropertiesContainer

`properties`

## Methodendetails

### setViewID

void setViewID(int viewId)

### setProvider

void setProvider(CDOViewProvider provider)

Seit:
  4.4

### getRepositoryName

String getRepositoryName()

Seit:
  4.4

### setRepositoryName

void setRepositoryName(String repositoryName)

Seit:
  4.4

### getSession

InternalCDOSession getSession()
Beschreibung aus Schnittstelle kopiert: `CDOView`
Returns the `session` this view was opened by.

Angegeben von:
  `getSession` in Schnittstelle `CDOCommonView`
Angegeben von:
  `getSession` in Schnittstelle `CDOView`
Gibt zurück:
  The session this view was opened by, or `null` if this view is closed.
Siehe auch:
  - `Closeable.close()`
  - `Closeable.isClosed()`
  - `CDOViewContainer.openView()`
  - `CDOTransactionContainer.openTransaction()`

### setSession

void setSession(InternalCDOSession session)

### getViewSet

InternalCDOViewSet getViewSet()
Beschreibung aus Schnittstelle kopiert: `CDOView`
Returns the `view set` this view is associated with.

Angegeben von:
  `getViewSet` in Schnittstelle `CDOView`
Gibt zurück:
  The view set this view is associated with, never `null`.
Siehe auch:
  - `CDOViewSet.getViews()`

### setViewSet

void setViewSet(InternalCDOViewSet viewSet)

### getObjects

Map<CDOID,InternalCDOObject> getObjects()
Returns an unmodifiable map of the objects managed by this view.

Seit:
  4.0

### getObjectsList

List<InternalCDOObject> getObjectsList()

Seit:
  4.3

### getStore

CDOStore getStore()

Seit:
  4.0

### toTransaction

InternalCDOTransaction toTransaction()

### attachResource

void attachResource(CDOResourceImpl resource)

### resourceLoaded

void resourceLoaded(CDOResourceImpl resource, boolean loaded)

Seit:
  4.5

### handleObjectStateChanged

void handleObjectStateChanged(InternalCDOObject object, CDOState oldState, CDOState newState)

Seit:
  3.0

### invalidate

void invalidate(InternalCDOView.ViewInvalidationData invalidationData)

Seit:
  4.6

### setLastUpdateTime

void setLastUpdateTime(long lastUpdateTime)

Seit:
  3.0

### collectViewedRevisions

void collectViewedRevisions(Map<CDOID,InternalCDORevision> revisions)

Seit:
  3.0

### remapObject

void remapObject(CDOID oldID)

### clearResourcePathCacheIfNecessary

void clearResourcePathCacheIfNecessary(CDORevisionDelta delta)

Seit:
  4.2

### getResourceNodeID

CDOID getResourceNodeID(String path)

### registerObject

void registerObject(InternalCDOObject object)

### deregisterObject

void deregisterObject(InternalCDOObject object)

### getRevision

InternalCDORevision getRevision(CDOID id, boolean loadOnDemand)

### prefetchRevisions

void prefetchRevisions(CDOID id, int depth)

Seit:
  3.0

### convertObjectToID

Object convertObjectToID(Object potentialObject)

### convertObjectToID

Object convertObjectToID(Object potentialObject, boolean onlyPersistedID)

### convertIDToObject

Object convertIDToObject(Object potentialID)

### isObjectNew

boolean isObjectNew(CDOID id)

Seit:
  4.1

### handleAddAdapter

void handleAddAdapter(InternalCDOObject eObject, Adapter adapter)

### handleRemoveAdapter

void handleRemoveAdapter(InternalCDOObject eObject, Adapter adapter)

### subscribe

void subscribe(EObject eObject, Adapter adapter)

### unsubscribe

void unsubscribe(EObject eObject, Adapter adapter)

### hasSubscription

boolean hasSubscription(CDOID id)

### getLockOwner

CDOLockOwner getLockOwner()

Angegeben von:
  `getLockOwner` in Schnittstelle `CDOCommonView`
Seit:
  4.12

### isObjectLocked

boolean isObjectLocked(CDOObject object, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, boolean byOthers)

Seit:
  3.0

### handleLockNotification

void handleLockNotification(InternalCDOView sender, CDOLockChangeInfo lockChangeInfo)

Seit:
  4.1

### getViewAndState

InternalCDOView.ViewAndState getViewAndState(CDOState state)

Seit:
  4.2

### getViewMonitor

Object getViewMonitor()

Seit:
  4.5

### lockView

void lockView()

Seit:
  4.5

### unlockView

void unlockView()

Seit:
  4.5

### isClosing

boolean isClosing()

Seit:
  4.15

### inverseClose

void inverseClose()

Seit:
  4.15

### getFeatureAnalyzer

@Deprecated CDOFeatureAnalyzer getFeatureAnalyzer()
Veraltet.

### setFeatureAnalyzer

@Deprecated void setFeatureAnalyzer(CDOFeatureAnalyzer featureAnalyzer)
Veraltet.

### invalidate

@Deprecated void invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async)
Veraltet.
As of 4.2. use `invalidate(CDOBranch, long, List, List, Map, boolean, boolean)`

### invalidate

@Deprecated void invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async, boolean clearResourcePathCache)
Veraltet.
As of 4.6. use `invalidate(ViewInvalidationData)`

Seit:
  4.2

### registerProxyResource

@Deprecated void registerProxyResource(CDOResourceImpl resource)
Veraltet.
No longer supported.

### updateLockStates

@Deprecated void updateLockStates(CDOLockState[] newLockStates, boolean loadObjectsOnDemand, Consumer<CDOLockState> consumer)
Veraltet.
As of 4.15 use `CDOLockStateCache.updateLockStates(CDOBranch, Collection, Collection, Consumer)`.

Seit:
  4.12