Skip to content

Commit 013d095

Browse files
author
okarpenko
committed
2 parents 1e51099 + 33ab44e commit 013d095

File tree

6 files changed

+71
-8
lines changed

6 files changed

+71
-8
lines changed

app/code/Magento/Cms/Api/BlockRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ public function getById($blockId);
3434
/**
3535
* Retrieve blocks matching the specified criteria.
3636
*
37-
* @param SearchCriteriaInterface $searchCriteria
37+
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
3838
* @return \Magento\Framework\Api\SearchResultsInterface
3939
* @throws \Magento\Framework\Exception\LocalizedException
4040
*/
41-
public function getList(SearchCriteriaInterface $searchCriteria);
41+
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
4242

4343
/**
4444
* Delete block.

app/code/Magento/Cms/Api/PageRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ public function getById($pageId);
3434
/**
3535
* Retrieve pages matching the specified criteria.
3636
*
37-
* @param SearchCriteriaInterface $searchCriteria
37+
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
3838
* @return \Magento\Framework\Api\SearchResultsInterface
3939
* @throws \Magento\Framework\Exception\LocalizedException
4040
*/
41-
public function getList(SearchCriteriaInterface $searchCriteria);
41+
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
4242

4343
/**
4444
* Delete page.

app/code/Magento/Cms/Model/BlockRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public function getById($blockId)
121121
*
122122
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
123123
* @SuppressWarnings(PHPMD.NPathComplexity)
124-
* @param SearchCriteriaInterface $criteria
124+
* @param \Magento\Framework\Api\SearchCriteriaInterface $criteria
125125
* @return Resource\Block\Collection
126126
*/
127-
public function getList(SearchCriteriaInterface $criteria)
127+
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria)
128128
{
129129
$searchResults = $this->searchResultsFactory->create();
130130
$searchResults->setSearchCriteria($criteria);

app/code/Magento/Cms/Model/PageRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public function getById($pageId)
121121
*
122122
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
123123
* @SuppressWarnings(PHPMD.NPathComplexity)
124-
* @param SearchCriteriaInterface $criteria
124+
* @param \Magento\Framework\Api\SearchCriteriaInterface $criteria
125125
* @return Resource\Page\Collection
126126
*/
127-
public function getList(SearchCriteriaInterface $criteria)
127+
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria)
128128
{
129129
$searchResults = $this->searchResultsFactory->create();
130130
$searchResults->setSearchCriteria($criteria);

app/code/Magento/Indexer/Model/Indexer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ public function getDescription()
106106
return $this->getData('description');
107107
}
108108

109+
/**
110+
* Return indexer description
111+
*
112+
* @return string
113+
*/
114+
public function getFields()
115+
{
116+
return $this->getData('fields');
117+
}
118+
109119
/**
110120
* Fill indexer data from config
111121
*
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
}

0 commit comments

Comments
 (0)