Table of Contents

Search

  1. Preface
  2. API Reference

Static Package Functions

Static Package Functions

  • global static Id start (Database.BatchableContext BC)
    Gets the queue ID from the CC360 Batch Queue using the batch ID of the apex job.
  • global static void updateExecutionProgress (Id batchQueueId, Integer totalRecords, Integer itemProcessed)
    Updates the batch status with the total items available in a submitted apex job and the number of items processed by the job.
  • global static void finish (Id batchQueueId, BATCH_STATUS batchStatus)
    Triggers the next job in the queue When one submitted apex job is completed successfully.
  • global static Id finish (Id batchQueueId)
    Overloaded Finish method to be used when you want to loop to next batch job.
  • global static void setQuickParameters (Id batchQueueId, String phase, List< String > quickParameters)
    Sets the quick parameters for an apex job to be submitted to the CC360 Batch Queue.
  • global static List< String > getQuickParameters (Id batchQueueId)
    Gets the quick parameters for the apex batch job submitted to the CC360 Batch Queue.
  • global static void setExtendedParameters (Id batchQueueId, String parameterName, List< String > parameterValues)
    Updates the values of the extended parameter for the apex job submitted to the CC360 Batch Queue.
  • global static void setExtendedParameters (Id batchQueueId, String parameterName, List< String > parameterValues, Boolean retainOld)
    Updates the values of the extended parameter for the apex job submitted to the CC360 Batch Queue.
  • global static List< String > getExtendedParameters (Id batchQueueId, String parameterName)
    Gets the list of values of the extended parameter for the apex job submitted to the CC360 Batch Queue.
  • global static Id registerJobLoop (Id batchQueueId)
    Registers a batch job loop.
  • global static void submitJob (Id batchQueueId)
    Submits the specified to a batch job loop.
  • global static Id registerJobLoop (Id batchQueueId, List< String > quickParameters)
    Registers a batch job loop along with quick parameters.
  • global static Id registerJobLoop (Id batchQueueId, List< String > quickParameters, Boolean retainExtendedParams, Boolean skipLoopLogic)
    Registers a batch job loop along with quick parameters.
  • global static void UpdateStatus (Id batchQueueId, String phase, Integer itemProcessed)
    Updates the batch status with the phase of the submitted apex job and the total items processed by the job.
  • global static void UpdateStatus (Id batchQueueId, String phase, Integer itemProcessed, Boolean isItemProcessedDelta)
    Updates the batch status with the phase of the submitted apex job and the total items processed by the job.
  • global static void UpdateStatus (Id batchQueueId, String phase, BATCH_STATUS batchStatus, Integer totalRecords, Integer itemProcessed)
    Updates the batch status with:
  • global static void UpdateStatus (Id batchQueueId, String phase, BATCH_STATUS batchStatus, Integer totalRecords, Integer itemProcessed, Boolean isItemProcessedDelta)
    Updates the batch status with:
  • global static String getStatus (Id batchQueueId)
    Gets the status of the submitted apex batch job from the CC360 Batch Queue.
  • global static void refreshQueueManager ()
    Refreshes the CC360 Batch Queue.

0 COMMENTS

We’d like to hear from you!