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
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
namespace Magento\Sales\Model\Order\ShipmentRepository;
/**
* Interceptor class for @see \Magento\Sales\Model\Order\ShipmentRepository
*/
class Interceptor extends \Magento\Sales\Model\Order\ShipmentRepository implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Sales\Model\ResourceModel\Metadata $metadata, \Magento\Sales\Api\Data\ShipmentSearchResultInterfaceFactory $searchResultFactory, ?\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor = null)
{
$this->___init();
parent::__construct($metadata, $searchResultFactory, $collectionProcessor);
}
/**
* {@inheritdoc}
*/
public function get($id)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'get');
if (!$pluginInfo) {
return parent::get($id);
} else {
return $this->___callPlugins('get', 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\Sales\Api\Data\ShipmentInterface $entity)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'delete');
if (!$pluginInfo) {
return parent::delete($entity);
} 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);
}
}
/**
* {@inheritdoc}
*/
public function save(\Magento\Sales\Api\Data\ShipmentInterface $entity)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'save');
if (!$pluginInfo) {
return parent::save($entity);
} else {
return $this->___callPlugins('save', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function create()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'create');
if (!$pluginInfo) {
return parent::create();
} else {
return $this->___callPlugins('create', func_get_args(), $pluginInfo);
}
}
}