Copied!

LocalAttributeGroupServiceInterface

LocalAttributeGroupServiceInterface.php : 16

Methods

publiccreateAttributeGroup()

LocalAttributeGroupServiceInterface.php : 21
public createAttributeGroup(AttributeGroupCreateStruct $createStruct) : AttributeGroupInterface

Parameters

Name Type Default value Description
$createStruct AttributeGroupCreateStruct - -

Return values

AttributeGroupInterface

Tags
Throws
InvalidArgumentException

publicdeleteAttributeGroup()

LocalAttributeGroupServiceInterface.php : 26
public deleteAttributeGroup(AttributeGroupInterface $group) : void

Parameters

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

publicdeleteAttributeGroupTranslation()

LocalAttributeGroupServiceInterface.php : 40
public deleteAttributeGroupTranslation(AttributeGroupInterface $attributeGroup, string $languageCode) : void

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -
$languageCode string - -

publicfindAttributeGroups()

AttributeGroupServiceInterface.php : 25
public findAttributeGroups([AttributeGroupQuery|null $query = null ]) : AttributeGroupListInterface

Parameters

Name Type Default value Description
$query AttributeGroupQuery|null null -

Return values

AttributeGroupListInterface

publicgetAttributeGroup()

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

Parameters

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

Return values

AttributeGroupInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException

publicisAttributeGroupUsed()

LocalAttributeGroupServiceInterface.php : 48
public isAttributeGroupUsed(AttributeGroupInterface $attributeGroup) : bool

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -

Return values

bool

Tags
Throws
InvalidArgumentException

publicnewAttributeGroupCreateStruct()

LocalAttributeGroupServiceInterface.php : 28
public newAttributeGroupCreateStruct(string $identifier) : AttributeGroupCreateStruct

Parameters

Name Type Default value Description
$identifier string - -

Return values

AttributeGroupCreateStruct

publicnewAttributeGroupUpdateStruct()

LocalAttributeGroupServiceInterface.php : 30
public newAttributeGroupUpdateStruct(AttributeGroupInterface $group) : AttributeGroupUpdateStruct

Parameters

Name Type Default value Description
$group AttributeGroupInterface - -

Return values

AttributeGroupUpdateStruct

publicupdateAttributeGroup()

LocalAttributeGroupServiceInterface.php : 35
public updateAttributeGroup(AttributeGroupInterface $attributeGroup, AttributeGroupUpdateStruct $updateStruct) : AttributeGroupInterface

Parameters

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

Return values

AttributeGroupInterface

Tags
Throws
InvalidArgumentException