39         $this->_productRelation = $productRelation;
    50         $this->
_init(
'catalog_product_entity', 
'entity_id');
    64             [
"bo" => $this->
getTable(
'catalog_product_bundle_option')],
    72             [
"bs" => $this->
getTable(
'catalog_product_bundle_selection')],
    73             "bs.option_id = bo.option_id AND bs.parent_product_id = bo.parent_id",
    97         $connection = $this->quoteResource->getConnection();
   101                 $this->getTable(
'quote_item'),
   104                 'product_id = :product_id'   112                 [
'parent_item_id IN(?)' => $quoteItemIds]
   126         $where = [
'parent_product_id = ?' => 
$productId];
   128             $where[
'selection_id NOT IN (?) '] = $ids;
   142         $this->_productRelation->processRelations($parentId, $childIds);
   157         $this->_productRelation->addRelation($parentId, $childId);
   170         $this->_productRelation->addRelations($parentId, $childIds);
   183         $this->_productRelation->removeRelations($parentId, $childIds);
 
getSelectionsData($productId)
 
dropAllQuoteChildItems($productId)
 
addProductRelation($parentId, $childId)
 
_init($mainTable, $idFieldName)
 
addProductRelations($parentId, $childIds)
 
saveProductRelations($parentId, $childIds)
 
__construct(\Magento\Framework\Model\ResourceModel\Db\Context $context, \Magento\Catalog\Model\ResourceModel\Product\Relation $productRelation, \Magento\Quote\Model\ResourceModel\Quote $quoteResource, $connectionName=null)
 
dropAllUnneededSelections($productId, $ids)
 
removeProductRelations($parentId, $childIds)
 
_getSelect($productId, $columns=[])