Copied!

AttributeGroupServiceInterface

AttributeGroupServiceInterface.php : 19
Interface

Methods

publiccreateAttributeGroup()

AttributeGroupServiceInterface.php : 44
public createAttributeGroup(AttributeGroupCreateStruct $createStruct) : AttributeGroupInterface

Parameters

Name Type Default value Description
$createStruct AttributeGroupCreateStruct - -

Return values

AttributeGroupInterface

Tags
Throws
InvalidArgumentException

publicdeleteAttributeGroup()

AttributeGroupServiceInterface.php : 62
public deleteAttributeGroup(AttributeGroupInterface $attributeGroup) : void

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -
Tags
Throws
InvalidArgumentException

publicdeleteAttributeGroupTranslation()

AttributeGroupServiceInterface.php : 67
public deleteAttributeGroupTranslation(AttributeGroupInterface $attributeGroup, string $languageCode) : void

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -
$languageCode string - -
Tags
Throws
NotFoundException

publicfindAttributeGroups()

AttributeGroupServiceInterface.php : 36
public findAttributeGroups([AttributeGroupQuery|null $query = null ][, iterable<string|int, string>|null $prioritizedLanguages = null ]) : AttributeGroupCollectionInterface

Parameters

Name Type Default value Description
$query AttributeGroupQuery|null null -
$prioritizedLanguages iterable<string|int, string>|null null -

Return values

AttributeGroupCollectionInterface

Tags
Throws
NotFoundException

publicgetAttributeGroup()

AttributeGroupServiceInterface.php : 26
public getAttributeGroup(string $identifier[, iterable<string|int, string>|null $prioritizedLanguages = null ]) : AttributeGroupInterface

Parameters

Name Type Default value Description
$identifier string - -
$prioritizedLanguages iterable<string|int, string>|null null -

Return values

AttributeGroupInterface

Tags
Throws
NotFoundException

publicisAttributeGroupUsed()

AttributeGroupServiceInterface.php : 75
public isAttributeGroupUsed(AttributeGroupInterface $attributeGroup) : bool

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -

Return values

bool

Tags
Throws
InvalidArgumentException

publicnewAttributeGroupCreateStruct()

AttributeGroupServiceInterface.php : 46
public newAttributeGroupCreateStruct(string $identifier) : AttributeGroupCreateStruct

Parameters

Name Type Default value Description
$identifier string - -

Return values

AttributeGroupCreateStruct

publicnewAttributeGroupUpdateStruct()

AttributeGroupServiceInterface.php : 48
public newAttributeGroupUpdateStruct(AttributeGroupInterface $attributeGroup) : AttributeGroupUpdateStruct

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -

Return values

AttributeGroupUpdateStruct

publicupdateAttributeGroup()

AttributeGroupServiceInterface.php : 54
public updateAttributeGroup(AttributeGroupInterface $attributeGroup, AttributeGroupUpdateStruct $updateStruct) : AttributeGroupInterface

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -
$updateStruct AttributeGroupUpdateStruct - -

Return values

AttributeGroupInterface

Tags
Throws
InvalidArgumentException
Throws
NotFoundException