Class DefaultSearchResponseService

java.lang.Object
de.hybris.platform.shoppingservices.services.impl.DefaultSearchResponseService
All Implemented Interfaces:
SearchResponseService
Direct Known Subclasses:
DefaultPROSSearchResponseService

public class DefaultSearchResponseService extends Object implements SearchResponseService
The type Default search response service.
  • Constructor Details

    • DefaultSearchResponseService

      public DefaultSearchResponseService(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Public constructor for DefaultSearchResponseService class.
      Parameters:
      objectMapper - the objectMapper
  • Method Details

    • containsBrand

      public boolean containsBrand(SearchResponseMessage searchResponseMessage)
      Description copied from interface: SearchResponseService
      Contains brand boolean.
      Specified by:
      containsBrand in interface SearchResponseService
      Parameters:
      searchResponseMessage - the search response message
      Returns:
      the boolean
    • convertSearchResponseWrapperToString

      public String convertSearchResponseWrapperToString(SearchResponseWrapper searchResponseWrapper)
      Description copied from interface: SearchResponseService
      Convert search response wrapper to string string.
      Specified by:
      convertSearchResponseWrapperToString in interface SearchResponseService
      Parameters:
      searchResponseWrapper - the search response wrapper
      Returns:
      the string
    • convertStringToSearchResponseWrapper

      public SearchResponseWrapper convertStringToSearchResponseWrapper(String stringSearchResponseWrapper)
      Description copied from interface: SearchResponseService
      Convert string to search response wrapper search response wrapper.
      Specified by:
      convertStringToSearchResponseWrapper in interface SearchResponseService
      Parameters:
      stringSearchResponseWrapper - the string search response wrapper
      Returns:
      the search response wrapper
    • getObjectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      Gets object mapper.
      Returns:
      the object mapper
    • setObjectMapper

      public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Sets object mapper.
      Parameters:
      objectMapper - the object mapper