5 * Every database object action whose objects can be deleted (via AJAX) has to
6 * implement this interface.
8 * @author Matthias Schmidt
9 * @copyright 2001-2018 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\Data
13 interface IDeleteAction
{
15 * Deletes the relevant objects and returns the number of deleted objects.
19 public function delete();
22 * Validates the "delete" action.
24 public function validateDelete();