<?php
namespace Amasty\Xsearch\Model\Indexer\External;

/**
 * Interceptor class for @see \Amasty\Xsearch\Model\Indexer\External
 */
class Interceptor extends \Amasty\Xsearch\Model\Indexer\External implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\App\State $appState, ?\Amasty\Xsearch\Model\Config $config, \Magento\CatalogSearch\Model\Indexer\IndexerHandlerFactory $indexerHandlerFactory, \Amasty\Xsearch\Model\Indexer\ExternalIndexerProvider $externalIndexerProvider, \Magento\Framework\Indexer\DimensionProviderInterface $dimensionProvider, \Psr\Log\LoggerInterface $logger, array $data, ?\Amasty\Xsearch\Model\IsElasticEngine $isElasticEngine = null)
    {
        $this->___init();
        parent::__construct($appState, $config, $indexerHandlerFactory, $externalIndexerProvider, $dimensionProvider, $logger, $data, $isElasticEngine);
    }

    /**
     * {@inheritdoc}
     */
    public function executeFull()
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'executeFull');
        return $pluginInfo ? $this->___callPlugins('executeFull', func_get_args(), $pluginInfo) : parent::executeFull();
    }

    /**
     * {@inheritdoc}
     */
    public function executeRow($id)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'executeRow');
        return $pluginInfo ? $this->___callPlugins('executeRow', func_get_args(), $pluginInfo) : parent::executeRow($id);
    }

    /**
     * {@inheritdoc}
     */
    public function executeList(array $ids)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'executeList');
        return $pluginInfo ? $this->___callPlugins('executeList', func_get_args(), $pluginInfo) : parent::executeList($ids);
    }
}
