5b1d32a339df3d907019112a7c5e6d99bf975d60
6 * Abstract class for all data holder classes.
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 interface IEditableObject
extends IStorableObject
15 * Creates a new object.
17 * @param array $parameters
18 * @return IStorableObject
20 public static function create(array $parameters = []);
23 * Updates this object.
25 * @param array $parameters
27 public function update(array $parameters = []);
30 * Updates the counters of this object.
32 * @param array $counters
34 public function updateCounters(array $counters = []);
37 * Deletes this object.
39 public function delete();
42 * Deletes all objects with the given ids and returns the number of deleted
45 * @param array $objectIDs
48 public static function deleteAll(array $objectIDs = []);