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

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.broadleafcommerce.profile.core.service.CustomerServiceImpl

    customerAddressDao, customerDao, customerForgotPasswordSecurityTokenDao, eventPublisher, idGenerationService, passwordChangedHandlers, passwordEncoderBean, passwordResetHandlers, passwordTokenLength, postRegisterListeners, roleDao, tokenExpiredMinutes
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    customerPassesCustomerRule(org.broadleafcommerce.profile.core.domain.Customer customer, org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder)
     
    getCustomerSegments(org.broadleafcommerce.profile.core.dto.CustomerRuleHolder customerRuleHolder)
     
    protected boolean
    isCustomerInACustomerSegment(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      customerPassesCustomerRule in interface org.broadleafcommerce.profile.core.service.CustomerService
      Overrides:
      customerPassesCustomerRule in class org.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)