Foundations Apex API Developer Reference

fferpcore.SubscriptionDescriber2

global interface SubscriptionDescriber2

Class to generate a declarative description of a subscription.

Methods

init

void init(fferpcore__MessagingSubscription__c subscription)

Initialise the describer with data from the record.

Input Parameters

Name Type Description
subscription fferpcore__MessagingSubscription__c The subscription SObject.

getDescription

SubscriptionDescription2 getDescription()

Return Value

The context and mappings of the subscription. Necessary to display the subscription in the user interface.

getMarshaller

LinkingMessageToTargetObjectMarshaller getMarshaller()

Return Value

The marshaller responsible for applying the messages to the target objects in the DataTargetRoot.

createDataTargetRoot

DataTargetRoot createDataTargetRoot()

Return Value

The DataTargetRoot containing the target objects the subscription will manipulate.

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