1 <?php
2
3 /* --------------------------------------------------------------
4 ProductListProviderInterface.inc.php 2015-12-09
5 Gambio GmbH
6 http://www.gambio.de
7 Copyright (c) 2015 Gambio GmbH
8 Released under the GNU General Public License (Version 2)
9 [http://www.gnu.org/licenses/gpl-2.0.html]
10 --------------------------------------------------------------
11 */
12
13 /**
14 * Interface ProductListProviderInterface
15 *
16 * @category System
17 * @package Product
18 * @subpackage Interfaces
19 */
20 interface ProductListProviderInterface
21 {
22 /**
23 * Returns a product list item collection by the provided category ID.
24 *
25 * @param IdType $categoryId Category ID.
26 *
27 * @return ProductListItemCollection
28 */
29 public function getByCategoryId(IdType $categoryId);
30
31
32 /**
33 * Returns all product list items.
34 *
35 * @return ProductListItemCollection
36 */
37 public function getAll();
38 }