Copied!

AttributeGroupServiceInterface

AttributeGroupServiceInterface.php : 20
Interface

Methods

publiccreateAttributeGroup()

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

Parameters

Name Type Default value Description
$createStruct AttributeGroupCreateStruct - -

Return values

AttributeGroupInterface

Tags
Throws
InvalidArgumentException
Throws
UnauthorizedException

publicdeleteAttributeGroup()

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

Parameters

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

publicdeleteAttributeGroupTranslation()

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

Parameters

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

publicfindAttributeGroups()

AttributeGroupServiceInterface.php : 37
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 : 27
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 : 80
public isAttributeGroupUsed(AttributeGroupInterface $attributeGroup) : bool

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -

Return values

bool

Tags
Throws
InvalidArgumentException

publicnewAttributeGroupCreateStruct()

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

Parameters

Name Type Default value Description
$identifier string - -

Return values

AttributeGroupCreateStruct

publicnewAttributeGroupUpdateStruct()

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

Parameters

Name Type Default value Description
$attributeGroup AttributeGroupInterface - -

Return values

AttributeGroupUpdateStruct

publicupdateAttributeGroup()

AttributeGroupServiceInterface.php : 57
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
Throws
UnauthorizedException