SearchEngine domain

SearchEngine Commands

AddSearchEngineCommand

PrestaShop\PrestaShop\Core\Domain\SearchEngine\Command\AddSearchEngineCommand Adds new search engine with provided data.

Command details
Constructor parameters
  • $string $server
  • $string $queryKey
Handler class PrestaShop\PrestaShop\Adapter\SearchEngine\CommandHandler\AddSearchEngineHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\SearchEngine\CommandHandler\AddSearchEngineHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\SearchEngine\ValueObject\SearchEngineId

BulkDeleteSearchEngineCommand

PrestaShop\PrestaShop\Core\Domain\SearchEngine\Command\BulkDeleteSearchEngineCommand Deletes search engines in bulk action.

Command details
Constructor parameters
  • $array $searchEngineIds
Handler class PrestaShop\PrestaShop\Adapter\SearchEngine\CommandHandler\BulkDeleteSearchEngineHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\SearchEngine\CommandHandler\BulkDeleteSearchEngineHandlerInterface
Return type void

DeleteSearchEngineCommand

PrestaShop\PrestaShop\Core\Domain\SearchEngine\Command\DeleteSearchEngineCommand Deletes search engine.

Command details
Constructor parameters
  • $int $searchEngineId
Handler class PrestaShop\PrestaShop\Adapter\SearchEngine\CommandHandler\DeleteSearchEngineHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\SearchEngine\CommandHandler\DeleteSearchEngineHandlerInterface
Return type void

EditSearchEngineCommand

PrestaShop\PrestaShop\Core\Domain\SearchEngine\Command\EditSearchEngineCommand Edits given search engine with provided data.

Command details
Constructor parameters
  • $int $searchEngineId
Handler class PrestaShop\PrestaShop\Adapter\SearchEngine\CommandHandler\EditSearchEngineHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\SearchEngine\CommandHandler\EditSearchEngineHandlerInterface
Return type void

SearchEngine Queries

GetSearchEngineForEditing

PrestaShop\PrestaShop\Core\Domain\SearchEngine\Query\GetSearchEngineForEditing Gets search engine for editing in Back Office.

Query details
Constructor parameters
  • $int $searchEngineId
Handler class PrestaShop\PrestaShop\Adapter\SearchEngine\QueryHandler\GetSearchEngineForEditingHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\SearchEngine\QueryHandler\GetSearchEngineForEditingHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\SearchEngine\QueryResult\SearchEngineForEditing