Copied!

LocalAttributeDefinitionServiceInterface

LocalAttributeDefinitionServiceInterface.php : 16

Methods

publiccreateAttributeDefinition()

LocalAttributeDefinitionServiceInterface.php : 22
public createAttributeDefinition(AttributeDefinitionCreateStruct $createStruct) : AttributeDefinitionInterface

Parameters

Name Type Default value Description
$createStruct AttributeDefinitionCreateStruct - -

Return values

AttributeDefinitionInterface

Tags
Throws
InvalidArgumentException
Throws
UnauthorizedException

publicdeleteAttributeDefinition()

LocalAttributeDefinitionServiceInterface.php : 30
public deleteAttributeDefinition(AttributeDefinitionInterface $attributeDefinition) : void

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -
Tags
Throws
InvalidArgumentException
Throws
UnauthorizedException

publicdeleteAttributeDefinitionTranslation()

LocalAttributeDefinitionServiceInterface.php : 51
public deleteAttributeDefinitionTranslation(AttributeDefinitionInterface $attributeDefinition, string $languageCode) : void

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -
$languageCode string - -

publicfindAttributesDefinitions()

AttributeDefinitionServiceInterface.php : 28
public findAttributesDefinitions([AttributeDefinitionQuery|null $query = null ]) : AttributeDefinitionListInterface

Parameters

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

Return values

AttributeDefinitionListInterface

publicgetAttributeDefinition()

AttributeDefinitionServiceInterface.php : 23
public getAttributeDefinition(string $identifier[, iterable<string|int, string>|null $prioritizedLanguages = null ]) : AttributeDefinitionInterface

Parameters

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

Return values

AttributeDefinitionInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException

publicisAttributeDefinitionUsed()

LocalAttributeDefinitionServiceInterface.php : 59
public isAttributeDefinitionUsed(AttributeDefinitionInterface $attributeDefinition) : bool

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -

Return values

bool

Tags
Throws
InvalidArgumentException

publicnewAttributeDefinitionCreateStruct()

LocalAttributeDefinitionServiceInterface.php : 34
public newAttributeDefinitionCreateStruct(string $identifier) : AttributeDefinitionCreateStruct

Parameters

Name Type Default value Description
$identifier string - -

Return values

AttributeDefinitionCreateStruct

publicnewAttributeDefinitionUpdateStruct()

LocalAttributeDefinitionServiceInterface.php : 38
public newAttributeDefinitionUpdateStruct(AttributeDefinitionInterface $attributeDefinition) : AttributeDefinitionUpdateStruct

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -

Return values

AttributeDefinitionUpdateStruct

publicupdateAttributeDefinition()

LocalAttributeDefinitionServiceInterface.php : 46
public updateAttributeDefinition(AttributeDefinitionInterface $attributeDefinition, AttributeDefinitionUpdateStruct $updateStruct) : AttributeDefinitionInterface

Parameters

Name Type Default value Description
$attributeDefinition AttributeDefinitionInterface - -
$updateStruct AttributeDefinitionUpdateStruct - -

Return values

AttributeDefinitionInterface

Tags
Throws
InvalidArgumentException
Throws
UnauthorizedException