Class B2BUnitAddressDeletionService


  • public class B2BUnitAddressDeletionService
    extends java.lang.Object
    Service for the consumer notification replication via data hub
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected de.hybris.platform.servicelayer.search.FlexibleSearchQuery getB2BUnitFlexibleSearchQuery​(java.lang.String b2bUnitId)  
      de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()  
      de.hybris.platform.servicelayer.model.ModelService getModelService()  
      void processB2BUnitAddressDeletion​(java.lang.String messageFunction, java.lang.String b2bUnitId, java.lang.String sapCustomerId, java.lang.String addressUsage, java.lang.String addressUsageCounter)
      Processes the B2BUnit address deletion triggered via IMPEX from DATAHUB
      protected B2BUnitModel readB2BUnit​(java.lang.String b2bUnitId)
      Reads the B2BUnit via flexible search with transferred B2BUnitID
      void setFlexibleSearchService​(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)  
      void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • B2BUnitAddressDeletionService

        public B2BUnitAddressDeletionService()
    • Method Detail

      • getFlexibleSearchService

        public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()
        Returns:
        flexible Search Instance
      • setFlexibleSearchService

        public void setFlexibleSearchService​(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
        Parameters:
        flexibleSearchService -
      • getModelService

        public de.hybris.platform.servicelayer.model.ModelService getModelService()
        Returns:
        model service instance
      • setModelService

        public void setModelService​(de.hybris.platform.servicelayer.model.ModelService modelService)
        Parameters:
        modelService -
      • processB2BUnitAddressDeletion

        public void processB2BUnitAddressDeletion​(java.lang.String messageFunction,
                                                  java.lang.String b2bUnitId,
                                                  java.lang.String sapCustomerId,
                                                  java.lang.String addressUsage,
                                                  java.lang.String addressUsageCounter)
        Processes the B2BUnit address deletion triggered via IMPEX from DATAHUB
        Parameters:
        messageFunction - Message Function
        b2bUnitId - b2bUnit ID
        sapCustomerId - SAPCustomer ID
        addressUsage - Address Usage
        addressUsageCounter - Address usage counter
      • readB2BUnit

        protected B2BUnitModel readB2BUnit​(java.lang.String b2bUnitId)
        Reads the B2BUnit via flexible search with transferred B2BUnitID
        Parameters:
        b2bUnitId -
        Returns:
        B2BUnitModel
      • getB2BUnitFlexibleSearchQuery

        protected de.hybris.platform.servicelayer.search.FlexibleSearchQuery getB2BUnitFlexibleSearchQuery​(java.lang.String b2bUnitId)