Interface ProductReadServiceInterface

Interface ProductReadServiceInterface

Direct known implementers

ProductReadService

Methods summary

public getProductById( IdType $productId ) : StoredProductInterface

Get Product by ID.

public getProductList( LanguageCode $languageCode, IdType $categoryId = null, IdType $customerStatusLimit = null ) : ProductListItemCollection

Get Product List

public getPagedList( LanguageCode $languageCode, IntType $page = null, IntType $limit = null ) : ProductListItemCollection

Returns a paged product list.

public getProductsCount( void ) : integer

Returns the count of all product entries.

public getActiveProductList( LanguageCode $languageCode, IdType $categoryId = null, IdType $customerStatusLimit = null ) : ProductListItemCollection

Get Active Product List

public getRewriteUrls( IdType $productId ) : UrlRewriteCollection

Returns an UrlRewriteCollection with UrlRewrite instances for the provided content ID.

public findRewriteUrl( IdType $productId, IdType $languageId ) : null|UrlRewrite

Returns a single UrlRewrite instance for the provided content ID and language ID or NULL if no entry was found.

public findUrlRewritesByRewriteUrl( NonEmptyStringType $rewriteUrl ) : UrlRewriteCollection

Returns an UrlRewriteCollection with UrlRewrite instances for the provided rewrite url.