Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\AsynchronousOperations\Model\ResourceModel\Bulk\CollectionFactory $bulkCollection, \Magento\AsynchronousOperations\Model\ResourceModel\Operation\CollectionFactory $operationCollection, ResourceConnection $resourceConnection, CalculatedStatusSql $calculatedStatusSql, MetadataPool $metadataPool) | |
getFailedOperationsByBulkId ($bulkUuid, $failureType=null) | |
getBulkStatus ($bulkUuid) | |
![]() | |
getOperationsCountByBulkIdAndStatus ($bulkUuid, $status) | |
getBulksByUser ($userId) | |
Class BulkStatus
Definition at line 18 of file BulkStatus.php.
__construct | ( | \Magento\AsynchronousOperations\Model\ResourceModel\Bulk\CollectionFactory | $bulkCollection, |
\Magento\AsynchronousOperations\Model\ResourceModel\Operation\CollectionFactory | $operationCollection, | ||
ResourceConnection | $resourceConnection, | ||
CalculatedStatusSql | $calculatedStatusSql, | ||
MetadataPool | $metadataPool | ||
) |
BulkStatus constructor.
ResourceModel\Bulk\CollectionFactory | $bulkCollection | |
ResourceModel\Operation\CollectionFactory | $operationCollection | |
ResourceConnection | $resourceConnection | |
CalculatedStatusSql | $calculatedStatusSql | |
MetadataPool | $metadataPool |
Definition at line 53 of file BulkStatus.php.
getBulkStatus | ( | $bulkUuid | ) |
@inheritDoc
Number of operations that has been processed (i.e. operations with any status but 'open')
Total number of operations that has been scheduled within the given bulk
Number of operations that has not been started yet (i.e. operations with status 'open')
Number of operations that has been completed successfully
Implements BulkStatusInterface.
Definition at line 140 of file BulkStatus.php.
getFailedOperationsByBulkId | ( | $bulkUuid, | |
$failureType = null |
|||
) |
@inheritDoc
Implements BulkStatusInterface.
Definition at line 70 of file BulkStatus.php.