1 <?php
2
3 /* --------------------------------------------------------------
4 CategorySettingsRepositoryWriterInterface.php 2015-11-23
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 CategorySettingsRepositoryWriterInterface
15 *
16 * This interface defines methods for updating particular columns of specific category records in the database.
17 * The category settings are stored in the categories table and are more related to display and visibility modes of
18 * category related data.
19 *
20 * @category System
21 * @package Category
22 * @subpackage Interfaces
23 */
24 interface CategorySettingsRepositoryWriterInterface
25 {
26 /**
27 * Updates a specific category settings entity.
28 *
29 * @param IdType $categoryId Category ID.
30 * @param CategorySettingsInterface $settings Category settings.
31 *
32 * @return CategorySettingsRepositoryWriterInterface Same instance for chained method calls.
33 */
34 public function update(IdType $categoryId, CategorySettingsInterface $settings);
35 }