Interface ScheduledJobContextService

All Known Implementing Classes:
DefaultScheduledJobContextService

public interface ScheduledJobContextService
This service is used to build the ContextInfo for the Scheduled Job.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Details

    • buildReadContextInfo

      default ContextInfo buildReadContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
      Creates the ContextInfo for the specified scheduled job with OperationType.READ change operation.
      Parameters:
      scheduledJobRef - the scheduled job to build the ContextInfo
      Returns:
      the ContextInfo for the specified scheduled job with OperationType.READ change operation
    • buildCreateContextInfo

      default ContextInfo buildCreateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
      Creates the ContextInfo for the specified scheduled job with OperationType.CREATE change operation.
      Parameters:
      scheduledJobRef - the scheduled job to build the ContextInfo
      Returns:
      the ContextInfo for the specified scheduled job with OperationType.CREATE change operation
    • buildUpdateContextInfo

      default ContextInfo buildUpdateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
      Creates the ContextInfo for the specified scheduled job with OperationType.UPDATE change operation.
      Parameters:
      scheduledJobRef - the scheduled job to build the ContextInfo
      Returns:
      the ContextInfo for the specified scheduled job with OperationType.UPDATE change operation
    • buildDeleteContextInfo

      default ContextInfo buildDeleteContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
      Creates the ContextInfo for the specified scheduled job with OperationType.DELETE change operation.
      Parameters:
      scheduledJobRef - the scheduled job to build the ContextInfo
      Returns:
      the ContextInfo for the specified scheduled job with OperationType.DELETE change operation
    • buildContextInfo

      ContextInfo buildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType)
      Creates the ContextInfo for the specified scheduled job with the specified change operation.
      Parameters:
      scheduledJobRef - the scheduled job to build the ContextInfo
      operationType - the operation type for the ContextInfo
      Returns:
      the ContextInfo for the specified scheduled job with the specified change operation