Class CategoryReadService
Class CategoryReadService
This class provides methods for retrieving data of a particular category and a collection of specific categories.
- CategoryReadService implements CategoryReadServiceInterface
Methods summary
public
|
#
__construct(
CategoryReadService constructor. |
public
|
#
getCategoryById(
Returns a StoredCategory object with the provided category ID. |
public
|
#
getCategoryList(
Returns a CategoryListItemCollection. |
public
|
#
getActiveCategoryList(
Returns CategoryListItemCollection of active categories. |
public
|
#
getRewriteUrls(
Returns an UrlRewriteCollection with UrlRewrite instances for the provided category ID. |
public
null|
|
#
findRewriteUrl(
Returns a single UrlRewrite instance for the provided category ID and language ID or NULL if no entry was found. |
public
|
#
findUrlRewritesByRewriteUrl(
Returns an UrlRewriteCollection with UrlRewrite instances for the provided rewrite url. |
Properties summary
protected
|
$categoryRepo
Category repository interface. |
|
protected
|
$categoryListProviderFactory
Category list provider factory. |
|
protected
|
$urlRewriteStorage
The url rewrite storage. |