ffrr.RecordMappingServiceglobal with sharing class RecordMappingService Maps values from source record to a target record. The class is with sharing to enforce the sharing rules. Methods
transferValuesglobal static ffrr.RecordMappingService.TransferResult transferValues(List<ffrr.RecordMappingService.TransferContext> contexts) Transfers field values from a source record to one or more target records. Input Parameters
Return ValueAn instance of TransferResult containing the data resulting from the update operation. Sample Code
transferValuesglobal static ffrr.RecordMappingService.TransferResult transferValues(List<ffrr.RecordMappingService.TransferContext> contexts, Boolean withSecurity) Transfers field values from a source record to one or more target records. Input Parameters
Return ValueAn instance of TransferResult containing the data resulting from the update operation. Sample Code
ffrr.RecordMappingService.FieldMappingglobal with sharing class FieldMapping Specifies the mapping between the source field where the values will be transferred from to the target fields where the values will be transferred to. Properties
MethodsFieldMappingglobal FieldMapping() A convertor that manipulates the value in the source field before setting it in the target fields. ffrr.RecordMappingService.TransferContextglobal with sharing class TransferContext Contains information required to map a source record's field values to one or more target records. Properties
MethodsTransferContextglobal TransferContext() ffrr.RecordMappingService.TransferResultglobal with sharing class TransferResult Container for data resulting from an update operation. Properties
MethodsTransferResultglobal TransferResult() |