Class CampaignServiceAutoConfiguration

java.lang.Object
com.broadleafcommerce.promotion.offer.service.autoconfigure.CampaignServiceAutoConfiguration

@Configuration @EnableConfigurationProperties(CampaignCodeGenerationProperties.class) public class CampaignServiceAutoConfiguration extends Object
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • CampaignServiceAutoConfiguration

      public CampaignServiceAutoConfiguration()
  • Method Details

    • offerCodeService

      @Bean @ConditionalOnMissingBean public OfferCodeService<OfferCode> offerCodeService(OfferCodeRepository<com.broadleafcommerce.data.tracking.core.Trackable> offerCodeRepository, CampaignRepository<com.broadleafcommerce.data.tracking.core.Trackable> campaignRepository, OfferRepository<com.broadleafcommerce.data.tracking.core.Trackable> offerRepository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, com.broadleafcommerce.common.extension.TypeFactory factory)
    • campaignService

      @Bean @ConditionalOnMissingBean public CampaignService<Campaign> campaignService(CampaignRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, @Nullable com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser)
    • codeGeneratorService

      @Bean @ConditionalOnMissingBean public CodeGeneratorService<CodeGenerator> codeGeneratorService(CodeGeneratorRepository<com.broadleafcommerce.data.tracking.core.Trackable> codeGeneratorRepository, CampaignRepository<com.broadleafcommerce.data.tracking.core.Trackable> campaignRepository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager entityValidatorManager)
    • codeGenerationService

      @Bean @ConditionalOnMissingBean public CodeGenerationService codeGenerationService(com.broadleafcommerce.common.extension.TypeFactory factory, CodeGeneratorService<CodeGenerator> codeGeneratorService, OfferCodeService<OfferCode> codeService, CampaignService<Campaign> campaignService)
    • codeFormatAvailableCharHelper

      @Bean @ConditionalOnMissingBean public CodeFormatAvailableCharHelper codeFormatAvailableCharHelper()
    • codeGeneratorPreValidator

      @Bean @ConditionalOnMissingBean public CodeGeneratorPreValidator codeGeneratorPreValidator(CampaignService<Campaign> campaignService, CodeFormatAvailableCharHelper codeFormatAvailableCharHelper)