Deprecated API
Contents
-
ElementDescriptionThe constructor is deprecated in favor of more flexible
com.polarion.platform.persistence.spi.TypedEnumeration#TypedEnumeration(java.util.function.UnaryOperator, java.lang.String, java.lang.String, com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, com.polarion.subterra.base.data.identification.IContextId)
The constructor is deprecated in favor of more flexiblecom.polarion.platform.persistence.spi.TypedEnumerationFactory#TypedEnumerationFactory(com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, java.lang.String, java.util.function.UnaryOperator, java.lang.String)
The 'com.polarion.security.role.manage.assignments' permission was already removed. This constant will be removed in the future.
-
InterfaceDescriptionimplement
IExportCommandFactory
insteadinstead of implementing this interface, provideIExportTemplateFactory
in the exporter contribution (since 3.17.1)implementIImportCommandFactory
insteadUse appropriate methods onIPersistencePolicy
.Deprecated without replacement, though it is possible to useSystem.getProperty(String)
to access all configuration properties.
-
ClassDescription
-
FieldDescriptionupdateplan calculation should not be usedSince 3.10.3, see
ITestManagementService.getLightweightTestRun(String, String)
.For backward compatibility only, useIArguments.ATTR_FIELD_NAME
instead in the configuration.For backward compatibility only, useIArguments.ATTR_FIELD_NAME
instead in the configuration.environment properties are the same as normal propertiesThe 2010 Live Documents are deprecated.The 2010 Live Documents are deprecated.The 2010 Live Documents are deprecated.The 'com.polarion.security.role.manage.assignments' permission was already removed. This constant will be removed in the future.We keep this event for compatibility with old notification configs, but the new name isbuild-finished
and this old name will eventually be removed.
-
MethodDescriptionSince 3.20.1 use
ILdapSynchronization.isEnabled()
.Since 3.20.1 useILdapUsersSynchronization.synchronizeUsers()
.Since 3.20.1 useILdapUsersSynchronization.updateUser(IUser)
.Since 3.20.1 useIProjectService.getLdapUsersSynchronization()
.Since 3.21.1 please useIProjectService.login()
andILogin.IUsingAuthenticator.with(com.polarion.platform.security.login.IPassword)
Since 3.21.1 please useIProjectService.login()
andILogin.IUsingAuthenticator.with(com.polarion.platform.security.login.IToken)
useIExporterDescriptor.getExportTypes()
.contains(ITreeExportConfiguration.EXPORT_TYPE)implementIImportCommandFactory
insteadSince 3.10.3, now equivalent toITestManagementService.getTestRun(String, String)
. The system propertyITestManagementService.DO_NOT_USE_LIGHTWEIGHT_TESTRUN
no longer has an effect.since 3.8.1 with no direct replacement.UseICommentBase.can()
andICommentPermissions.resolve()
UseICommentBase.can()
andICommentPermissions.resolve()
Returns alwaystrue
!As of 3.19.2 useIBaseline.getDescriptionText()
instead.This method is usable only when this diff was created by deprecated methodsIModule.compareCustomFields(String, String)
andIModule.compareCustomFieldsWith(IModule, String, String)
.use theIModule.createWorkItem(String)
UseITestRun.getAllRecordsForTestCase(IWorkItem)
instead.UseITestRun.getRecordsForTestCase(IWorkItem)
instead.UseITestRun.removeRecordsForTestCase(IWorkItem)
instead.The previous status is not used internally anymore and should not be used.use e.g.WorkItemFields.description()
. It is not rendered the same way. Use other functionality from the Rendering API to render as required.use e.g.WorkItemFields.description()
. It is not rendered the same way. Use other functionality from the Rendering API to render as required.whole interface is now deprecated. SeeIWorkflowCondition.passesConditionWithFailureMessage(ICallContext, IArguments)
Deprecated since 3.21.2. This method is kept for backward compatibility. New extensions should implementIFormExtension.render(IFormExtensionContext)
useIFolderManager
instead to get all spaces and their info.since 3.8.1 with no direct replacement.without replacementin 3.17.0 without replacementUse" " +
.Localization.getString(String, String...)
Use" " +
.Localization.getString(String)
since 3.24.4. Please consider to use transaction service methods to manage transaction.since 3.24.4. Please consider to use transaction service methods to manage transaction.useIPrototype.getAnnotationKeys()
with the same behaviorSince 3.24.10 and discouraged from the usage.thelocationsCacheRef
parameter is no longer used. Please consider usingIRepositoryConfigService.executeInDataHandlerResultsCachingContext(RunnableWEx)
.Since 3.21.1 please useISecurityService.login()
andILogin.IWithCredentials.verifyCredentials()
Since 3.21.1 please useISecurityService.login()
andILogin.IUsingAuthenticator.with(com.polarion.platform.security.login.IPassword)
Since 3.21.1 please useISecurityService.login()
andILogin.IUsingAuthenticator.with(com.polarion.platform.security.login.IToken)
Use the method without contextId instead - the contectId parameter is redundantuseICustomFieldsProvider.getListCustomField(String, String, IContextId, Object)
Similar toICustomFieldsProvider.getCustomField(String, String, IContextId)
, but ensures that the resulting feature has theIListType
, otherwise an exception is thrown. If no such custom feature is defined, then a fake list ofString
feature is returned.useICustomFieldsProvider.isCustomFieldDefined(String, String, IContextId, Object)
Returns true, if a feature with such a name is, even conditionally, defined for the given prototype in the given context.
-
ConstructorDescriptionThe constructor is deprecated in favor of more flexible
com.polarion.platform.persistence.spi.TypedEnumeration#TypedEnumeration(java.util.function.UnaryOperator, java.lang.String, java.lang.String, com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, com.polarion.subterra.base.data.identification.IContextId)
The constructor is deprecated in favor of more flexiblecom.polarion.platform.persistence.spi.TypedEnumerationFactory#TypedEnumerationFactory(com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, java.lang.String, java.util.function.UnaryOperator, java.lang.String)
ITestManagementService.getConfiguredDefectToTestCaseLinkRole(String, String)
.