Foundations Apex API Developer Reference

fferpcore.TransformationSubscriptionMapping

global with sharing class TransformationSubscriptionMapping implements SubscriptionMapping

Implementation of a fferpcore.SubscriptionMapping that can take 1 or 2 message keys to transform using the specified DataTransformationTable. The result from the transformation is then applied to the target field on the target object.

This class implements the following interfaces:

Methods

TransformationSubscriptionMapping

global TransformationSubscriptionMapping(String targetKey, List<List<String>> messageKeys, Id transformTableId)

Construct a TransformationSubscriptionMapping.

Input Parameters

Name Type Description
targetKey String Field on the TargetObject to populate/
messageKeys List<List<String>> Location of the data in the message to transform.
transformTableId Id ID of the DataTransformationTable__c containing the relevant transformations.

prepare

global void prepare(fferpcore.DataTarget dt)

performImmediateActions

global void performImmediateActions(fferpcore.ApplyMappingRequest2 request)

performBulkActions

global void performBulkActions()

disableOutputTo

global void disableOutputTo(Set<String> output)

isDisabled

global Boolean isDisabled()

getTargetFields

global Set<String> getTargetFields()

getMessageKeys

global List<List<String>> getMessageKeys()

getTransformTableId

global String getTransformTableId()

isDeclarative

global Boolean isDeclarative()

setDeclarative

global void setDeclarative(Boolean value)

getChildren

global List<fferpcore.SubscriptionMapping> getChildren()

canHaveChildren

global Boolean canHaveChildren()

© Copyright 2009–2020 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.