close

Filter

loading table of contents...

CoreMedia Content Cloud v11 Upgrade Guide / Version 2110

Table Of Contents

6.2.1 Overview of Changed API Elements

This section lists all API changes ordered by package name.

com.coremedia.blueprint.base.links.impl
Name Type Change
Removal   

PropertiesRuleProvider

Class

AbsoluteUrlPrefixRuleProvider

SitesRuleProvider

Class

AbsoluteUrlPrefixRuleProvider

Table 6.1.  Changed elements in com.coremedia.blueprint.base.links.impl package


com.coremedia.blueprint.cae
Name Type Change
Removal   

richtext.filter.PDivUntanglingFilter

Class

EmbeddingFilter

web.i18n.SettingsPageResourceBundleFactory

Class

If you still like it, keep it in your project code. As an alternative, it is recommended moving resource bundles to resourceBundles, and using LinklistPageResourceBundleFactory instead.

sitemap.SitemapHandler #URI_PATTERN

Field

Replaced with UR_PATTERN_SITEMAP

sitemap.SitemapHandler #ACTION_NAME

Field

No replacement

sitemap.SitemapHandler #SITEMAP_PATH

Field

No replacement

Table 6.2.  Changed elements in com.coremedia.blueprint.cae package


com.coremedia.blueprint.themeimporter
Name Type Change
Removal   

ThemeImporterImpl #legacyExternalLinkToDocumentName

Method

If you still like it, keep it in your project code. Otherwise, it is recommended using stringToDocumentName instead.

Table 6.3.  Changed elements in com.coremedia.blueprint.themeimporter package


com.coremedia.cap.common.infos
Name Type Change
Removal   

CapSystemInfo#getInstallationPath

Method

No replacement

Table 6.4.  Changed elements in com.coremedia.cap.common.infos package


com.coremedia.cap.multisite
Name Type Change
Removal   

Site #getManagerGroupName

Method

getManagerGroupNames().stream().findFirst().orElse(""). However, mind that it is better respecting all group names returned by getManagerGroupNames().

ContentObjectSiteAspect #getIgnoreUpdates()

Method

isIgnoreUpdates()

Table 6.5.  Changed elements in com.coremedia.cap.multisite package


com.coremedia.cap.transform
Name Type Change
Removal   

undoc.BlobHelper

Class

No replacement

TransformImageService

#transformWithDimensions(Content content, Blob data, Transformed Blob operationsForTrans formation, String variant Name, String extension, Integer width, Integer height)

Method

#transformWithDimensions(Content, String, String, Integer, Integer)

TransformImageService

#getTransformationOperations(Content, String, Map<String, String>

Method

#getTransformationOperations(Content, String) which also resolves the given transformation with the help of ContentOperationsResolver.

Table 6.6.  Changed elements in com.coremedia.cap.transform package


com.coremedia.cmdline
Name Type Change
Removal   

AbstractUAPIClient

#enableOutVerbose

Method

BaseCommandLineClient#enableVerboseLogging

CommandLineParameters

#addOptionValidated

Method

Use options.addOption(option) instead, where "options" and "option" refer to the first two arguments of addOptionValidated.

BaseCommandLineClient

#addOptionValidated

Method

Use options.addOption(option) instead, where "options" and "option" refer to the first two arguments of addOptionValidated.

management.AbstractVersionSelector

#addOption

Method

If you still use it in your project code, switch to options.addOption(option), where "options" and "option" refer to the arguments of addOption().

Table 6.7.  Changed elements in com.coremedia.cmdline package


com.coremedia.common.util
Name Type Change
Removal   

Consumer

Class

java.util.function.Consumer

Function

Class

java.util.function.Function

Predicate

Class

java.util.function.Predicate

Consumers

Class

No replacement

Functions

Class

No replacement

Deprecation   

Predicates

Class

Table 6.8.  Changed elements in com.coremedia.common.util package


com.coremedia.ldap
Name Type Change
Removal   

UserProvider2

Class

UserProvider

LdapMember

#getOrganizationalUnit

Class

No replacement

LdapUserProviderConfigurationProperties

#SupportMemberOus

Class

UserProvider

Deprecation   

OrganizationalUnit

Interface

Table 6.9.  Changed elements in com.coremedia.ldap package


com.coremedia.objectserver.web
Name Type Change
Removal   

links.UriComponentsHelper

#addQueryParameters

Method

UriComponentsBuilder#queryParams(MultiValueMap)

ContentBlobHandlerBase

#URIVARIABLE_VERSION

Field

The result map of Content BlobHandlerBase#buildBlobLink contains no entry for this key any longer. If you still use it in your project, migrate to ContentBlobHandlerBase# URIVARIABLE_ETAG.

Deprecation   

ContentBlobHandlerBase

Class

No handlers use it any longer. If you still need it in your project code, please contact the CoreMedia support.

Table 6.10.  Changed elements in com.coremedia.objectserver.web package


com.coremedia.translate
Name Type Change
Removal   

item.DefaultContentToTranslateItemTransformer

Constructor

Use the three-argument constructor instead: DefaultContentToTranslateItemTransformer(Function, Collection, boolean). For the same behavior as before, set the last parameter to true.

xliff.exporter.XliffExporter

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

xliff.exporter.XliffExportElement

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

xliff.exporter.XliffExportElementBuilder

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

xliff.exporter.XliffExportElementCollectionBuilder

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

xliff.exporter.CapXliffExportException

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

xliff.CapXliffException

Field

See Section 6.2.7, “Removal of Deprecated Version of XliffExporter”.

Table 6.11.  Changed elements in com.coremedia.translate package


com.coremedia.workflow.plugin
Name Type Change
Addition   

FinalAction

Class

See Section 6.7.2, “Final Workflow Actions” for more details.

Table 6.12.  Changed elements in com.coremedia.cap.transform package


com.coremedia.xml
Name Type Change
Removal   

MarkupUtil

#isEmptyMarkup

Method

Use EmptyRichtext (for CoreMedia Richtext only) or hasText (for markup of arbitrary grammars) instead.

Table 6.13.  Changed elements in com.coremedia.xml package


hox.corem.server.media
Name Type Change
Addition   

MediaStore

#upload

Method

See Section 6.6.2, “MediaStore API” for details.

Table 6.14.  Changed elements in hox.corem.server.media package


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.