Uses of Class
com.broadleafcommerce.promotion.offer.domain.Campaign
Package
Description
-
Uses of Campaign in com.broadleafcommerce.promotion.offer.dataimport
Modifier and TypeMethodDescriptionprotected CampaignService<Campaign>
OfferCodeImportBatchHandler.getCampaignService()
OfferCodeImportBatchHandler.getRelatedCampaignsForBatch
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, String parentEntityId) Queries for the related campaigns of the batch records by id or external id.Modifier and TypeMethodDescriptionprotected String
OfferCodeImportBatchHandler.findRelatedCampaign
(List<Campaign> campaigns, com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, String batchType, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions) protected boolean
OfferCodeImportBatchHandler.isMatchingUniqueCampaignIds
(OfferCode codeToImport, OfferCode existingCode, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, List<Campaign> campaigns) ModifierConstructorDescriptionOfferCodeImportBatchHandler
(OfferCodeConverter offerCodeConverter, OfferCodeService<OfferCode> offerCodeService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, OfferCodeDefaultsInitializer offerCodeDefaultsInitializer, OfferService<Offer> offerService, CampaignService<Campaign> campaignService) -
Uses of Campaign in com.broadleafcommerce.promotion.offer.dataimport.autoconfigure
Modifier and TypeMethodDescriptionOfferServicesImportAutoConfiguration.offerCodeImportBatchHandler
(OfferCodeConverter offerCodeConverter, OfferCodeDefaultsInitializer offerCodeDefaultsInitializer, OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) -
Uses of Campaign in com.broadleafcommerce.promotion.offer.service
Modifier and TypeInterfaceDescriptioninterface
CampaignService<P extends Campaign>
Base service API forCampaign
.class
DefaultCampaignService<P extends Campaign>
Modifier and TypeFieldDescriptionprotected final CampaignService<Campaign>
DefaultCodeGenerationService.campaignService
protected final CampaignService<Campaign>
DefaultOfferAndOfferCodeUsabilityService.campaignService
Modifier and TypeMethodDescriptionprotected CampaignService<Campaign>
DefaultCodeGenerationService.getCampaignService()
protected CampaignService<Campaign>
DefaultCodeGeneratorService.getCampaignService()
protected CampaignService<Campaign>
DefaultOfferCodeService.getCampaignService()
protected CampaignService<Campaign>
DefaultOfferService.getCampaignService()
Modifier and TypeMethodDescriptionprotected boolean
DefaultOfferCodeService.campaignCodeIsValid
(@NonNull Map<String, Campaign> campaignMap, @NonNull OfferCode offerCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo info) void
DefaultCodeGeneratorService.setCampaignService
(CampaignService<Campaign> campaignService) void
DefaultOfferCodeService.setCampaignService
(CampaignService<Campaign> campaignService) void
DefaultOfferService.setCampaignService
(CampaignService<Campaign> campaignService) ModifierConstructorDescriptionDefaultCodeGenerationService
(com.broadleafcommerce.common.extension.TypeFactory campaignFactory, CodeFormatAvailableCharHelper availableCharHelper, CodeGeneratorService<CodeGenerator> service, OfferCodeService<OfferCode> offerCodeService, CampaignService<Campaign> campaignService) DefaultOfferAndOfferCodeUsabilityService
(OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferSummaryService<OfferAuditSummary> offerSummaryService, OfferAuditDetailService<OfferAuditDetail> offerAuditDetailService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Campaign in com.broadleafcommerce.promotion.offer.service.autoconfigure
Modifier and TypeMethodDescriptionCampaignServiceAutoConfiguration.campaignService
(CampaignRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser) Modifier and TypeMethodDescriptionCampaignServiceAutoConfiguration.codeGenerationService
(com.broadleafcommerce.common.extension.TypeFactory factory, CodeGeneratorService<CodeGenerator> codeGeneratorService, OfferCodeService<OfferCode> codeService, CampaignService<Campaign> campaignService) CampaignServiceAutoConfiguration.codeGeneratorPreValidator
(CampaignService<Campaign> campaignService, CodeFormatAvailableCharHelper codeFormatAvailableCharHelper) OfferServiceAutoConfiguration.codeUsabilityService
(OfferCodeService<OfferCode> codeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferSummaryService<OfferAuditSummary> offerSummaryService, OfferAuditDetailService<OfferAuditDetail> offerAuditDetailService, com.broadleafcommerce.common.extension.TypeFactory factory) -
Uses of Campaign in com.broadleafcommerce.promotion.offer.service.validation
Modifier and TypeMethodDescriptionprotected CampaignService<Campaign>
CampaignValidator.getCampaignService()
protected CampaignService<Campaign>
CodeGeneratorPreValidator.getCampaignService()
Modifier and TypeMethodDescriptionprotected boolean
CampaignValidator.isExpiredCampaignDateChange
(Campaign updatedCampaign, Campaign existingCampaign) For an update/replace operation, checks if the campaign currently has an active end date in the past (is expired) and has been updated to a value in the future (not expired).protected void
CampaignValidator.validateActiveEndDate
(Campaign campaign, org.springframework.validation.Errors errors) protected void
CampaignValidator.validateActiveStartDate
(Campaign campaign, org.springframework.validation.Errors errors) protected void
CampaignValidator.validateExpirationDateChange
(Campaign updatedCampaign, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Modifier and TypeMethodDescriptionvoid
CampaignValidator.setCampaignService
(CampaignService<Campaign> campaignService) Lazy injection since this validator is itself a service component.ModifierConstructorDescriptionCodeGeneratorPreValidator
(CampaignService<Campaign> campaignService, CodeFormatAvailableCharHelper availableCharHelper) -
Uses of Campaign in com.broadleafcommerce.promotion.offer.web.endpoint
Modifier and TypeFieldDescriptionprotected final CampaignService<Campaign>
SharedCodeAuditSummaryEndpoint.campaignService
protected final CampaignService<Campaign>
CampaignEndpoint.service
Modifier and TypeMethodDescriptionCampaignEndpoint.createCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Campaign req) protected Campaign
CampaignEndpoint.ensureCampaignExistsAndReturn
(@NonNull String campaignId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CampaignEndpoint.readCampaignById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String campaignId) CampaignEndpoint.replaceCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Campaign req) CampaignEndpoint.updateCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Campaign req) Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Campaign>
CampaignEndpoint.readAllCampaigns
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) Modifier and TypeMethodDescriptionCampaignEndpoint.createCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Campaign req) CampaignEndpoint.replaceCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Campaign req) CampaignEndpoint.updateCampaign
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Campaign req) ModifierConstructorDescriptionCampaignEndpoint
(CampaignService<Campaign> service, OfferCodeService<OfferCode> offerCodeService, CodeGeneratorService<CodeGenerator> generatorService, CodeGenerationService generationService) SharedCodeAuditSummaryEndpoint
(OfferCodeService<OfferCode> offerCodeService, OfferService<Offer> offerService, CampaignService<Campaign> campaignService, SharedCodeSummaryService<SharedCodeAuditSummary> sharedCodeSummaryService, OfferAndOfferCodeUsabilityService offerAndOfferCodeUsabilityService, OfferAndOfferCodeUsageValidator offerandOfferCodeUsageValidator, AuditVerficationProperties auditVerificationProperties)