IDeletionFlagSupport.php 506 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\LDAP;
  7. /**
  8. * Interface IDeletionFlagSupport
  9. *
  10. * @since 11.0.0
  11. */
  12. interface IDeletionFlagSupport {
  13. /**
  14. * Flag record for deletion.
  15. * @param string $uid user id
  16. * @since 11.0.0
  17. */
  18. public function flagRecord($uid);
  19. /**
  20. * Unflag record for deletion.
  21. * @param string $uid user id
  22. * @since 11.0.0
  23. */
  24. public function unflagRecord($uid);
  25. }