File tree Expand file tree Collapse file tree 6 files changed +71
-8
lines changed Expand file tree Collapse file tree 6 files changed +71
-8
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ public function getById($blockId);
34
34
/**
35
35
* Retrieve blocks matching the specified criteria.
36
36
*
37
- * @param SearchCriteriaInterface $searchCriteria
37
+ * @param \Magento\Framework\Api\ SearchCriteriaInterface $searchCriteria
38
38
* @return \Magento\Framework\Api\SearchResultsInterface
39
39
* @throws \Magento\Framework\Exception\LocalizedException
40
40
*/
41
- public function getList (SearchCriteriaInterface $ searchCriteria );
41
+ public function getList (\ Magento \ Framework \ Api \ SearchCriteriaInterface $ searchCriteria );
42
42
43
43
/**
44
44
* Delete block.
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ public function getById($pageId);
34
34
/**
35
35
* Retrieve pages matching the specified criteria.
36
36
*
37
- * @param SearchCriteriaInterface $searchCriteria
37
+ * @param \Magento\Framework\Api\ SearchCriteriaInterface $searchCriteria
38
38
* @return \Magento\Framework\Api\SearchResultsInterface
39
39
* @throws \Magento\Framework\Exception\LocalizedException
40
40
*/
41
- public function getList (SearchCriteriaInterface $ searchCriteria );
41
+ public function getList (\ Magento \ Framework \ Api \ SearchCriteriaInterface $ searchCriteria );
42
42
43
43
/**
44
44
* Delete page.
Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ public function getById($blockId)
121
121
*
122
122
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
123
123
* @SuppressWarnings(PHPMD.NPathComplexity)
124
- * @param SearchCriteriaInterface $criteria
124
+ * @param \Magento\Framework\Api\ SearchCriteriaInterface $criteria
125
125
* @return Resource\Block\Collection
126
126
*/
127
- public function getList (SearchCriteriaInterface $ criteria )
127
+ public function getList (\ Magento \ Framework \ Api \ SearchCriteriaInterface $ criteria )
128
128
{
129
129
$ searchResults = $ this ->searchResultsFactory ->create ();
130
130
$ searchResults ->setSearchCriteria ($ criteria );
Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ public function getById($pageId)
121
121
*
122
122
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
123
123
* @SuppressWarnings(PHPMD.NPathComplexity)
124
- * @param SearchCriteriaInterface $criteria
124
+ * @param \Magento\Framework\Api\ SearchCriteriaInterface $criteria
125
125
* @return Resource\Page\Collection
126
126
*/
127
- public function getList (SearchCriteriaInterface $ criteria )
127
+ public function getList (\ Magento \ Framework \ Api \ SearchCriteriaInterface $ criteria )
128
128
{
129
129
$ searchResults = $ this ->searchResultsFactory ->create ();
130
130
$ searchResults ->setSearchCriteria ($ criteria );
Original file line number Diff line number Diff line change @@ -106,6 +106,16 @@ public function getDescription()
106
106
return $ this ->getData ('description ' );
107
107
}
108
108
109
+ /**
110
+ * Return indexer description
111
+ *
112
+ * @return string
113
+ */
114
+ public function getFields ()
115
+ {
116
+ return $ this ->getData ('fields ' );
117
+ }
118
+
109
119
/**
110
120
* Fill indexer data from config
111
121
*
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © 2015 Magento. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ namespace Magento \Indexer \Model \Indexer ;
7
+
8
+ class Fulltext implements \Magento \Indexer \Model \ActionInterface, \Magento \Framework \Mview \ActionInterface
9
+ {
10
+ /**
11
+ * Execute full indexation
12
+ *
13
+ * @return void
14
+ */
15
+ public function executeFull ()
16
+ {
17
+
18
+ }
19
+
20
+ /**
21
+ * Execute partial indexation by ID list
22
+ *
23
+ * @param int[] $ids
24
+ * @return void
25
+ */
26
+ public function executeList (array $ ids )
27
+ {
28
+
29
+ }
30
+
31
+ /**
32
+ * Execute partial indexation by ID
33
+ *
34
+ * @param int $id
35
+ * @return void
36
+ */
37
+ public function executeRow ($ id )
38
+ {
39
+
40
+ }
41
+
42
+ /**
43
+ * Execute materialization on ids entities
44
+ *
45
+ * @param int[] $ids
46
+ * @return void
47
+ * @api
48
+ */
49
+ public function execute ($ ids )
50
+ {
51
+
52
+ }
53
+ }
You can’t perform that action at this time.
0 commit comments