Class ProductReadService
| category |
System |
|---|---|
| package |
Product |
__construct(\ProductRepositoryInterface $productRepo, \ProductListProviderFactoryInterface $listProviderFactory, \ProductCategoryLinkerInterface $productLinker, \UrlRewriteStorage $urlRewriteStorage)
\ProductRepositoryInterface
\ProductListProviderFactoryInterface
\ProductCategoryLinkerInterface
\UrlRewriteStorage
findRewriteUrl(\IdType $productId, \IdType $languageId) : null|\UrlRewrite
findUrlRewritesByRewriteUrl(\NonEmptyStringType $rewriteUrl) : \UrlRewriteCollection
getActiveProductList(\LanguageCode $languageCode, \IdType|null $categoryId = null, \IdType|null $customerStatusLimit = null) : \ProductListItemCollection
getProductById(\IdType $productId) : \StoredProductInterface
Returns a specific product, depending on the provided ID.
\StoredProductInterfaceThe stored product.
getProductLinks(\IdType $productId) : \IdCollection
getProductList(\LanguageCode $languageCode, \IdType|null $categoryId = null, \IdType|null $customerStatusLimit = null) : \ProductListItemCollection
getRewriteUrls(\IdType $productId) : \UrlRewriteCollection
listProviderFactory : \ProductListProviderFactoryInterface
productLinker : \ProductCategoryLinkerInterface