Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionAs of 4.3 use
CDOBranchChangedEvent.As of 4.2 useIPasswordCredentialsProviderdirectlyAs of 4.7.1 use org.eclipse.emf.cdo.common.util.ResourceSetConfigurerUseCDONet4jSession.As of 4.3 useFilterPermissionandObjectFilter.As of 4.2 useIDBConnection.UseIMEMStoreAs of 4.20 useParameterAware.As of 4.31 useCDOCollectionLoadingConfig. Legacyexecution methodsare no longer supported and policies overriding them are rejected when installed in a session.As of 4.5feature mapsare no longer supported.As of 4.6 use IRepositoryConfig.CAPABILITY_EXTERNAL_REFS.As of 4.5feature mapsare no longer supported.As of 4.19 useCDOTransactionConflictAddedEvent.UseCDOView.Options.StrongReferencePolicyEventinstead.
-
Deprecated ClassesClassDescriptionAs of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.7.1 use org.eclipse.emf.cdo.common.util.ResourceSetConfigurer.FactoryAs of 4.7.1 use org.eclipse.emf.cdo.common.util.ResourceSetConfigurer.RegistryAs of 4.3 use
SecurityManagerFactory.Defaultwith a description like "realmPath:annotation".As of 4.2As of 4.20 useContainerRepositoryProvider.As of 4.30, useCDOFileTransaction.As of 4.15 useSupport.As of 4.4 no longer supported.As of 4.0 use CDOMergingConflictResolverAs of 4.2 useCDOSessionInvalidationEventQueue.InstantiateDefaultCDOMerger.PerFeature.ManyValued. The old numeric/offset implementation is not correctness-preserving.
-
Deprecated Enum ClassesEnum ClassDescriptionAs of 4.3 use
CDOTransactionFinishedEvent.Cause.InstantiateDefaultCDOMerger.PerFeature.ManyValued. The old numeric/offset implementation is not correctness-preserving.
-
Deprecated Exception ClassesException ClassDescriptionAs of 4.3 use
NotAuthenticatedException, instead.As of 4.2 no longer used in the server; replaced byContainmentCycleExceptionin the client.As of 4.2 the legacy mode is always enabled.Not used.
-
Deprecated FieldsFieldDescriptionUse the timeout-based lock methods instead.Use the timeout-based lock methods instead.As of 4.5
feature mapsare no longer supported.As of 4.9 useEMFPredicates.ATTRIBUTES.As of 4.9 useEMFPredicates.CONTAINER_REFERENCES.As of 4.9 useEMFPredicates.CONTAINMENT_REFERENCES.As of 4.9 useEMFPredicates.CROSS_REFERENCES.As of 4.9 useEMFPredicates.REFERENCES.As of 4.6 useCDOFeatureDelta.UNKNOWN_VALUE.As of 1.2 useAbstractLifecycleManager.Factory.PRODUCT_GROUPorg.eclipse.emf.cdo.security.provider.SecurityItemProviderAdapterFactory.classPermissionItemProviderAs of 4.5feature mapsare no longer supported.As of 4.4 useIMappingStrategy.Props.COLUMN_TYPE_MODIFIER.As of 4.4 useIMappingStrategy.Props.FORCE_NAMES_WITH_ID.As of 4.4 useIMappingStrategy.Props.MAX_FIELD_NAME_LENGTH.As of 4.4 useIMappingStrategy.Props.MAX_TABLE_NAME_LENGTH.As of 4.4 useIMappingStrategy.Props.OBJECT_TYPE_CACHE_SIZE.As of 4.4 useIMappingStrategy.Props.QUALIFIED_NAMES.As of 4.4 useIMappingStrategy.Props.TABLE_NAME_PREFIX.As of 4.2 instances of Ecore are always supported (on demand).As of 4.12 no longer supported.As of 4.29 useCDORevisionUtil.UNINITIALIZEDinstead.Use CDOBranchPoint.UNSPECIFIED_DATEAs of 4.7 useCDOCompareEditorUtil.compareImage().
-
Deprecated MethodsMethodDescriptionAs of 4.3 no longer supported because it is unsafe to reload single objects.As of 4.4 use
CDOBranch.setName(String).As of 4.2 instances of Ecore are always supported (on demand).As of 4.2 no longer supported. IDs can't be created without a value anymore.As of 4.2 useCDOIDUtil.createLongWithClassifier(long, CDOClassifierRef).As of 4.2 useCDOIDUtil.read(CDODataInput).As of 4.2 useCDOIDUtil.write(CDODataOutput, CDOID).As of 4.10 useCDOReference.getSourceReference().As of 4.15 useCDOLockChangeInfo.getLockTypes().As of 4.15 useCDOLockChangeInfo.getOperations().As of 4.15 no longer supported.As of 4.15 no longer supported.As of 4.15 useCDOLockUtil.convertLockState(LockState).As of 4.2 pushed down toInternalCDOClassInfo.getPersistentFeatureIndex(int).As of 4.2 pushed down toInternalCDOClassInfo.getPersistentFeatureIndex(EStructuralFeature).As of 4.2 useCDOModelUtil.getClassInfo(eClass).getAllPersistentFeatures().This method is expensive and will be removed in the future.As of 4.15 useCDORevisionInterner.internRevision(CDORevision).As of 4.27 useCDORevisionData.calculateContainerReferenceID(EReference).As of 4.27 useCDORevisionData.getContainerFeatureID().As of 4.37 useCDORevisionManager.request()to configure and execute a revision request.As of 4.37 useCDORevisionManager.request()to configure and execute a revision request.As of 4.37 useCDORevisionManager.request()to configure and execute a revision request.As of 4.37 useCDORevisionManager.request()to configure and execute a revision request.As of 4.5feature mapsare no longer supported.As of 4.5feature mapsare no longer supported.As of 4.3 useCDOFeatureDelta.applyTo(CDORevision).As of 4.3 useCDORevisionDelta.applyTo(CDORevision).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 4.2 the legacy mode is always enabled.As 4.7 useCDOCompareUtil.getScope(Comparison).As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.As of 4.4 not used any more.Only here to show the unmodified code created by the generator in contrast to the hand-modifiedReviewItemProvider.notifyChanged(Notification). Do not attempt to call notifyChangedGen() from notifyChanged() as that would lead to StackOverflowError between TopicContainerItemProvider and TopicItemProvider!Only here to show the unmodified code created by the generator in contrast to the hand-modifiedTopicContainerItemProvider.notifyChanged(Notification). Do not attempt to call notifyChangedGen() from notifyChanged() as that would lead to StackOverflowError between TopicContainerItemProvider and TopicItemProvider!Only here to show the unmodified code created by the generator in contrast to the hand-modifiedTopicItemProvider.notifyChanged(Notification). Do not attempt to call notifyChangedGen() from notifyChanged() as that would lead to StackOverflowError between TopicContainerItemProvider and TopicItemProvider!As of 1.2 useAbstractLifecycleManager.addModule(String, String).As of 1.2 useAbstractLifecycleManager.createNewModule(String, String).As of 1.4 not used anymore. Doesn't work with DeliveryReviews.As of 1.2 no longer supported.As of 1.2 no longer supported.Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 1.2 implementLMMerger2.mergeDelivery(LMMergeInfos).UseopenNet4jSession().UsegetNet4jSession().Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).UsegetNet4jSession().Kept for 4.0 compatibility. Newer code should callCDONet4jSession.Options.getNet4jProtocol().org.eclipse.emf.cdo.security.impl.ClassPermissionImpl.isImpacted(PermissionImpl.CommitImpactContext) As of 4.3 useSecurityFactory.createFilterPermission()andSecurityFactory.createClassFilter().As of 4.3 useSecurityFactory.createFilterPermission()andSecurityFactory.createPackageFilter().As of 4.3 useSecurityFactory.createFilterPermission()andSecurityFactory.createResourceFilter().Automatically initialized containers discover the Admin factories through their declarative contributions. UseOMBundle.prepareContainer(IManagedContainer)only when intentionally preparing a raw container manually.As of 4.9 useCDOServerExporter.Statistics.dumpStrings(Consumer).As of 4.2 the legacy mode is always enabled, useCDOServerUtil.openView(ISession, CDOBranchPoint).As of 4.2 the legacy mode is always enabled, useCDOServerUtil.openView(ISession, CDOBranchPoint, CDORevisionProvider).As of 4.2 the legacy mode is always enabled, useCDOServerUtil.openView(IStoreAccessor.CommitContext).As of 4.2 the legacy mode is always enabled, useCDOServerUtil.openView(IView).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 4.2 useIDBConnection.prepareStatement(String, org.eclipse.net4j.db.IDBPreparedStatement.ReuseProbability).As of 4.2 useIDBConnection.prepareStatement(String, org.eclipse.net4j.db.IDBPreparedStatement.ReuseProbability).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 4.2 useIDBConnection.prepareStatement(String, org.eclipse.net4j.db.IDBPreparedStatement.ReuseProbability).Not used anymore.As of 4.2 useITypeMapping.createDBField(IDBTable, String).As of 4.5feature mapsare no longer supported.As of 4.2 callCDOCommitInfoProvider.getCommitInfoHandlers()As of 4.1 useIRepository.getLockingManager().The return value of this method can not be relied upon to be strictly ordered!As of 4.15 useIStoreAccessor.CommitContext.getLockStates().As of 4.5 no longer supported. SeeIStoreAccessor.CommitContext.getIDsToUnlock().As of 4.15 useunlock(durableLockingID, null, null).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 4.4 useCDOExtentCreator.getRevisionInterner().As of 4.4 useCDOExtentCreator.setRevisionInterner(CDORevisionInterner).As of 4.2 no longer supported.Initialized containers are prepared automatically.Containers created viaContainerUtil.createInitializedContainer()orOMPlatform.createManagedContainer()are initialized automatically. Advanced callers configuring a raw container can useOMBundle.prepareContainer(IManagedContainer).As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.31 the policy is declarative and must not execute collection loading.As of 4.31 the policy is declarative and must not execute collection loading.As of 4.31 legacy policy API; useCDOCollectionLoadingConfig.As of 4.13 useCDOSession.changeServerPassword().As of 4.31 useCDOSession.Options.getCollectionLoadingConfig().As of 4.2 useCDOSessionConfiguration.getCredentialsProvider()andCDOSessionConfiguration.setCredentialsProvider(IPasswordCredentialsProvider), respectivelyAs of 4.4 useCDOBranch.setName(String).As of 4.2 replaced byInternalCDOBranchManager.setRepository(CDOCommonRepository)As of 4.2 not called anymore.As of 4.2 not called anymore.As of 4.2AbstractCDOID.write(CDODataOutput)is called.As of 4.15 useaddOwner(owner, LockType.READ).As of 4.15 not supported anymore.As of 4.16 useInternalCDOLockState.clearOwner(CDOLockOwner).As of 4.15 useremoveOwner(owner, LockType.READ).As of 4.15 useaddOwner(owner, LockType.WRITE)orremoveOwner(owner, LockType.WRITE).As of 4.15 useaddOwner(owner, LockType.OPTION). orremoveOwner(owner, LockType.OPTION).As of 4.5 not supported anymore.As of 4.15 not supported anymore.As of 4.5feature mapsare no longer supported.Compatibility no-op. Loaded state is derived from list contents.org.eclipse.emf.cdo.spi.common.revision.CDOFeatureMapEntry.setEStructuralFeature(EStructuralFeature) As of 4.7 use eitherCDORevisionData.getListOrNull(EStructuralFeature)orInternalCDORevision.getOrCreateList(EStructuralFeature).As of 4.27 useInternalCDORevision.setContainerFeatureID(int).As of 4.29 no longer required, see https://github.com/eclipse-cdo/cdo/issues/195As of 4.15 useCDORevisionInterner.internRevision(CDORevision).As of 4.37 use the configuration-basedInternalCDORevisionManager.getRevisions(List, CDOBranchPoint, CDORevisionManager.Request.Config, SyntheticCDORevision[]).Not called anymore by the frameworkNot called anymore by the frameworkNot called anymore by the frameworkNot called anymore by the framework.As of 4.5 no longer supported. SeeInternalCommitContext.setIDsToUnlock(CDOID[]).As of 4.1 useInternalRepository.getLockingManager().As of 4.3 useInternalRepository.initSystemPackages().As of 4.15 useInternalSession.sendBranchNotification(ChangeKind, CDOBranch...).As of 4.15 useInternalSession.viewClosed(InternalView, boolean).As of 4.2 useISessionManager.getAuthenticator()As of 4.2 useISessionManager.setAuthenticator(IAuthenticator)Not used anymore.As of 4.2IAuthenticationProtocol.sendAuthenticationChallenge(Challenge)is called.As of 4.11 useISessionProtocol.sendLockNotification(CDOLockChangeInfo, Set).org.eclipse.emf.cdo.spi.server.ISessionProtocol.sendRemoteSessionNotification(InternalSession, byte) As of 4.2 the legacy mode is always enabled.As of 4.20 useStringUtil.replace(String, Map).As of 4.5 no longer supported. SeeCDOCommitContext.getIDsToUnlock().UseCDOPushTransaction.enableDurableLocking()instead orCDOPushTransaction.disableDurableLocking(boolean), respectively.org.eclipse.emf.cdo.transaction.CDOPushTransaction.removeRegistrationHandler(CDORegistrationHandler) org.eclipse.emf.cdo.transaction.CDOPushTransaction.setBranchPoint(CDOBranch, long, IProgressMonitor) As of 4.2 useCDOSavepoint.getRevisionDeltas2()instead.As of 4.3 useCDOTransactionFinishedEvent.getCause().As of 4.4 useComposeBranchPointComposite.createBranchViewer().As of 4.4 useComposeBranchPointComposite.createSelectTimeStampComposite().As of 4.4 useComposeBranchPointComposite.getBranchViewer().As of 4.4 no longer supported.This method is subject to removal in a future release.This method is subject to removal in a future release.As of 4.31 use collection loading configuration.As of 4.0 use CDOView.isInvalidationRunnerActive()As of 4.2 the legacy mode is always enabled.As of 4.2 the legacy mode is always enabled.As of 4.31 useCDOSession.Options.getCollectionLoadingConfig().UseCDOView.enableDurableLocking()instead orCDOView.disableDurableLocking(boolean), respectively.As of 4.29 useCDOView.sync().As of 4.7 useCDOView.isInvalidating().As of 4.2 the legacy mode is always enabled.As of 4.3 no longer supported because it is unsafe to reload single objects.As of 4.29 useCDOView.sync().As of 4.29 useCDOView.sync().As of 4.4. useCDOViewProviderRegistry.provideView(URI, ResourceSet).getProvider().As of 4.4 useCDOViewSet.resolveView(URI).As of 4.5feature mapsare no longer supported.Don't call this method. Rolling back single objects is exremely risky.As of 4.3 useCDOSessionInvalidationEventQueue.poll().As of 4.31 useCDOSessionProtocol.changeLockArea2(CDOView, boolean).As of 4.15 useCDOSessionProtocol.CommitTransactionResult.getLockDeltas().As of 4.15 useCDOSessionProtocol.CommitTransactionResult.setLockStates(List).As of 4.31 useCDOSessionProtocol.getLockStates3(int, Collection, int).As of 4.15 useCDOSessionProtocol.LockObjectsResult.getLockStates().As of 4.5 useCDOSessionProtocol.OpenSessionResult.getCreationTime().As of 4.5 useCDOSessionProtocol.OpenSessionResult.getState().As of 4.5 useCDOSessionProtocol.OpenSessionResult.getType().As of 4.5 useCDOSessionProtocol.OpenSessionResult.getUUID().As of 4.5 useCDOSessionProtocol.OpenSessionResult.isAuthenticating().As of 4.5 useCDOSessionProtocol.OpenSessionResult.isSerializingCommits().As of 4.5 useCDOSessionProtocol.OpenSessionResult.isSupportingAudits().As of 4.5 useCDOSessionProtocol.OpenSessionResult.isSupportingBranches().As of 4.2 instances of Ecore are always supported (on demand).As of 4.2 instances of Ecore are always supported (on demand).As of 4.15 useCDOSessionProtocol.UnlockObjectsResult.getLockStates().As of 4.29, replaced byCDOStore.getContainerFeatureID(InternalEObject).As of 4.2 no longer supported.As of 4.16InternalCDOObject.cdoInternalPostDetach(boolean, boolean)is called by theCDOStateMachine.As of 4.2 not used anymore.As of 4.2 not used anymore.As of 4.2 useIPasswordCredentialsProvider.Provider.getCredentialsProvider()As of 4.3 no longer supported.As of 4.6 useInternalCDOSession.invalidate(InvalidationData).As of 4.6 useInternalCDOSession.MergeData.getTargetBase().As of 4.6 useInternalCDOSession.MergeData.getTargetBaseInfo().As of 4.6 useInternalCDOSession.MergeData.getSourceBaseInfo().InternalCDOTransaction.createIDForNewObject(EObject)is called since 4.1.As of 4.29 useCDOView.sync()As of 4.6. useInternalCDOView.invalidate(ViewInvalidationData)As of 4.29 useCDOView.sync()No longer supported.As of 4.29 useCDOView.sync()
-
Deprecated ConstructorsConstructorDescriptionAs of 4.4. use
CDOPropertyDescriptor(Property).As of 4.2 the legacy mode is always enabled.org.eclipse.emf.cdo.ui.widgets.SelectBranchComposite(Composite, int, CDOSession, CDOBranch, boolean) As of 4.3As of 4.2As of 4.2As of 4.3As of 4.4 useOpenSessionResult(CDODataInput, int).
-
Deprecated Enum ConstantsEnum ConstantDescription