Uses of Class
com.broadleafcommerce.promotion.offer.domain.UserTarget
Packages that use UserTarget
Package
Description
-
Uses of UserTarget in com.broadleafcommerce.promotion.offer.domain
Methods in com.broadleafcommerce.promotion.offer.domain that return UserTargetModifier and TypeMethodDescriptionOfferAuditDetail.getUser()
The identifying info of the user that used the offer code.Methods in com.broadleafcommerce.promotion.offer.domain that return types with arguments of type UserTargetModifier and TypeMethodDescriptionOffer.getUserTargets()
Set of users directly targeted by this offer.Methods in com.broadleafcommerce.promotion.offer.domain with parameters of type UserTargetModifier and TypeMethodDescriptionvoid
OfferAuditDetail.setUser
(UserTarget user) The identifying info of the user that used the offer code.Method parameters in com.broadleafcommerce.promotion.offer.domain with type arguments of type UserTargetModifier and TypeMethodDescriptionvoid
Offer.setUserTargets
(Set<UserTarget> userTargets) Set of users directly targeted by this offer. -
Uses of UserTarget in com.broadleafcommerce.promotion.offer.provider.jpa.domain
Methods in com.broadleafcommerce.promotion.offer.provider.jpa.domain that return types with arguments of type UserTargetModifier and TypeMethodDescriptionstatic org.modelmapper.Converter<UserTarget,
JpaUserTarget> JpaOffer.userTargetValuesToUserTargetEntities()
-
Uses of UserTarget in com.broadleafcommerce.promotion.offer.provider.jpa.repository
Method parameters in com.broadleafcommerce.promotion.offer.provider.jpa.repository with type arguments of type UserTargetModifier and TypeMethodDescriptionprotected jakarta.persistence.criteria.Predicate
JpaCustomizedOfferRepository.buildAutomaticOrCodeOrCustomerOffersPredicate
(Iterable<? extends UserTarget> userTargets, Iterable<String> offerIdsToFilterOn, Iterable<String> trackingIds, jakarta.persistence.criteria.CriteriaQuery<D> criteria, jakarta.persistence.criteria.CriteriaBuilder builder, jakarta.persistence.criteria.Root<D> topRoot, Map<String, Object> params) JpaCustomizedOfferRepository.findAllCustomerOffers
(Iterable<? extends UserTarget> userTargets, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) JpaCustomizedOfferRepository.findVoucherOffers
(Iterable<? extends UserTarget> userTargets, Iterable<String> offerIds, Iterable<String> trackingIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
Uses of UserTarget in com.broadleafcommerce.promotion.offer.repository
Method parameters in com.broadleafcommerce.promotion.offer.repository with type arguments of type UserTargetModifier and TypeMethodDescriptionCustomizedOfferRepository.findAllCustomerOffers
(Iterable<? extends UserTarget> userTargets, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read all offers that have no user targets or contain the provided user targets.CustomizedOfferRepository.findVoucherOffers
(Iterable<? extends UserTarget> userTargets, Iterable<String> offerIds, Iterable<String> trackingIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read all voucher offers whereOffer.isAutomaticallyConsidered()
is true,Offer.getCampaignTrackingIds()
intersects with the provided tracking ids,Offer.getOfferCodes()
intersects with the provided codes, or offers that contain the provided user targets. -
Uses of UserTarget in com.broadleafcommerce.promotion.offer.service
Method parameters in com.broadleafcommerce.promotion.offer.service with type arguments of type UserTargetModifier and TypeMethodDescriptionDefaultOfferService.readAllCustomerOffersIn
(Iterable<UserTarget> userTargets, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferService.readAllCustomerOffersIn
(Iterable<UserTarget> userTargets, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads all active offers whereOffer.userTargets
intersects with the providedUserTarget
s, or the offer has noUserTarget
sDefaultOfferService.readVoucherOffersIn
(Iterable<UserTarget> userTargets, Iterable<String> offerIds, Iterable<String> trackingIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferService.readVoucherOffersIn
(Iterable<UserTarget> userTargets, Iterable<String> offerIdsForCodes, Iterable<String> trackingIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads all voucher offers based on the provided user targets, codes, or tracking ids. -
Uses of UserTarget in com.broadleafcommerce.promotion.offer.service.engine.candidate
Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate that return UserTargetModifier and TypeMethodDescriptionDefaultOfferUserService.buildUserTargetsForOfferCustomerContext
(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferUserService.buildUserTargetsForOfferCustomerContext
(Offer offer, com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) For the provided customer information, check if there are no more usages for the provided offer available.protected UserTarget
DefaultOfferUserService.createUserTarget
(String targetValue, String targetType) protected UserTarget
DefaultOfferUserService.createUserTargetForOtherUserType
(String userId, CustomerFields customerFields, String maxUsesPerUserStrategy) Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate that return types with arguments of type UserTargetModifier and TypeMethodDescriptionDefaultOfferUserService.buildUserTargetsForCustomerContext
(com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext) OfferUserService.buildUserTargetsForCustomerContext
(com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext) Build and return a list ofUserTargets
based on the information provided in theCustomerContext
. -
Uses of UserTarget in com.broadleafcommerce.promotion.offer.service.messaging.checkout
Methods in com.broadleafcommerce.promotion.offer.service.messaging.checkout that return UserTargetModifier and TypeMethodDescriptionprotected UserTarget
RecordOfferUsageEventListener.buildUserTarget
(String customerId) Build theUserTarget
associated with the Offer Code's use