Package org.apache.ofbiz.product.product
Class ProductSearch
- java.lang.Object
-
- org.apache.ofbiz.product.product.ProductSearch
-
public class ProductSearch extends java.lang.Object
Utilities for product search based on various constraints including categories, features and keywords.
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static java.lang.String
resource
static java.lang.String
resourceCommon
-
Constructor Summary
Constructors Constructor Description ProductSearch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
getAllSubCategoryIds(java.lang.String productCategoryId, java.util.Set<java.lang.String> productCategoryIdSet, Delegator delegator, java.sql.Timestamp nowTimestamp)
static java.util.ArrayList<java.lang.String>
parametricKeywordSearch(java.util.Map<?,java.lang.String> featureIdByType, java.lang.String keywordsString, Delegator delegator, java.lang.String productCategoryId, java.lang.String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd)
static java.util.ArrayList<java.lang.String>
parametricKeywordSearch(java.util.Set<java.lang.String> featureIdSet, java.lang.String keywordsString, Delegator delegator, java.lang.String productCategoryId, boolean includeSubCategories, java.lang.String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd)
static java.util.ArrayList<java.lang.String>
searchProducts(java.util.List<ProductSearch.ProductSearchConstraint> productSearchConstraintList, ProductSearch.ResultSortOrder resultSortOrder, Delegator delegator, java.lang.String visitId)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
resourceCommon
public static final java.lang.String resourceCommon
- See Also:
- Constant Field Values
-
-
Method Detail
-
parametricKeywordSearch
public static java.util.ArrayList<java.lang.String> parametricKeywordSearch(java.util.Map<?,java.lang.String> featureIdByType, java.lang.String keywordsString, Delegator delegator, java.lang.String productCategoryId, java.lang.String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd)
-
parametricKeywordSearch
public static java.util.ArrayList<java.lang.String> parametricKeywordSearch(java.util.Set<java.lang.String> featureIdSet, java.lang.String keywordsString, Delegator delegator, java.lang.String productCategoryId, boolean includeSubCategories, java.lang.String visitId, boolean anyPrefix, boolean anySuffix, boolean isAnd)
-
searchProducts
public static java.util.ArrayList<java.lang.String> searchProducts(java.util.List<ProductSearch.ProductSearchConstraint> productSearchConstraintList, ProductSearch.ResultSortOrder resultSortOrder, Delegator delegator, java.lang.String visitId)
-
getAllSubCategoryIds
public static void getAllSubCategoryIds(java.lang.String productCategoryId, java.util.Set<java.lang.String> productCategoryIdSet, Delegator delegator, java.sql.Timestamp nowTimestamp)
-
-