Foundations Apex API Developer Reference

fferpcore.ihcc_QueueService

global with sharing class ihcc_QueueService

Service class to encapsulate enqueueing items for processing and starting a process to handle them if required.

Methods

enqueueItems

global static void enqueueItems(Map<Id, List<fferpcore__IHCCIntegration_Queue_Event__c>> events)

Enqueues one or more items. If there is no process will start one to handle the enqueued items (using/respecting locks)

rerunEventQueueMessages

global static fferpcore.ihcc_QueueService.RerunResult rerunEventQueueMessages(Set<Id> eventIds)

skipEventQueueMessages

global static fferpcore.ihcc_QueueService.SkipResult skipEventQueueMessages(Set<Id> eventIds)

unpause

global static void unpause(Id integrationId)

Called to unpause an integration. Will attempt to start a process for any queued items for the integration (using/respecting locks)

fferpcore.ihcc_QueueService.RerunResult

global class RerunResult

fferpcore.ihcc_QueueService.SkipResult

global class SkipResult

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