Foundations Apex API Developer Reference

fferpcore.ChildCorrelationStrategy

global interface ChildCorrelationStrategy

The way in which existing child records are matched with those in the message, and subsequently updated.

Methods

getCorrelationKey

String getCorrelationKey()

Return Value

The location of the correlation data in the target.

getCorrelationMessageKey

List<String> getCorrelationMessageKey()

Return Value

The location of the correlation data in the message.

getListIntent

Intent getListIntent()

Return Value

What the strategy needs to do to work.

init

void init(String correlationKey, List<String> messageKey)

Initialise the correlation strategy with the specified data.

Input Parameters

Name Type Description
correlationKey String The location of the correlation data in the target.
messageKey List<String> The location of the correlation data in the message.

process

void process(List<fferpcore.ChildCorrelationStrategyRequest> requests, fferpcore.TargetObjectList childTargets)

Input Parameters

Name Type Description
requests List<fferpcore.ChildCorrelationStrategyRequest> The mapping requests to get data from and set the target objects on.
childTargets fferpcore.TargetObjectList The existing targets to process.
© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.