This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 3 files changed +6
-40
lines changed
app/code/Magento/AsynchronousOperations/Model
3 files changed +6
-40
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ public function getBulkDetailedStatus($bulkUuid)
233
233
{
234
234
$ bulkSummary = $ this ->bulkDetailedFactory ->create ();
235
235
236
- /** @var \Magento\AsynchronousOperations\Api\Data\BulkStatus\DetailedInterface $bulk */
236
+ /** @var \Magento\AsynchronousOperations\Api\Data\DetailedBulkStatusInterface $bulk */
237
237
$ bulk = $ this ->entityManager ->load ($ bulkSummary , $ bulkUuid );
238
238
239
239
if ($ bulk ->getBulkId () === null ) {
@@ -257,7 +257,7 @@ public function getBulkShortStatus($bulkUuid)
257
257
{
258
258
$ bulkSummary = $ this ->bulkShortFactory ->create ();
259
259
260
- /** @var \Magento\AsynchronousOperations\Api\Data\BulkStatus\ShortInterface $bulk */
260
+ /** @var \Magento\AsynchronousOperations\Api\Data\BulkStatusInterface $bulk */
261
261
$ bulk = $ this ->entityManager ->load ($ bulkSummary , $ bulkUuid );
262
262
if ($ bulk ->getBulkId () === null ) {
263
263
throw new NoSuchEntityException (
Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \AsynchronousOperations \Model \BulkStatus ;
8
8
9
- use Magento \AsynchronousOperations \Api \Data \BulkStatus \DetailedInterface ;
10
- use Magento \AsynchronousOperations \Api \Data \OperationDetailsInterface ;
9
+ use Magento \AsynchronousOperations \Api \Data \DetailedBulkStatusInterface ;
11
10
use Magento \AsynchronousOperations \Model \BulkSummary ;
12
11
13
- class Detailed extends BulkSummary implements DetailedInterface
12
+ class Detailed extends BulkSummary implements DetailedBulkStatusInterface
14
13
{
15
14
/**
16
15
* @inheritDoc
@@ -27,20 +26,4 @@ public function setOperationsList($operationStatusList)
27
26
{
28
27
return $ this ->setData (self ::OPERATIONS_LIST , $ operationStatusList );
29
28
}
30
-
31
- /**
32
- * @inheritDoc
33
- */
34
- public function getOperationsCounter ()
35
- {
36
- return $ this ->getData (self ::OPERATIONS_COUNTER );
37
- }
38
-
39
- /**
40
- * @inheritDoc
41
- */
42
- public function setOperationsCounter (OperationDetailsInterface $ operationDetails )
43
- {
44
- return $ this ->setData (self ::OPERATIONS_COUNTER , $ operationDetails );
45
- }
46
29
}
Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \AsynchronousOperations \Model \BulkStatus ;
8
8
9
- use Magento \AsynchronousOperations \Api \Data \BulkStatus \ShortInterface ;
10
- use Magento \AsynchronousOperations \Api \Data \OperationDetailsInterface ;
9
+ use Magento \AsynchronousOperations \Api \Data \BulkStatusInterface ;
11
10
use Magento \AsynchronousOperations \Model \BulkSummary ;
12
11
13
- class Short extends BulkSummary implements ShortInterface
12
+ class Short extends BulkSummary implements BulkStatusInterface
14
13
{
15
14
/**
16
15
* @inheritDoc
@@ -27,20 +26,4 @@ public function setOperationsList($operationStatusList)
27
26
{
28
27
return $ this ->setData (self ::OPERATIONS_LIST , $ operationStatusList );
29
28
}
30
-
31
- /**
32
- * @inheritDoc
33
- */
34
- public function getOperationsCounter ()
35
- {
36
- return $ this ->getData (self ::OPERATIONS_COUNTER );
37
- }
38
-
39
- /**
40
- * @inheritDoc
41
- */
42
- public function setOperationsCounter (OperationDetailsInterface $ operationDetails )
43
- {
44
- return $ this ->setData (self ::OPERATIONS_COUNTER , $ operationDetails );
45
- }
46
29
}
You can’t perform that action at this time.
0 commit comments