fferpcore.ChildMappingglobal with sharing class ChildMapping extends SubscriptionDescription.Mapping Implementation of Mapping that creates and updates child records based on a list node in the message. This class extends fferpcore.SubscriptionDescription.Mapping Methods
ChildMappingglobal ChildMapping(SObjectType childType, SObjectField parentField, fferpcore.ChildCorrelationStrategy correlationStrategy, List<String> messageKey) Constructs a ChildMapping. Input Parameters
ChildMappingglobal ChildMapping(SObjectType childType, SObjectField parentField, fferpcore.ChildCorrelationStrategy correlationStrategy, String messageKey) Constructs a ChildMapping. Input Parameters
getMappingsglobal List<Mapping> getMappings() Return ValueThe child mappings with the default target child type. getMappingsglobal List<Mapping> getMappings(String targetChildType) Input Parameters
Return ValueThe child mappings with the specified target child type. withMappingglobal fferpcore.ChildMapping withMapping(Mapping mapping) Add a single child mapping with the default target child type. Input Parameters
Return ValueThe child mapping. withMappingsglobal fferpcore.ChildMapping withMappings(List<Mapping> mappings) Add multiple child mappings with the default target child type. Input Parameters
Return ValueThe child mapping. withMappingglobal fferpcore.ChildMapping withMapping(String targetChildType, Mapping mapping) Add a single child mapping for a given target child type. Input Parameters
Return ValueThe child mapping. withMappingsglobal fferpcore.ChildMapping withMappings(String targetChildType, List<Mapping> mappings) Add multiple child mappings for a given target child type. Input Parameters
Return ValueThe child mapping. getAdditionalSelectionsglobal override Set<String> getAdditionalSelections() Implementation of SubscriptionDescription.Mapping.getAdditionalSelections(). This method is invoked by the fferpcore.SubscriptionDescription and should not be called directly. Return ValueAny fields that will be updated and therefore need to be queried. performImmediateActionsglobal override void performImmediateActions(ApplyMappingRequest request) Implementation of SubscriptionDescription.Mapping.performImmediateActions(SubscriptionDescription.ApplyMappingRequest request). This method is invoked by the fferpcore.SubscriptionDescription and should not be called directly. Performs mapping functionality only on the request provided. Input Parameters
withFilterglobal fferpcore.ChildMapping withFilter(fferpcore.ChildMappingMatcher filter) Provides a fferpcore.ChildMappingMatcher that is used to filter the child records within a child mapping. Input Parameters
Return ValueThe child mapping. performBulkActionsglobal override void performBulkActions() Carries out bulk actions on the child mappings. getTargetFieldsglobal override Set<String> getTargetFields() Implementation of SubscriptionDescription.Mapping.getTargetFields(). This method is invoked by the SubscriptionDescriptionController and should not be called directly. Return ValueAny fields that will be updated. getMessageKeysglobal override List<List<String>> getMessageKeys() Implementation of SubscriptionDescription.Mapping.getMessageKeys(). This method is invoked by the SubscriptionDescriptionController and should not be called directly. Return ValueAny message keys that will be used. fferpcore.ChildMapping.ChildCorrelationStrategyglobal with sharing abstract class ChildCorrelationStrategy Strategy for use with a fferpcore.ChildMapping to determine the way in which existing child records are dealt with. fferpcore.ChildMapping.AppendChildCorrelationStrategyglobal inherited sharing class AppendChildCorrelationStrategy extends ChildCorrelationStrategy Strategy for use with a fferpcore.ChildMapping that ignores all child records already in the database and inserts all child records from the message. This class extends fferpcore.ChildCorrelationStrategy MethodsAppendChildCorrelationStrategyglobal AppendChildCorrelationStrategy() Constructs an AppendChildCorrelationStrategy. fferpcore.ChildMapping.ReplaceChildCorrelationStrategyglobal with sharing class ReplaceChildCorrelationStrategy extends ChildCorrelationStrategy Strategy for use with a fferpcore.ChildMapping that removes all child records already in the database and inserts all child records from the message. This class extends fferpcore.ChildCorrelationStrategy MethodsReplaceChildCorrelationStrategyglobal ReplaceChildCorrelationStrategy() Constructs a ReplaceChildCorrelationStrategy. fferpcore.ChildMapping.UpdateChildCorrelationStrategyglobal with sharing virtual class UpdateChildCorrelationStrategy extends ChildCorrelationStrategy Strategy for use with a fferpcore.ChildMapping that updates all child records that are both on the database and in the message. This ignores all child records that are only in the database and inserts all child records that are only in the message. This class extends fferpcore.ChildCorrelationStrategy Methods
UpdateChildCorrelationStrategyglobal UpdateChildCorrelationStrategy(SObjectField correlationField, List<String> correlationKey) Constructs an UpdateChildCorrelationStrategy. Input Parameters
UpdateChildCorrelationStrategyglobal UpdateChildCorrelationStrategy(SObjectField correlationField, String correlationKey) Constructs an UpdateChildCorrelationStrategy. Input Parameters
fferpcore.ChildMapping.UpdateTotalChildCorrelationStrategyglobal with sharing class UpdateTotalChildCorrelationStrategy extends UpdateChildCorrelationStrategy Strategy for use with a fferpcore.ChildMapping that updates all child records that are both on the database and in the message. This removes all child records that are only in the database and inserts all child records that are only in the message. This class extends fferpcore.UpdateChildCorrelationStrategy Methods
UpdateTotalChildCorrelationStrategyglobal UpdateTotalChildCorrelationStrategy(SObjectField correlationField, List<String> correlationKey) Constructs an UpdateTotalChildCorrelationStrategy. Input Parameters
UpdateTotalChildCorrelationStrategyglobal UpdateTotalChildCorrelationStrategy(SObjectField correlationField, String correlationKey) Constructs an UpdateTotalChildCorrelationStrategy. Input Parameters
|