Class DefaultCustomerAddressReplicationUtilityService

    • Constructor Detail

      • DefaultCustomerAddressReplicationUtilityService

        public DefaultCustomerAddressReplicationUtilityService()
    • Method Detail

      • isCustomerReplicationRequired

        public boolean isCustomerReplicationRequired​(CustomerModel customerModel,
                                                     java.util.Set<java.lang.String> monitoredAttributes,
                                                     de.hybris.platform.servicelayer.interceptor.InterceptorContext context)
        Description copied from interface: CustomerAddressReplicationUtilityService
        Varify if customer is changed
        Specified by:
        isCustomerReplicationRequired in interface CustomerAddressReplicationUtilityService
        Parameters:
        customerModel - Customer to be verified
        monitoredAttributes - Attributes to be used to determine whether the customer should be replicated
        context - Context passed by the intercepter
        Returns:
        true if customer is changed
      • isAddressReplicationRequired

        public boolean isAddressReplicationRequired​(AddressModel addressModel,
                                                    java.util.Set<java.lang.String> monitoredAttributes,
                                                    de.hybris.platform.servicelayer.interceptor.InterceptorContext context)
        Description copied from interface: CustomerAddressReplicationUtilityService
        Varify if address is changed
        Specified by:
        isAddressReplicationRequired in interface CustomerAddressReplicationUtilityService
        Parameters:
        addressModel - Address to be verified
        monitoredAttributes - Attributes to be used to determine whether the address should be replicated
        context - Context passed by the intercepter
        Returns:
        true if address is changed
      • isModelChanged

        protected boolean isModelChanged​(ItemModel itemModel,
                                         de.hybris.platform.servicelayer.interceptor.InterceptorContext ctx,
                                         java.util.Set<java.lang.String> monitoredAttributes)
      • isModelAttributeChanged

        protected boolean isModelAttributeChanged​(ItemModel itemModel,
                                                  java.lang.String itemProperty)
      • getCustomerAccountService

        protected de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService()
      • setCustomerAccountService

        public void setCustomerAccountService​(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService)
      • getUserService

        protected de.hybris.platform.servicelayer.user.UserService getUserService()
      • setUserService

        public void setUserService​(de.hybris.platform.servicelayer.user.UserService userService)