Class FindAllIndexServiceImpl

java.lang.Object
com.skava.search.service.index.impl.FindAllIndexServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<SearchRequestInternal,SearchAPIResponse>, FindAllIndexService

@Service public class FindAllIndexServiceImpl extends Object implements FindAllIndexService

This class contains the Find All Index implementation. Find all Index API call implementation starts from here.

  • Constructor Details

  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Validation
      Specified by:
      getValidator in interface com.skava.core.EcommService<SearchRequestInternal,SearchAPIResponse>
    • process

      public SearchAPIResponse process(SearchRequestInternal searchRequestInternal)
      find all process this process responses are also cached.
      Specified by:
      process in interface com.skava.core.EcommService<SearchRequestInternal,SearchAPIResponse>
    • setfacetAndSortOptions

      public static void setfacetAndSortOptions(SearchAPIResponse searchAPIResponse, SearchDO search)
      This Function is used to set the facet and sort options into the response
      Parameters:
      searchAPIResponse - This parameter holds the search find all response data
      search - This parameter holds the facet and sort options.
    • constructResponse

      public static List<Search> constructResponse(PageableDO<SearchDO> searchPageble)
      This method is used to transform response to list of search exchange objects.
      Parameters:
      searchPageble - holds pageable domain object.
      Returns:
      List<Search>