5 * Abstract class for all data holder classes.
8 * @copyright 2001-2012 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
12 * @category Community Framework
14 interface IEditableObject
extends IStorableObject
{
16 * Creates a new object.
18 * @param array $parameters
19 * @return wcf\data\IStorableObject
21 public static function create(array $parameters = array());
24 * Updates this object.
26 * @param array $parameters
28 public function update(array $parameters = array());
31 * Updates the counters of this object.
33 * @param array $counters
35 public function updateCounters(array $counters = array());
38 * Deletes this object.
40 public function delete();
43 * Deletes all objects with the given ids and returns the number of deleted
46 * @param array $objectIDs
49 public static function deleteAll(array $objectIDs = array());