fferpcore.RecordIdDeclarativeTransformRequestglobal inherited sharing class RecordIdDeclarativeTransformRequest extends DeclarativeTransformRequest 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.DeclarativeTransformRequest Methods
RecordIdDeclarativeTransformRequestglobal RecordIdDeclarativeTransformRequest(Set<Id> recordIds, SObjectType targetObject, String process) Create a RecordIdDeclarativeTransformRequest. Input Parameters
withTargetCorrelationFieldglobal fferpcore.RecordIdDeclarativeTransformRequest 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. withSourceCorrelationFieldglobal fferpcore.RecordIdDeclarativeTransformRequest 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. withCommitglobal fferpcore.RecordIdDeclarativeTransformRequest withCommit(Boolean commitRecords) Specify whether the target records should be committed to the database. Input Parameters
Return ValueThe RecordIdDeclarativeTransformRequest instance to allow further method calls. |