fferpcore.TransformServiceglobal with sharing class TransformService Transform source data using mappings to create or update target records. Methodstransformglobal static fferpcore.TransformService.TransformResult transform(fferpcore.TransformService.TransformRequest request) Perform the transform operation as specified in the transform request. Input Parameters
Return ValueA TransformResult instance containing summary information after running the operation. fferpcore.TransformService.TransformRequestglobal abstract class TransformRequest The data required to perform a transform operation.
Methods
getSourceContextglobal abstract fferpcore.Context getSourceContext() The source context describes the type of source data being processed, including:
The following implementations are provided by Foundations:
Return ValueThe Context instance. getDataTargetglobal abstract fferpcore.DataTargetRoot getDataTarget() The data target describes the target records being created, including:
The following implementations are provided by Foundations:
Return ValueThe DataTargetRoot instance. getSourceDataglobal abstract fferpcore.TransformSourceData getSourceData() The source data provides the raw data to be processed.
Return ValueThe TransformSourceData instance. getMappingsglobal virtual List<fferpcore.TransformMapping> getMappings() The mappings that specify how to populate the target record from the source record. Return ValueThe list of TransformMapping instances. fferpcore.TransformService.TransformResultglobal class TransformResult Information following a transform operation. Methods
addErrorglobal void addError(fferpcore.TransformError error) Add an error to the TransformResult. Input Parameters
getErrorsglobal List<fferpcore.TransformError> getErrors() Return ValueA list of all the TransformErrors in the TransformResult. |