![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/amasty/feed/Api/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Product Feed for Magento 2 */ namespace Amasty\Feed\Api; /** * @api */ interface FeedRepositoryInterface { /** * Save * * @param \Amasty\Feed\Api\Data\FeedInterface $feed * @param bool $withReindex * * @return \Amasty\Feed\Api\Data\FeedInterface * * @throws \Magento\Framework\Exception\CouldNotSaveException */ public function save(\Amasty\Feed\Api\Data\FeedInterface $feed, $withReindex = false); /** * Get by id * * @param int $feedId * * @return \Amasty\Feed\Api\Data\FeedInterface * * @throws \Magento\Framework\Exception\NoSuchEntityException */ public function getById($feedId); /** * Get model without data * * @return \Amasty\Feed\Api\Data\FeedInterface */ public function getEmptyModel(); /** * Delete * * @param \Amasty\Feed\Api\Data\FeedInterface $feed * * @return bool true on success * * @throws \Magento\Framework\Exception\CouldNotDeleteException */ public function delete(\Amasty\Feed\Api\Data\FeedInterface $feed); /** * Delete by id * * @param int $feedId * * @return bool true on success * * @throws \Magento\Framework\Exception\CouldNotDeleteException */ public function deleteById($feedId); /** * 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); }