Class ProductSearchEvents

java.lang.Object
org.apache.ofbiz.product.product.ProductSearchEvents

public class ProductSearchEvents extends Object
Product Search Related Events
  • Field Details

  • Constructor Details

    • ProductSearchEvents

      public ProductSearchEvents()
  • Method Details

    • searchRemoveFromCategory

      public static String searchRemoveFromCategory(HttpServletRequest request, HttpServletResponse response)
      Removes the results of a search from the specified category
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • searchExpireFromCategory

      public static String searchExpireFromCategory(HttpServletRequest request, HttpServletResponse response)
      Sets the thru date of the results of a search to the specified date for the specified catogory
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • searchAddToCategory

      public static String searchAddToCategory(HttpServletRequest request, HttpServletResponse response)
      Adds the results of a search to the specified catogory
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • searchAddFeature

      public static String searchAddFeature(HttpServletRequest request, HttpServletResponse response)
      Adds a feature to search results
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • searchRemoveFeature

      public static String searchRemoveFeature(HttpServletRequest request, HttpServletResponse response)
      Removes a feature from search results
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • searchExportProductList

      public static String searchExportProductList(HttpServletRequest request, HttpServletResponse response)
      Formats the results of a search to the screen as a tab-delimited output
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event