fferpcore.RecordIdTransformRequestglobal class RecordIdTransformRequest extends TransformService.TransformRequest An implementation of a fferpcore.TransformService.TransformRequest to support the common use case of generating SObject records from a collection of alternate SObject record IDs. This class extends fferpcore.TransformService.TransformRequest Methods
RecordIdTransformRequestglobal RecordIdTransformRequest(Set<Id> sourceRecordIds, SObjectType targetObject, List<fferpcore.TransformMapping> mappings) Create a RecordIdTransformRequest. Input Parameters
withSourceCorrelationFieldglobal fferpcore.RecordIdTransformRequest withSourceCorrelationField(SObjectField sourceCorrelationField) Specify the field that uniquely identifies the source SObject records in order to identify existing target SObject records. Input Parameters
Return ValueThe RecordIdTransformRequest instance to allow further method calls. withTargetCorrelationFieldglobal fferpcore.RecordIdTransformRequest withTargetCorrelationField(SObjectField targetCorrelationField) Specify the field on the target SObject record in which to store the source correlation value. Required in order to identify existing target SObject records. Input Parameters
Return ValueThe RecordIdTransformRequest instance to allow further method calls. withCommitglobal fferpcore.RecordIdTransformRequest withCommit(Boolean commitRecords) Specify whether the target records should be committed to the database. Input Parameters
Return ValueThe RecordIdTransformRequest instance to allow further method calls. |