Foundations Apex API Developer Reference

fferpcore.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<fferpcore.ihcc_PlatformEventService.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.

fferpcore.ihcc_PlatformEventService.PlatformEventMessage

global with sharing class PlatformEventMessage

Data class for messages to send

Methods

PlatformEventMessage

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

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.