Foundations Object Model

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<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 ihcc_QueueService.RerunResult rerunEventQueueMessages(Set<Id> eventIds)

skipEventQueueMessages

global static 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)

ihcc_QueueService.RerunResult

global class RerunResult

ihcc_QueueService.SkipResult

global class SkipResult

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