|
11 | 11 | use OCA\DAV\CalDAV\DefaultCalendarValidator; |
12 | 12 | use OCA\DAV\DAV\ViewOnlyPlugin; |
13 | 13 | use OCA\DAV\Files\ErrorPagePlugin; |
| 14 | +use OCA\DAV\SystemTag\SystemTagPlugin; |
14 | 15 | use OCA\Theming\ThemingDefaults; |
15 | 16 | use OCP\EventDispatcher\IEventDispatcher; |
16 | 17 | use OCP\Files\Folder; |
17 | 18 | use OCP\Files\IFilenameValidator; |
18 | 19 | use OCP\Files\Mount\IMountManager; |
19 | 20 | use OCP\IConfig; |
20 | 21 | use OCP\IDBConnection; |
| 22 | +use OCP\IGroupManager; |
21 | 23 | use OCP\IL10N; |
22 | 24 | use OCP\IPreview; |
23 | 25 | use OCP\IRequest; |
24 | 26 | use OCP\ITagManager; |
25 | 27 | use OCP\IUserSession; |
26 | 28 | use OCP\SabrePluginEvent; |
| 29 | +use OCP\SystemTag\ISystemTagManager; |
| 30 | +use OCP\SystemTag\ISystemTagObjectMapper; |
27 | 31 | use Psr\Log\LoggerInterface; |
28 | 32 | use Sabre\DAV\Auth\Plugin; |
29 | 33 |
|
30 | 34 | class ServerFactory { |
31 | | - private IConfig $config; |
32 | | - private LoggerInterface $logger; |
33 | | - private IDBConnection $databaseConnection; |
34 | | - private IUserSession $userSession; |
35 | | - private IMountManager $mountManager; |
36 | | - private ITagManager $tagManager; |
37 | | - private IRequest $request; |
38 | | - private IPreview $previewManager; |
39 | | - private IEventDispatcher $eventDispatcher; |
40 | | - private IL10N $l10n; |
41 | 35 |
|
42 | 36 | public function __construct( |
43 | | - IConfig $config, |
44 | | - LoggerInterface $logger, |
45 | | - IDBConnection $databaseConnection, |
46 | | - IUserSession $userSession, |
47 | | - IMountManager $mountManager, |
48 | | - ITagManager $tagManager, |
49 | | - IRequest $request, |
50 | | - IPreview $previewManager, |
51 | | - IEventDispatcher $eventDispatcher, |
52 | | - IL10N $l10n |
| 37 | + private IConfig $config, |
| 38 | + private LoggerInterface $logger, |
| 39 | + private IDBConnection $databaseConnection, |
| 40 | + private IUserSession $userSession, |
| 41 | + private IMountManager $mountManager, |
| 42 | + private ITagManager $tagManager, |
| 43 | + private IRequest $request, |
| 44 | + private IPreview $previewManager, |
| 45 | + private IEventDispatcher $eventDispatcher, |
| 46 | + private IL10N $l10n |
53 | 47 | ) { |
54 | | - $this->config = $config; |
55 | | - $this->logger = $logger; |
56 | | - $this->databaseConnection = $databaseConnection; |
57 | | - $this->userSession = $userSession; |
58 | | - $this->mountManager = $mountManager; |
59 | | - $this->tagManager = $tagManager; |
60 | | - $this->request = $request; |
61 | | - $this->previewManager = $previewManager; |
62 | | - $this->eventDispatcher = $eventDispatcher; |
63 | | - $this->l10n = $l10n; |
64 | 48 | } |
65 | 49 |
|
66 | 50 | /** |
|
0 commit comments