Class CustomerSegmentCustomerServiceImpl
java.lang.Object
org.broadleafcommerce.profile.core.service.CustomerServiceImpl
com.broadleafcommerce.customersegment.service.CustomerSegmentCustomerServiceImpl
- All Implemented Interfaces:
org.broadleafcommerce.profile.core.service.CustomerService
public class CustomerSegmentCustomerServiceImpl
extends org.broadleafcommerce.profile.core.service.CustomerServiceImpl
- Author:
- Chris Kittrell (ckittrell)
-
Field Summary
FieldsFields inherited from class org.broadleafcommerce.profile.core.service.CustomerServiceImpl
customerAddressDao, customerDao, customerForgotPasswordSecurityTokenDao, eventPublisher, idGenerationService, passwordChangedHandlers, passwordEncoderBean, passwordResetHandlers, passwordTokenLength, postRegisterListeners, roleDao, tokenExpiredMinutes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancustomerPassesCustomerRule(org.broadleafcommerce.profile.core.domain.Customer customer, org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder) protected List<CustomerSegment>getCustomerSegments(org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder) protected booleanisCustomerInACustomerSegment(org.broadleafcommerce.profile.core.domain.Customer customer, List<CustomerSegment> customerSegments) Methods inherited from class org.broadleafcommerce.profile.core.service.CustomerServiceImpl
addPostRegisterListener, buildCustomerRuleParams, changePassword, checkCustomer, checkPassword, checkPasswordResetToken, checkPasswordResetToken, createCustomer, createCustomerFromId, createCustomerWithNullId, createNewCustomer, createRegisteredCustomerRoles, deleteCustomer, detachCustomer, encodePassword, findNextCustomerId, generateSecurePassword, getPasswordChangedHandlers, getPasswordResetHandlers, getPasswordTokenLength, getTokenExpiredMinutes, invalidateAllTokensForCustomer, isPasswordValid, isTokenExpired, notifyPostRegisterListeners, readBatchCustomers, readCustomerByEmail, readCustomerByExternalId, readCustomerById, readCustomerByUsername, readCustomerByUsername, readNumberOfCustomers, registerCustomer, removePostRegisterListener, resetPassword, resetPasswordUsingToken, saveCustomer, saveCustomer, sendForcedPasswordChangeNotification, sendForgotPasswordNotification, sendForgotUsernameNotification, setCustomerDao, setPasswordChangedHandlers, setPasswordResetHandlers, setPasswordTokenLength, setTokenExpiredMinutes
-
Field Details
-
customerSegmentService
-
-
Constructor Details
-
CustomerSegmentCustomerServiceImpl
public CustomerSegmentCustomerServiceImpl()
-
-
Method Details
-
customerPassesCustomerRule
public boolean customerPassesCustomerRule(org.broadleafcommerce.profile.core.domain.Customer customer, org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder) - Specified by:
customerPassesCustomerRulein interfaceorg.broadleafcommerce.profile.core.service.CustomerService- Overrides:
customerPassesCustomerRulein classorg.broadleafcommerce.profile.core.service.CustomerServiceImpl
-
getCustomerSegments
protected List<CustomerSegment> getCustomerSegments(org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder) -
isCustomerInACustomerSegment
protected boolean isCustomerInACustomerSegment(org.broadleafcommerce.profile.core.domain.Customer customer, List<CustomerSegment> customerSegments)
-