Foundations Apex API Developer Reference

fferpcore.SubscriptionEngine

global with sharing class SubscriptionEngine implements SubscriptionDescription2, CustomizableWithMappings, LinkingMessageToTargetObjectMarshaller, LinkingMessageToTargetObjectMarshaller2, LinkingMessageToTargetObjectMarshaller3

Typical implementation of a SubscriptionDescription2, CustomizableWithMappings, and LinkingMessageToTargetObjectMarshaller. Uses multiple fferpcore.SubscriptionMapping to populate target fields with data from the message.

This class implements the following interfaces:

Methods

SubscriptionEngine

global SubscriptionEngine(fferpcore.Context context, List<fferpcore.SubscriptionMapping> mappings)

Construct a SubscriptionEngine.

Input Parameters

Name Type Description
context fferpcore.Context Context of the target object, used by the UI to determine available targets.
mappings List<fferpcore.SubscriptionMapping> List of SubscriptionMapping to populate the target fields.

getContext

global fferpcore.Context getContext()

getMappings

global List<fferpcore.SubscriptionMapping> getMappings()

addMappings

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

prepare

global void prepare(fferpcore.DataTarget dataTarget)

applyMessages

global void applyMessages(List<fferpcore.ApplyMessagesToTargetObjectRequest> requests)

afterCommit

global void afterCommit(Set<Object> successfulKeys)

updateLinkControlBodies

global void updateLinkControlBodies(List<fferpcore.LinkControlBody> linkControlBodies)

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.