nextcloud/lib/public/LDAP/IDeletionFlagSupport.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
634 B
PHP
Raw Permalink Normal View History

2016-07-22 04:46:29 -04:00
<?php
declare(strict_types=1);
2016-07-22 04:46:29 -04:00
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
2016-07-22 04:46:29 -04:00
*/
2016-07-22 04:46:29 -04:00
namespace OCP\LDAP;
use OCP\AppFramework\Attribute\Consumable;
2016-07-22 04:46:29 -04:00
/**
* Interface IDeletionFlagSupport
*
* @since 11.0.0
2016-07-22 04:46:29 -04:00
*/
#[Consumable(since: '11.0.0')]
2016-07-22 04:46:29 -04:00
interface IDeletionFlagSupport {
/**
* Flag record for deletion.
2016-07-27 03:10:35 -04:00
* @param string $uid user id
* @since 11.0.0
2016-07-22 04:46:29 -04:00
*/
public function flagRecord(string $uid): void;
2016-07-22 04:46:29 -04:00
/**
* Unflag record for deletion.
2016-07-27 03:10:35 -04:00
* @param string $uid user id
* @since 11.0.0
2016-07-22 04:46:29 -04:00
*/
public function unflagRecord(string $uid): void;
2016-07-22 04:46:29 -04:00
}