Package org.apache.ofbiz.product.product
Class ProductSearch
java.lang.Object
org.apache.ofbiz.product.product.ProductSearch
Utilities for product search based on various constraints including categories, features and keywords.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
The type Product search context.static class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
getAllSubCategoryIds
(String productCategoryId, Set<String> productCategoryIdSet, Delegator delegator, Timestamp nowTimestamp) parametricKeywordSearch
(Map<?, String> featureIdByType, String keywordsString, Delegator delegator, String productCategoryId, String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd) parametricKeywordSearch
(Set<String> featureIdSet, String keywordsString, Delegator delegator, String productCategoryId, boolean includeSubCategories, String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd) searchProducts
(List<ProductSearch.ProductSearchConstraint> productSearchConstraintList, ProductSearch.ResultSortOrder resultSortOrder, Delegator delegator, String visitId)
-
Constructor Details
-
ProductSearch
public ProductSearch()
-
-
Method Details
-
parametricKeywordSearch
-
parametricKeywordSearch
-
searchProducts
public static ArrayList<String> searchProducts(List<ProductSearch.ProductSearchConstraint> productSearchConstraintList, ProductSearch.ResultSortOrder resultSortOrder, Delegator delegator, String visitId) -
getAllSubCategoryIds
-