ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
@@ -0,0 +1,74 @@
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Elastic Search Base for Magento 2
*/
namespace Amasty\ElasticSearch\Api;
/**
* @api
*/
interface StopWordRepositoryInterface
{
/**
* Save
*
* @param \Amasty\ElasticSearch\Api\Data\StopWordInterface $stopWord
* @return \Amasty\ElasticSearch\Api\Data\StopWordInterface
*/
public function save(\Amasty\ElasticSearch\Api\Data\StopWordInterface $stopWord);
/**
* Get by id
*
* @param int $stopWordId
* @return \Amasty\ElasticSearch\Api\Data\StopWordInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getById($stopWordId);
/**
* Delete
*
* @param \Amasty\ElasticSearch\Api\Data\StopWordInterface $stopWord
* @return bool true on success
* @throws \Magento\Framework\Exception\CouldNotDeleteException
*/
public function delete(\Amasty\ElasticSearch\Api\Data\StopWordInterface $stopWord);
/**
* Delete by id
*
* @param int $stopWordId
* @return bool true on success
* @throws \Magento\Framework\Exception\CouldNotDeleteException
*/
public function deleteById($stopWordId);
/**
* Lists
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Framework\Api\SearchResultsInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
/**
* Stop Words array by storeid
*
* @param int $storeId
* @return array
*/
public function getArrayListByStoreId($storeId);
/**
* @param $file
* @param $storeId
* @return int
* @throws \Exception
*/
public function importStopWords($file, $storeId);
}