Foundations Apex API Developer Reference

fferpcore.SendingHookRequest

global class SendingHookRequest

The data required to enable a fferpcore.SendingHook to deliver messages.

Methods

SendingHookRequest

global SendingHookRequest(fferpcore.MessagingSystemService.Sender sender, fferpcore.MessagingSystemService.MessageTypeSpecifier specifier, List<Id> recordIds, fferpcore.MessagingAction.DeliveryType deliveryType)

Constructs a SendingHookRequest.

Input Parameters

Name Type Description
sender fferpcore.MessagingSystemService.Sender The sender that is to deliver messages.
specifier fferpcore.MessagingSystemService.MessageTypeSpecifier The message type with which to deliver the messages.
recordIds List<Id> The IDs of the associated records.
deliveryType fferpcore.MessagingAction.DeliveryType The type of delivery specified by the Process Builder.

withVirtualDataObjectRequest

global fferpcore.SendingHookRequest withVirtualDataObjectRequest(Boolean isVirtualDataObjectRequest)

Configure whether the request is for a virtual data object.

Input Parameters

Name Type Description
isVirtualDataObjectRequest Boolean True if the request is for a virtual data object.

Return Value

The request instance to allow further method calls.

getSender

global fferpcore.MessagingSystemService.Sender getSender()

Return Value

The sender that is to deliver messages.

getSpecifier

global fferpcore.MessagingSystemService.MessageTypeSpecifier getSpecifier()

Return Value

The message type with which to deliver the messages.

getRecordIds

global List<Id> getRecordIds()

Return Value

The IDs of the associated records.

getDeliveryType

global fferpcore.MessagingAction.DeliveryType getDeliveryType()

Return Value

The type of delivery specified by the Process Builder.

isVirtualDataObjectRequest

global Boolean isVirtualDataObjectRequest()

Return Value

Whether the request is for a virtual data object.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.