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 |
---|---|
List<Product> |
findProductsByQuery(String queryType,
String query)
Finds all products which match an XPath, SQL or SQL2 query.
|
List<Product> |
findProductsBySearch(String basePath,
String searchString)
Finds all Products which match the given full-text query.
|
List<Product> |
findProductsByTag(String basePath,
String[] matchTags)
Finds all products which have at least all the tags given.
|
List<Product> findProductsByTag(String basePath, String[] matchTags)
basePath
- the path under which to searchmatchTags
- an array of tag namesProduct
sList<Product> findProductsBySearch(String basePath, String searchString)
SimpleSearch
.)basePath
- the path under which to searchsearchString
- the text to search forProduct
s"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"