close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

New additional workflow parameters Object for DerivedAndMasterVersionTranslationAction

To support custom additional workflow parameters in DerivedAndMasterVersionTranslationAction and derived classes, the DerivedAndMasterVersionTranslationAction has been extended with the new formal type parameter <P>, which specifies the type of additional workflow parameters. All custom subclasses need to be adapted to set the type parameter in their class declaration. Existing subclasses without additional workflow parameters can use Void as actual type parameter.

Derived classes can override DerivedAndMasterVersionTranslationAction#extractParameters and store custom parameters into DerivedAndMasterVersionTranslationAction.Parameters#setAdditionalParameters .

The additionalParameters Object is required for dynamic workflow parameters that are passed to a translation or synchronization workflow and that are not defined explicitly.

For the synchronization workflow, a new workflow parameter mergeStrategyBeanName has been introduced with CMCC 2004.1, which was not always extracted correctly for concurrently running workflows. The workflow parameter is now stored in com.coremedia.translate.workflow.AutoMergeTranslationAction.AdditionalParameters#AdditionalParameters .

This functionality requires a public API change which affects the following classes and methods:

DerivedAndMasterVersionTranslationAction.java : forMasterVersionAndDerived, extractParameters, doExecuteTranslationAsPerformer

AutoMergeTranslationAction.java : forMasterVersionAndDerived, extractParameters, getMergeStrategy, needsMerge, needsUpdate

AutoMergeSyncAction.java : needsMerge, needsUpdate

CompleteTranslationAction.java : forMasterVersionAndDerived

(CMS-17556)

Search Results

Table Of Contents