public interface ProductSearchInterface
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Product> |
getMatchingProducts(FlashServletContext ctx,
java.lang.String searchString,
java.util.ArrayList<java.lang.String[]> searchAttributes)
Returns a list of products that match the given search criteria and are
in the session user's catalog.
|
java.util.ArrayList<Product> |
getMatchingProducts(FlashServletContext ctx,
java.lang.String searchString,
java.util.ArrayList<java.lang.String[]> searchAttributes,
java.lang.String catcat,
int maxhits)
Returns a list of products that match the given search criteria and are
in the given catalog category.
|
java.util.ArrayList<Product> getMatchingProducts(FlashServletContext ctx, java.lang.String searchString, java.util.ArrayList<java.lang.String[]> searchAttributes)
ctx - (FlashServletContext) The current servlet context.searchString - (String) The search criteria.searchAttributes - (ArrayList) The extended attributes search
criteria, a list of String[] where element 0 is
attribute code, and 1 is relation.java.util.ArrayList<Product> getMatchingProducts(FlashServletContext ctx, java.lang.String searchString, java.util.ArrayList<java.lang.String[]> searchAttributes, java.lang.String catcat, int maxhits)
ctx - (FlashServletContext) The current servlet context.searchString - (String) The search criteria.searchAttributes - (ArrayList) The extended attributes search
criteria, a list of String[] where element 0 is
attribute code, and 1 is relation.catcat - (String) The catalog category for the results.maxhits - (int) The maximum number of matches. A 0 (zero)
indicates no maximum.