![]() ERP Core API Developer Reference
|
fferpcore.ChildMappingglobal 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.ChildMapping.ChildCorrelationStrategy correlationStrategy, List<String> messageKey) Constructs a ChildMapping. Input Parameters
ChildMappingglobal ChildMapping(SObjectType childType, SObjectField parentField, fferpcore.ChildMapping.ChildCorrelationStrategy correlationStrategy, String messageKey) Constructs a ChildMapping. Input Parameters
withMappingglobal fferpcore.ChildMapping withMapping(Mapping mapping) Adds a child mapping. Input Parameters
Return ValueThe instance of the ChildMapping to enable fluent invocations. withMappingsglobal fferpcore.ChildMapping withMappings(List<Mapping> mappings) Add a list of child mappings. Input Parameters
Return ValueThe instance of the ChildMapping to enable fluent invocations. 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
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 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 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.ChildMapping.ChildCorrelationStrategy MethodsAppendChildCorrelationStrategyglobal AppendChildCorrelationStrategy() Constructs an AppendChildCorrelationStrategy. fferpcore.ChildMapping.ReplaceChildCorrelationStrategyglobal 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.ChildMapping.ChildCorrelationStrategy MethodsReplaceChildCorrelationStrategyglobal ReplaceChildCorrelationStrategy() Constructs a ReplaceChildCorrelationStrategy. fferpcore.ChildMapping.UpdateChildCorrelationStrategyglobal 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.ChildMapping.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 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.ChildMapping.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
|