Foundations Object Model

DeclarativeSubscription2

global with sharing class DeclarativeSubscription2

A helper class to provide common functionality.

DeclarativeSubscription2.Handler

global with sharing class Handler implements MessageHandler

A generic MessageHandler that uses a Subscriptions describer class to construct the DataTargetRoot and LinkingMessageToTargetObjectMarshaller.
This is the default handler class used by declarative subscriptions.

This class implements the following interfaces:

Methods

onMessages

global void onMessages(HandleMessagesRequest request)

Runs logic on the provided subscriptions describer class from the request to construct the DataTargetRoot and LinkingMessageToTargetObjectMarshaller. This will handle differently depending on your implementation of these methods on your SubscriptionDescriber2

Input Parameters

Name Type Description
request HandleMessagesRequest Contains information about the subscription and all messages sent to this handler.
© Copyright 2009–2022 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.