close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2301

Table Of Contents
FilterDerivedContentsAction

This action is supposed to follow up GetDerivedContentsAction. It filters the derived contents in two ways.

  • It checks for each content in the given derivedContents whether the content's masterVersion is more recent than the corresponding version in the given masterContentObjects. In this case, the content is excluded from the derivedContents. If a skippedContentsVariable is given, all of these excluded contents are stored under this variable of the corresponding process.

  • For all remaining contents from derivedContents, it checks whether the content has its ignoreUpdates property set (see ContentObjectSiteAspect#getIgnoreUpdates()). If so, this content is also excluded from the derivedContents (but not stored under skippedContentsVariable).

masterContentObjects
Required yes
Description The name of the variable that contains the list of content objects in the master site
derivedContentsVariable
Required yes
Description The name of the variable into which a list of all derived contents is stored
skippedContentsVariable
Required no
Description The name of the variable into which the list of skipped contents (because of outdated master content object) is stored.

Table 5.32. Attributes of FilterDerivedContentsAction


<Variable name="siteId" type="String"/>
<AggregationVariable name="masterContentObjects" type="Resource"/>
<AggregationVariable name="derivedContents" type="Resource"/>
<AggregationVariable name="skippedContents" type="Resource"/>
...

<AutomatedTask name="StartSyncFromParentToTarget" successor="CheckIfDerivedContentsEmpty">
  <Action class="com.coremedia.translate.workflow.GetDerivedContentsAction"
          masterContentObjectsVariable="masterContentObjects"
          derivedContentsVariable="derivedContents"
          createdContentsVariable="createdContents"
          targetSiteIdVariable="siteId"/>
  <Action class="com.coremedia.translate.workflow.FilterDerivedContentsAction"
          masterContentObjectsVariable="masterContentObjects"
          derivedContentsVariable="derivedContents"
          skippedContentsVariable="skippedContents"/>
</AutomatedTask>

Example 5.41. Usage of FilterDerivedContentsAction


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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