Foundations Apex API Developer Reference

fferpcore.TransformMapping

global interface TransformMapping

A mapping used for transforming data.
Used by the FDN Mappings component to define managed mappings.

The following implementations exist for common use cases:

  • FieldTransformMapping
  • ChildTransformMapping
  • StaticTransformMapping

Methods

getNodes

List<MessageDescription.Node> getNodes(fferpcore.Context sourceContext)

Input Parameters

Name Type Description
sourceContext fferpcore.Context The context that identifies the source object available to the mapping.

Return Value

The message nodes that dictate how the mapping obtains the data from the source object.

getSubscriptionMapping

SubscriptionMapping getSubscriptionMapping(List<String> messageKey)

Input Parameters

Name Type Description
messageKey List<String> The message keys of the message nodes.

Return Value

The subscription mapping that dicates how the mapping updates the target object.

© Copyright 2009–2021 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.