1 <?php
2 /* --------------------------------------------------------------
3 UserConfigurationServiceInterface.inc.php 2015-10-05 gm
4 Gambio GmbH
5 http://www.gambio.de
6 Copyright (c) 2015 Gambio GmbH
7 Released under the GNU General Public License (Version 2)
8 [http://www.gnu.org/licenses/gpl-2.0.html]
9 --------------------------------------------------------------
10 */
11
12 /**
13 * Interface UserConfigurationServiceInterface
14 *
15 * @category System
16 * @package UserConfiguration
17 * @subpackage Interfaces
18 */
19 interface UserConfigurationServiceInterface
20 {
21 /**
22 * Sets a user configuration (table: user_configuration)
23 *
24 * @param IdType $userId
25 * @param string $configurationKey
26 * @param string $configurationValue
27 */
28 public function setUserConfiguration(IdType $userId, $configurationKey, $configurationValue);
29
30
31 /**
32 * Gets a user configuration (table: user_configuration)
33 *
34 * @param IdType $userId
35 * @param string $configurationKey
36 *
37 * @return string
38 */
39 public function getUserConfiguration(IdType $userId, $configurationKey);
40 }