|
| __construct (\Magento\Eav\Model\Entity\Context $context, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\Factory $modelFactory, \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryCollectionFactory, Category $catalogCategory, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Eav\Model\Entity\Attribute\SetFactory $setFactory, \Magento\Eav\Model\Entity\TypeFactory $typeFactory, \Magento\Catalog\Model\Product\Attribute\DefaultAttributes $defaultAttributes, $data=[], TableMaintainer $tableMaintainer=null) |
|
| getEntityType () |
|
| getProductWebsiteTable () |
|
| getProductCategoryTable () |
|
| getWebsiteIds ($product) |
|
| getWebsiteIdsByProductIds ($productIds) |
|
| getCategoryIds ($product) |
|
| getIdBySku ($sku) |
|
| delete ($object) |
|
| getAvailableInCategories ($object) |
|
| getDefaultAttributeSourceModel () |
|
| canBeShowInCategory ($product, $categoryId) |
|
| duplicate ($oldId, $newId) |
|
| getProductsSku (array $productIds) |
|
| getProductsIdsBySkus (array $productSkuList) |
|
| getProductEntitiesInfo ($columns=null) |
|
| countAll () |
|
| validate ($object) |
|
| load ($object, $entityId, $attributes=[]) |
|
| save (\Magento\Framework\Model\AbstractModel $object) |
|
| __construct (\Magento\Eav\Model\Entity\Context $context, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Catalog\Model\Factory $modelFactory, $data=[]) |
|
| getDefaultStoreId () |
|
| getAttributeRawValue ($entityId, $attribute, $store) |
|
| __construct (Context $context, $data=[]) |
|
| setConnection ($connection) |
|
| getConnection () |
|
| getIdFieldName () |
|
| getTable ($alias) |
|
| setType ($type) |
|
| getEntityType () |
|
| getType () |
|
| getTypeId () |
|
| unsetAttributes ($attributes=null) |
|
| addAttribute (AbstractAttribute $attribute, $object=null) |
|
| isPartialLoad ($flag=null) |
|
| isPartialSave ($flag=null) |
|
| loadAllAttributes ($object=null) |
|
| getSortedAttributes ($setId=null) |
|
| attributesCompare ($firstAttribute, $secondAttribute) |
|
| getAttributesByCode () |
|
| getAttributesByTable () |
|
| getEntityTable () |
|
| getLinkField () |
|
| getEntityIdField () |
|
| getValueEntityIdField () |
|
| getValueTablePrefix () |
|
| getEntityTablePrefix () |
|
| isAttributeStatic ($attribute) |
|
| validate ($object) |
|
| setNewIncrementId (DataObject $object) |
|
| checkAttributeUniqueValue (AbstractAttribute $attribute, $object) |
|
| getDefaultAttributeSourceModel () |
|
| load ($object, $entityId, $attributes=[]) |
|
| save (\Magento\Framework\Model\AbstractModel $object) |
|
| saveAttribute (DataObject $object, $attributeCode) |
|
| delete ($object) |
|
| getDefaultAttributes () |
|
| afterLoad (DataObject $object) |
|
| beforeSave (DataObject $object) |
|
| afterSave (DataObject $object) |
|
| beforeDelete (DataObject $object) |
|
| afterDelete (DataObject $object) |
|
| __construct () |
|
| getConnection () |
|
| beginTransaction () |
|
| addCommitCallback ($callback) |
|
| commit () |
|
| rollBack () |
|
| getValidationRulesBeforeSave () |
|
|
| _getDefaultAttributes () |
|
| _beforeSave (\Magento\Framework\DataObject $object) |
|
| _afterSave (\Magento\Framework\DataObject $product) |
|
| _saveWebsiteIds ($product) |
|
| _saveCategories (\Magento\Framework\DataObject $object) |
|
| evaluateDelete ($object, $id, $connection) |
|
| getAttributeRow ($entity, $object, $attribute) |
|
| _getDefaultAttributeModel () |
|
| _isApplicableAttribute ($object, $attribute) |
|
| _isCallableAttributeInstance ($instance, $method, $args) |
|
| _getLoadAttributesSelect ($object, $table) |
|
| _prepareLoadSelect (array $selects) |
|
| _saveAttributeValue ($object, $attribute, $value) |
|
| _insertAttribute ($object, $attribute, $value) |
|
| _updateAttribute ($object, $attribute, $valueId, $value) |
|
| _updateAttributeForStore ($object, $attribute, $value, $storeId) |
|
| _deleteAttributes ($object, $table, $info) |
|
| _getOrigObject ($object) |
|
| _canUpdateAttribute (AbstractAttribute $attribute, $value, array &$origData) |
|
| _construct () |
|
| _getConfig () |
|
| _isApplicableAttribute ($object, $attribute) |
|
| _isCallableAttributeInstance ($instance, $method, $args) |
|
| loadAttributesMetadata ($attributes) |
|
| _loadModelAttributes ($object) |
|
| _prepareLoadSelect (array $selects) |
|
| _getLoadRowSelect ($object, $rowId) |
|
| _getLoadAttributesSelect ($object, $table) |
|
| _setAttributeValue ($object, $valueRow) |
|
| processSave ($object) |
|
| _getOrigObject ($object) |
|
| _collectSaveData ($newObject) |
|
| _canUpdateAttribute (AbstractAttribute $attribute, $v, array &$origData) |
|
| _getStaticFieldProperties ($field) |
|
| _prepareStaticValue ($key, $value) |
|
| _insertAttribute ($object, $attribute, $value) |
|
| _updateAttribute ($object, $attribute, $valueId, $value) |
|
| _saveAttribute ($object, $attribute, $value) |
|
| _processAttributeValues () |
|
| _prepareValueForSave ($value, AbstractAttribute $attribute) |
|
| _deleteAttributes ($object, $table, $info) |
|
| getAttributeRow ($entity, $object, $attribute) |
|
| evaluateDelete ($object, $id, $connection) |
|
| _afterLoad (DataObject $object) |
|
| _beforeSave (DataObject $object) |
|
| _afterSave (DataObject $object) |
|
| _beforeDelete (DataObject $object) |
|
| _afterDelete (DataObject $object) |
|
| _getDefaultAttributeModel () |
|
| _getDefaultAttributes () |
|
| _isAttributeValueEmpty (AbstractAttribute $attribute, $value) |
|
| getAttributeLoader () |
|
| loadAttributesForObject ($attributes, $object=null) |
|
| _construct () |
|
| _serializeField (DataObject $object, $field, $defaultValue=null, $unsetEmpty=false) |
|
| _unserializeField (DataObject $object, $field, $defaultValue=null) |
|
| _prepareDataForTable (DataObject $object, $table) |
|
| _prepareTableValueForSave ($value, $type) |
|
| _getColumnsForEntityLoad (\Magento\Framework\Model\AbstractModel $object, $tableName) |
|
| getSerializer () |
|
Product entity resource model
@api @SuppressWarnings(PHPMD.LongVariable) @SuppressWarnings(PHPMD.CouplingBetweenObjects)
- Since
- 100.0.2
Definition at line 20 of file Product.php.