Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
AttributeSetRepositoryInterface Interface Reference
Inheritance diagram for AttributeSetRepositoryInterface:
AttributeSetRepository

Public Member Functions

 getList (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
 
 get ($attributeSetId)
 
 save (\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet)
 
 deleteById ($attributeSetId)
 
 delete (\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet)
 

Detailed Description

Interface AttributeSetRepositoryInterface @api

Since
100.0.2

Definition at line 14 of file AttributeSetRepositoryInterface.php.

Member Function Documentation

◆ delete()

delete ( \Magento\Eav\Api\Data\AttributeSetInterface  $attributeSet)

Remove given attribute set

Parameters
\Magento\Eav\Api\Data\AttributeSetInterface$attributeSet
Exceptions

◆ deleteById()

deleteById (   $attributeSetId)

Remove attribute set by given ID

Parameters
int$attributeSetId
Exceptions

Implemented in AttributeSetRepository.

◆ get()

get (   $attributeSetId)

Retrieve attribute set information based on given ID

Parameters
int$attributeSetId
Exceptions

◆ getList()

getList ( \Magento\Framework\Api\SearchCriteriaInterface  $searchCriteria)

Retrieve list of Attribute Sets

This call returns an array of objects, but detailed information about each object’s attributes might not be included. See http://devdocs.magento.com/codelinks/attributes.html#AttributeSetRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.

Parameters
\Magento\Framework\Api\SearchCriteriaInterface$searchCriteria
Returns
\Magento\Eav\Api\Data\AttributeSetSearchResultsInterface

◆ save()

Save attribute set data

Parameters
\Magento\Eav\Api\Data\AttributeSetInterface$attributeSet
Returns
\Magento\Eav\Api\Data\AttributeSetInterface saved attribute set
Exceptions

The documentation for this interface was generated from the following file: