Class B2BUnitAddressDeletionService


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

      • B2BUnitAddressDeletionService

        public B2BUnitAddressDeletionService()
    • Method Detail

      • getFlexibleSearchService

        public FlexibleSearchService getFlexibleSearchService()
        Returns:
        flexible Search Instance
      • setFlexibleSearchService

        public void setFlexibleSearchService​(FlexibleSearchService flexibleSearchService)
        Parameters:
        flexibleSearchService -
      • getModelService

        public ModelService getModelService()
        Returns:
        model service instance
      • setModelService

        public void setModelService​(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 FlexibleSearchQuery getB2BUnitFlexibleSearchQuery​(java.lang.String b2bUnitId)