Class EcomSearchIndexServiceImpl

    • Constructor Detail

      • EcomSearchIndexServiceImpl

        public EcomSearchIndexServiceImpl()
    • Method Detail

      • generateKeywordsForSKUs

        @Transactional
        @Async("asyncTaskExecutor")
        public void generateKeywordsForSKUs​(java.util.ArrayList<java.lang.String> ids)
        Description copied from interface: EcomSearchIndexService
        This method generated words and update database entity.
        Specified by:
        generateKeywordsForSKUs in interface EcomSearchIndexService
        Parameters:
        ids - list of identification for database entity which will be updated
      • removeKeywordsForSKUs

        @Transactional
        @Async("asyncTaskExecutor")
        public void removeKeywordsForSKUs​(java.util.ArrayList<java.lang.String> ids)
        Description copied from interface: EcomSearchIndexService
        This method removes a list of database entities.
        Specified by:
        removeKeywordsForSKUs in interface EcomSearchIndexService
        Parameters:
        ids - the list of fields in database entities which will be removed
      • generateSellerSkuForSeller

        @Transactional
        @Async("asyncTaskExecutor")
        public void generateSellerSkuForSeller​(java.lang.String sellerId)
                                        throws java.io.IOException
        Description copied from interface: EcomSearchIndexService
        This method generated database entity and update database entity.
        Specified by:
        generateSellerSkuForSeller in interface EcomSearchIndexService
        Parameters:
        sellerId - identification for database entity which will be updated
        Throws:
        java.io.IOException - if input file not exists
      • removeSellerSkuForSeller

        @Transactional
        @Async("asyncTaskExecutor")
        public void removeSellerSkuForSeller​(java.lang.String sellerId)
        Description copied from interface: EcomSearchIndexService
        This method removes relationship between database entities.
        Specified by:
        removeSellerSkuForSeller in interface EcomSearchIndexService
        Parameters:
        sellerId - identification for database entity which will be removed