Package org.apache.ofbiz.product.product
Class ProductSearchEvents
- java.lang.Object
-
- org.apache.ofbiz.product.product.ProductSearchEvents
-
public class ProductSearchEvents extends java.lang.Object
Product Search Related Events
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TX_TIMEOUT
static java.lang.String
module
static java.lang.String
resource
-
Constructor Summary
Constructors Constructor Description ProductSearchEvents()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
searchAddFeature(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Adds a feature to search resultsstatic java.lang.String
searchAddToCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Adds the results of a search to the specified catogorystatic java.lang.String
searchExpireFromCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Sets the thru date of the results of a search to the specified date for the specified catogorystatic java.lang.String
searchExportProductList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Formats the results of a search to the screen as a tab-delimited outputstatic java.lang.String
searchRemoveFeature(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes a feature from search resultsstatic java.lang.String
searchRemoveFromCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes the results of a search from the specified category
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
DEFAULT_TX_TIMEOUT
public static final int DEFAULT_TX_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
searchRemoveFromCategory
public static java.lang.String searchRemoveFromCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes the results of a search from the specified category- Parameters:
request
- The HTTPRequest object for the current requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
searchExpireFromCategory
public static java.lang.String searchExpireFromCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.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 requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
searchAddToCategory
public static java.lang.String searchAddToCategory(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Adds the results of a search to the specified catogory- Parameters:
request
- The HTTPRequest object for the current requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
searchAddFeature
public static java.lang.String searchAddFeature(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Adds a feature to search results- Parameters:
request
- The HTTPRequest object for the current requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
searchRemoveFeature
public static java.lang.String searchRemoveFeature(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes a feature from search results- Parameters:
request
- The HTTPRequest object for the current requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
searchExportProductList
public static java.lang.String searchExportProductList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Formats the results of a search to the screen as a tab-delimited output- Parameters:
request
- The HTTPRequest object for the current requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-
-