1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
namespace Magento\Customer\Model\ResourceModel\GroupRepository;
/**
* Interceptor class for @see \Magento\Customer\Model\ResourceModel\GroupRepository
*/
class Interceptor extends \Magento\Customer\Model\ResourceModel\GroupRepository implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Customer\Model\GroupRegistry $groupRegistry, \Magento\Customer\Model\GroupFactory $groupFactory, \Magento\Customer\Api\Data\GroupInterfaceFactory $groupDataFactory, \Magento\Customer\Model\ResourceModel\Group $groupResourceModel, \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor, \Magento\Customer\Api\Data\GroupSearchResultsInterfaceFactory $searchResultsFactory, \Magento\Tax\Api\TaxClassRepositoryInterface $taxClassRepositoryInterface, \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $extensionAttributesJoinProcessor, ?\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor = null)
{
$this->___init();
parent::__construct($groupRegistry, $groupFactory, $groupDataFactory, $groupResourceModel, $dataObjectProcessor, $searchResultsFactory, $taxClassRepositoryInterface, $extensionAttributesJoinProcessor, $collectionProcessor);
}
/**
* {@inheritdoc}
*/
public function save(\Magento\Customer\Api\Data\GroupInterface $group)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'save');
if (!$pluginInfo) {
return parent::save($group);
} else {
return $this->___callPlugins('save', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function getById($id)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getById');
if (!$pluginInfo) {
return parent::getById($id);
} else {
return $this->___callPlugins('getById', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getList');
if (!$pluginInfo) {
return parent::getList($searchCriteria);
} else {
return $this->___callPlugins('getList', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function delete(\Magento\Customer\Api\Data\GroupInterface $group)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'delete');
if (!$pluginInfo) {
return parent::delete($group);
} else {
return $this->___callPlugins('delete', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function deleteById($id)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'deleteById');
if (!$pluginInfo) {
return parent::deleteById($id);
} else {
return $this->___callPlugins('deleteById', func_get_args(), $pluginInfo);
}
}
}