Class EcomSearchIndexServiceImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generateKeywordsForSKUs​(java.util.ArrayList<java.lang.String> ids)
      This method generated words and update database entity.
      void generateSellerSkuForSeller​(java.lang.String sellerId)
      This method generated database entity and update database entity.
      void removeKeywordsForSKUs​(java.util.ArrayList<java.lang.String> ids)
      This method removes a list of database entities.
      void removeSellerSkuForSeller​(java.lang.String sellerId)
      This method removes relationship between database entities.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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