Foundations Object Model

ihcc_PlatformEventService

global with sharing class ihcc_PlatformEventService

Service class to encapsulate enqueuing items to be processed to the Platform Event queue.

Methods

enqueueMessages

global static List<Database.SaveResult> enqueueMessages(Map<Id, List<PlatformEventMessage>> messages)

Wraps the messages and enqueues to the event bus. Will be received by the trigger and then call the business logic for each integration ID to handle the message.

ihcc_PlatformEventService.PlatformEventMessage

global with sharing class PlatformEventMessage

Data class for messages to send

Methods

PlatformEventMessage

global PlatformEventMessage(Long timestamp, String message, ihcc_IntegrationEventDirection direction)

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