ERP Core

fferpcore.SubscriptionEngine

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

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)

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