1 | <?php |
||
10 | abstract class IntegrationAwareSearchHandler extends SearchHandler |
||
11 | { |
||
12 | /** @var string */ |
||
13 | protected $dataChannelClass; |
||
14 | |||
15 | /** @var SecurityFacade */ |
||
16 | protected $securityFacade; |
||
17 | |||
18 | /** |
||
19 | * @param string $dataChannelClass |
||
20 | * @return IntegrationAwareSearchHandler |
||
21 | */ |
||
22 | public function setDataChannelClass($dataChannelClass) |
||
28 | |||
29 | /** |
||
30 | * @param SecurityFacade $securityFacade |
||
31 | */ |
||
32 | public function setSecurityFacade(SecurityFacade $securityFacade) |
||
33 | { |
||
34 | $this->securityFacade = $securityFacade; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | protected function checkAllDependenciesInjected() |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | protected function findById($query) |
||
66 | |||
67 | /** |
||
68 | * @param int $dataChannelId |
||
69 | * @return Channel |
||
70 | */ |
||
71 | protected function getDataChannelById($dataChannelId) |
||
76 | } |
||
77 |