e12a477d5759950f14f6801bd94dd52bc718988f
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object\type;
3 use wcf\data\IDatabaseObjectProcessor;
4
5 /**
6 * This interface defines the basic methods every notification object type should implement.
7 *
8 * @author Marcel Werk, Oliver Kliebisch
9 * @copyright 2001-2011 WoltLab GmbH, Oliver Kliebisch
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package com.woltlab.wcf.notification
12 * @subpackage system.user.notification.object.type
13 * @category Community Framework
14 */
15 interface IUserNotificationObjectType extends IDatabaseObjectProcessor {
16 /**
17 * Gets a notification object by its ID.
18 *
19 * @param integer $objectID
20 * @return wcf\system\user\notification\object\IUserNotificationObject
21 */
22 public function getObjectByID($objectID);
23
24 /**
25 * Gets notification objects by their IDs.
26 *
27 * @param array<integer> $objectIDs
28 * @return array<wcf\system\user\notification\object\IUserNotificationObject>
29 */
30 public function getObjectsByIDs($objectIDs);
31
32 }