ERP Apex API Developer Reference

fferpcore.ChildSubscriptionMapping

global with sharing class ChildSubscriptionMapping implements SubscriptionMapping, CustomizableWithMappings

Implementation of fferpcore.SubscriptionMapping that creates and updates child targets based on a list node in the message.

This class implements the following interfaces:

Methods

ChildSubscriptionMapping

global ChildSubscriptionMapping(String childKey, List<String> messageKey, fferpcore.ChildCorrelationStrategy childCorrelationStrategy)

Constructs a ChildSubscriptionMapping.

Input Parameters

Name Type Description
childKey String The key of the children in the TargetObject.
messageKey List<String> The location of the list node in the message.
childCorrelationStrategy fferpcore.ChildCorrelationStrategy The strategy used to determine how existing child targets should be dealt with.

ChildSubscriptionMapping

global ChildSubscriptionMapping(String childKey, List<String> messageKey)

Constructs a ChildSubscriptionMapping.

Input Parameters

Name Type Description
childKey String The key of the children in the TargetObject.
messageKey List<String> The location of the list node in the message.

addMappings

global fferpcore.AddMappingsResult addMappings(List<fferpcore.SubscriptionMapping> mappings)

getMappings

global List<fferpcore.SubscriptionMapping> getMappings()

prepare

global void prepare(fferpcore.DataTarget dataTarget)

performImmediateActions

global void performImmediateActions(fferpcore.ApplyMappingRequest2 request)

performBulkActions

global void performBulkActions()

getTargetFields

global Set<String> getTargetFields()

getMessageKeys

global List<List<String>> getMessageKeys()

getTransformTableId

global String getTransformTableId()

isDeclarative

global Boolean isDeclarative()

setDeclarative

global void setDeclarative(Boolean value)

disableOutputTo

global void disableOutputTo(Set<String> output)

isDisabled

global Boolean isDisabled()

getChildren

global List<fferpcore.SubscriptionMapping> getChildren()

canHaveChildren

global Boolean canHaveChildren()

© Copyright 2009–2018 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.