
public interface InternalCDOView extends CDOView, CDOIDProvider, ILifecycle
| Modifier and Type | Interface and Description |
|---|---|
static class |
InternalCDOView.ViewAndState
Optimizes the storage of
CDOObject.cdoView() and CDOObject.cdoState(). |
CDOView.OptionsIContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>ILifecycle.DeferrableActivationINVALID_DATE, UNSPECIFIED_DATENO_TIMEOUTNOOP| Modifier and Type | Method and Description |
|---|---|
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()
Deprecated.
|
CDOLockState[] |
getLockStates(Collection<CDOID> ids)
Get an array of
lock states corresponding to the specified collection of ids. |
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) |
InternalCDOViewSet |
getViewSet()
Returns the
view set this view is associated with. |
void |
handleAddAdapter(InternalCDOObject eObject,
org.eclipse.emf.common.notify.Adapter adapter) |
void |
handleLockNotification(InternalCDOView sender,
CDOLockChangeInfo lockChangeInfo) |
void |
handleObjectStateChanged(InternalCDOObject object,
CDOState oldState,
CDOState newState) |
void |
handleRemoveAdapter(InternalCDOObject eObject,
org.eclipse.emf.common.notify.Adapter adapter) |
boolean |
hasSubscription(CDOID id) |
void |
invalidate(CDOBranch branch,
long lastUpdateTime,
List<CDORevisionKey> allChangedObjects,
List<CDOIDAndVersion> allDetachedObjects,
Map<CDOID,InternalCDORevision> oldRevisions,
boolean async)
Deprecated.
|
void |
invalidate(CDOBranch branch,
long lastUpdateTime,
List<CDORevisionKey> allChangedObjects,
List<CDOIDAndVersion> allDetachedObjects,
Map<CDOID,InternalCDORevision> oldRevisions,
boolean async,
boolean clearResourcePathCache) |
boolean |
isObjectLocked(CDOObject object,
IRWLockManager.LockType lockType,
boolean byOthers) |
boolean |
isObjectNew(CDOID id) |
void |
prefetchRevisions(CDOID id,
int depth) |
void |
registerObject(InternalCDOObject object) |
void |
registerProxyResource(CDOResourceImpl resource)
Deprecated.
No longer supported.
|
void |
remapObject(CDOID oldID) |
void |
setFeatureAnalyzer(CDOFeatureAnalyzer featureAnalyzer)
Deprecated.
|
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(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.notify.Adapter adapter) |
InternalCDOTransaction |
toTransaction() |
void |
unsubscribe(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.notify.Adapter adapter) |
addObjectHandler, compareRevisions, createQuery, createQuery, createResourceURI, disableDurableLocking, enableDurableLocking, enableDurableLocking, getBinaryResource, getObject, getObject, getObject, getObjectHandlers, getProvider, getResource, getResource, getResourceFolder, getResourceNode, getResourceSet, getRootResource, getTextResource, getURIHandler, hasConflict, hasResource, isDirty, isInvalidationRunnerActive, isLegacyModeEnabled, isObjectRegistered, lockObjects, lockObjects, options, queryInstances, queryInstancesAsync, queryResources, queryResourcesAsync, queryXRefs, queryXRefs, queryXRefsAsync, reload, removeObjectHandler, setBranch, setBranch, setBranchPoint, setBranchPoint, setBranchPoint, setBranchPoint, setResourcePathCache, setTimeStamp, setTimeStamp, unlockObjects, unlockObjects, unlockObjectsgetDurableLockingID, getViewID, isReadOnlygetSessionID, isDurableViewgetBranch, getTimeStampgetRevisionpropertiesgetAdaptergetLastUpdateTime, runAfterUpdate, waitForUpdate, waitForUpdategetHistory, getHistorygetElements, isEmptyaddListener, getListeners, hasListeners, removeListenerprovideCDOIDactivate, deactivate, getLifecycleState, isActivevoid setViewID(int viewId)
void setProvider(CDOViewProvider provider)
String getRepositoryName()
void setRepositoryName(String repositoryName)
InternalCDOSession getSession()
CDOViewsession this view was opened by.getSession in interface CDOCommonViewgetSession in interface CDOViewnull if this view is closed.Closeable.close(),
Closeable.isClosed(),
CDOViewContainer.openView(),
CDOTransactionContainer.openTransaction()void setSession(InternalCDOSession session)
InternalCDOViewSet getViewSet()
CDOViewview set this view is associated with.getViewSet in interface CDOViewnull.CDOViewSet.getViews()void setViewSet(InternalCDOViewSet viewSet)
@Deprecated CDOFeatureAnalyzer getFeatureAnalyzer()
@Deprecated void setFeatureAnalyzer(CDOFeatureAnalyzer featureAnalyzer)
Map<CDOID,InternalCDOObject> getObjects()
List<InternalCDOObject> getObjectsList()
CDOStore getStore()
InternalCDOTransaction toTransaction()
void attachResource(CDOResourceImpl resource)
void handleObjectStateChanged(InternalCDOObject object, CDOState oldState, CDOState newState)
@Deprecated void invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async)
invalidate(CDOBranch, long, List, List, Map, boolean, boolean)void invalidate(CDOBranch branch, long lastUpdateTime, List<CDORevisionKey> allChangedObjects, List<CDOIDAndVersion> allDetachedObjects, Map<CDOID,InternalCDORevision> oldRevisions, boolean async, boolean clearResourcePathCache)
void setLastUpdateTime(long lastUpdateTime)
void collectViewedRevisions(Map<CDOID,InternalCDORevision> revisions)
void remapObject(CDOID oldID)
void clearResourcePathCacheIfNecessary(CDORevisionDelta delta)
@Deprecated void registerProxyResource(CDOResourceImpl resource)
void registerObject(InternalCDOObject object)
void deregisterObject(InternalCDOObject object)
InternalCDORevision getRevision(CDOID id, boolean loadOnDemand)
void prefetchRevisions(CDOID id, int depth)
boolean isObjectLocked(CDOObject object, IRWLockManager.LockType lockType, boolean byOthers)
boolean isObjectNew(CDOID id)
void handleAddAdapter(InternalCDOObject eObject, org.eclipse.emf.common.notify.Adapter adapter)
void handleRemoveAdapter(InternalCDOObject eObject, org.eclipse.emf.common.notify.Adapter adapter)
void subscribe(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.notify.Adapter adapter)
void unsubscribe(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.notify.Adapter adapter)
boolean hasSubscription(CDOID id)
void handleLockNotification(InternalCDOView sender, CDOLockChangeInfo lockChangeInfo)
CDOLockState[] getLockStates(Collection<CDOID> ids)
lock states corresponding to the specified collection of ids.
If the collection of ids is empty, lock states of all locked objects are returned.InternalCDOView.ViewAndState getViewAndState(CDOState state)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.