Class DefaultScheduledJobContextService

    • Constructor Detail

      • DefaultScheduledJobContextService

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

      • 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
      • createContextRequest

        protected ContextRequest createContextRequest()
      • 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()