Foundations Apex API Developer Reference

fferpcore.TransformSourceData

global inherited sharing abstract class TransformSourceData

Data to be processed by the TransformService.

As fferpcore.TransformSourceData is an abstract class, custom implementations can be created.
The following implementations are provided by Foundations:

  • RecordIdTransformSourceData

Methods

getMessages

global abstract List<fferpcore.DeliveredMessage> getMessages(fferpcore.TransformSourceData.Request request)

Build the list of messages containing the source data to be processed.

If the data is already grouped together, such as in a blob, the getBody method can be overridden.
If the data is separated or dynamic, the getVirtualObjectRecord method can be overridden instead.

Input Parameters

Name Type Description
request fferpcore.TransformSourceData.Request Data to support the generation of the messages.

Return Value

The list of delivered messages containing the source data.

getDataSourceRow

global virtual fferpcore.DataSource.Row getDataSourceRow(fferpcore.DeliveredMessage message)

If the source data is based on fferpcore.DataSource.Row rather than the standard VirtualDataObject.Record, this specifies how the fferpcore.DataSource.Row can be retrieved from a source data message.
Null by default to indicate that rows are not used by the source data.

Input Parameters

Name Type Description
message fferpcore.DeliveredMessage The message to extract a DataSource.Row from.

Return Value

The DataSource.Row corresponding to the message.

fferpcore.TransformSourceData.Request

global inherited sharing class Request

Data that can be used to support the generation of messages.

Methods

Request

global Request(fferpcore.MessageDescription messageDescription, fferpcore.TransformErrorList errorList)

Create a TransformSourceData.Request.

Input Parameters

Name Type Description
messageDescription fferpcore.MessageDescription The message description containing the nodes that detail the source fields required by the mappings.
errorList fferpcore.TransformErrorList A collection of errors to allow error reporting throughout the transform operation.

getMessageDescription

global fferpcore.MessageDescription getMessageDescription()

Return Value

The message description containing the nodes that detail the source fields required by the mappings.

getErrors

global fferpcore.TransformErrorList getErrors()

Return Value

A collection of errors to allow error reporting throughout the transform operation.

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.