Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
PrestaShop\PrestaShop\Core\Domain\Employee\Command\AddEmployeeCommand
Adds new employee with given data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\AddEmployeeHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\EmployeeId |
PrestaShop\PrestaShop\Core\Domain\Employee\Command\BulkDeleteEmployeeCommand
Class BulkDeleteEmployeeCommand.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\BulkDeleteEmployeeHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Employee\Command\BulkUpdateEmployeeStatusCommand
Class UpdateEmployeesStatusCommand updates employees status.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\BulkUpdateEmployeeStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Employee\Command\DeleteEmployeeCommand
Class DeleteEmployeeCommand deletes given employee.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\DeleteEmployeeHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand
Edit employee with given data.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\EditEmployeeHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Employee\Command\ToggleEmployeeStatusCommand
Class ToggleEmployeeStatusCommand.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\CommandHandler\ToggleEmployeeStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Employee\Query\GetEmployeeEmailById
__
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\QueryHandler\GetEmployeeEmailByIdHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\ValueObject\Email |
PrestaShop\PrestaShop\Core\Domain\Employee\Query\GetEmployeeForEditing
Gets employee information for editing.
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Profile\Employee\QueryHandler\GetEmployeeForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Employee\QueryResult\EditableEmployee |