@ProviderType
public interface ProductInfoManager
ProductInfoManager contains administration functions for the
management and editing of product data.
In the typical Sling context you can also adapt to a ProductInfoManager from
the ResourceResolver:
ProductInfoManager pim = resourceResolver.adaptTo(ProductInfoManager.class);
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Product> |
findProductsByQuery(java.lang.String queryType,
java.lang.String query)
Finds all products which match an XPath, SQL or SQL2 query.
|
java.util.List<Product> |
findProductsBySearch(java.lang.String basePath,
java.lang.String searchString)
Finds all Products which match the given full-text query.
|
java.util.List<Product> |
findProductsByTag(java.lang.String basePath,
java.lang.String[] matchTags)
Finds all products which have at least all the tags given.
|
java.util.List<Product> findProductsByTag(java.lang.String basePath, java.lang.String[] matchTags)
basePath - the path under which to searchmatchTags - an array of tag namesProductsjava.util.List<Product> findProductsBySearch(java.lang.String basePath, java.lang.String searchString)
SimpleSearch.)basePath - the path under which to searchsearchString - the text to search forProductsjava.util.List<Product> findProductsByQuery(java.lang.String queryType, java.lang.String query)
queryType - must be xpath, sql or sql2query - the text of the xpath, sql or sql2 queryProductsCopyright © 2010 - 2023 Adobe. All Rights Reserved