123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- namespace OCA\Files_Trashbin\Trash;
- use OCP\Files\Node;
- use OCP\Files\Storage\IStorage;
- use OCP\IUser;
- interface ITrashBackend {
-
- public function listTrashRoot(IUser $user): array;
-
- public function listTrashFolder(ITrashItem $folder): array;
-
- public function restoreItem(ITrashItem $item);
-
- public function removeItem(ITrashItem $item);
-
- public function moveToTrash(IStorage $storage, string $internalPath): bool;
-
- public function getTrashNodeById(IUser $user, int $fileId);
- }
|