Class DefaultScheduledJobContextService

java.lang.Object
com.broadleafcommerce.data.tracking.core.service.scheduledjob.DefaultScheduledJobContextService
All Implemented Interfaces:
ScheduledJobContextService

public class DefaultScheduledJobContextService extends Object implements ScheduledJobContextService
The default implementation of ScheduledJobContextService.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • DefaultScheduledJobContextService

      public DefaultScheduledJobContextService(com.broadleafcommerce.common.extension.TypeFactory typeFactory)
  • Method Details

    • getContextRequestHydrators

      protected List<ContextRequestHydrator> getContextRequestHydrators()
    • buildContextInfo

      public ContextInfo buildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType)
      Creates the ContextInfo for the specified scheduled job with the specified change operation and ScheduledJobRef.getTenantId().
      Specified by:
      buildContextInfo in interface ScheduledJobContextService
      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
    • createContextInfo

      protected ContextInfo createContextInfo(OperationType operationType)
    • createContextRequest

      protected ContextRequest createContextRequest()
    • hydrate

      protected ContextRequest hydrate(ContextRequest contextRequest)
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
    • setContextRequestHydratorProvider

      @Autowired public void setContextRequestHydratorProvider(org.springframework.beans.factory.ObjectProvider<ContextRequestHydrator> contextRequestHydratorProvider)
    • setReference

      @Autowired public void setReference(@Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference)
    • getReference

      @Nullable protected com.broadleafcommerce.common.extension.data.DataRouteReference getReference()