Uses of Class
com.broadleafcommerce.catalog.domain.product.characteristic.Characteristic
Packages that use Characteristic
Package
Description
-
Uses of Characteristic in com.broadleafcommerce.catalog.dataimport.converter
Methods in com.broadleafcommerce.catalog.dataimport.converter that return CharacteristicModifier and TypeMethodDescriptionprotected Characteristic
ProductRowConverter.validateCharacteristicValues
(BusinessType businessType, String key, List<Object> convertedValues, AtomicReference<BusinessTypeCharacteristic> foundCharacteristic) Extension point that allows implementers to extend or override the basic validation around imported characteristic values based on the defined value type on the business type -
Uses of Characteristic in com.broadleafcommerce.catalog.domain.product.characteristic
Methods in com.broadleafcommerce.catalog.domain.product.characteristic that return CharacteristicModifier and TypeMethodDescriptionProductCharacteristic.getCharacteristic()
TheCharacteristic
definition associated with this product.Methods in com.broadleafcommerce.catalog.domain.product.characteristic with parameters of type CharacteristicModifier and TypeMethodDescriptionvoid
ProductCharacteristic.setCharacteristic
(Characteristic characteristic) TheCharacteristic
definition associated with this product. -
Uses of Characteristic in com.broadleafcommerce.catalog.domain.product.commerce
Methods in com.broadleafcommerce.catalog.domain.product.commerce that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionProductDetails.getParentCharacteristics()
Map of theCharacteristics
referenced by theProductCharacteristics
where the key is the characteristic'sfieldName
.ProductDetailsContext.getRelatedCharacteristics()
An aggregation of all of theCharacteristics
related to the resolved product.Method parameters in com.broadleafcommerce.catalog.domain.product.commerce with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
ProductDetails.setParentCharacteristics
(Map<String, Characteristic> parentCharacteristics) Map of theCharacteristics
referenced by theProductCharacteristics
where the key is the characteristic'sfieldName
.void
ProductDetailsContext.setRelatedCharacteristics
(List<Characteristic> relatedCharacteristics) An aggregation of all of theCharacteristics
related to the resolved product. -
Uses of Characteristic in com.broadleafcommerce.catalog.domain.product.type
Methods in com.broadleafcommerce.catalog.domain.product.type that return CharacteristicModifier and TypeMethodDescriptionBusinessTypeCharacteristic.getCharacteristic()
TheCharacteristic
associated with this business type.Methods in com.broadleafcommerce.catalog.domain.product.type with parameters of type CharacteristicModifier and TypeMethodDescriptionvoid
BusinessTypeCharacteristic.setCharacteristic
(Characteristic characteristic) TheCharacteristic
associated with this business type. -
Uses of Characteristic in com.broadleafcommerce.catalog.mapping
Methods in com.broadleafcommerce.catalog.mapping that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
ProductBaseCharacteristicTranslationPostMapperMember.getCharacteristicService()
Method parameters in com.broadleafcommerce.catalog.mapping with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
ProductBaseCharacteristicTranslationPostMapperMember.setCharacteristicService
(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product
Methods in com.broadleafcommerce.catalog.service.product that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
DefaultProductService.getCharacteristicService()
Method parameters in com.broadleafcommerce.catalog.service.product with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
DefaultProductService.setCharacteristicService
(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.businessType
Methods in com.broadleafcommerce.catalog.service.product.businessType that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected Map<String,
Characteristic> DefaultBusinessTypeHydrationService.findCharacteristicsById
(@NonNull Set<String> characteristicIdsToFind, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected CharacteristicService<Characteristic>
DefaultBusinessTypeHydrationService.getCharacteristicService()
Method parameters in com.broadleafcommerce.catalog.service.product.businessType with type arguments of type CharacteristicModifier and TypeMethodDescriptionprotected void
DefaultBusinessTypeHydrationService.applyCharacteristicHydration
(BusinessType businessType, Map<String, Characteristic> foundCharacteristicsById) Constructor parameters in com.broadleafcommerce.catalog.service.product.businessType with type arguments of type CharacteristicModifierConstructorDescriptionDefaultBusinessTypeHydrationService
(CharacteristicService<Characteristic> characteristicService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.characteristic
Classes in com.broadleafcommerce.catalog.service.product.characteristic with type parameters of type CharacteristicModifier and TypeInterfaceDescriptioninterface
CharacteristicService<P extends Characteristic>
class
DefaultCharacteristicService<P extends Characteristic>
-
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.commerce.context.contributor
Methods in com.broadleafcommerce.catalog.service.product.commerce.context.contributor that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
RelatedCharacteristicsProductContextContributor.getCharacteristicService()
Constructor parameters in com.broadleafcommerce.catalog.service.product.commerce.context.contributor with type arguments of type CharacteristicModifierConstructorDescriptionRelatedCharacteristicsProductContextContributor
(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.hydration
Methods in com.broadleafcommerce.catalog.service.product.hydration that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionResolvedProductReferences.getCharacteristicsById()
Contains the results of querying forProductReferences#characteristicsToFind
.protected CharacteristicService<Characteristic>
DefaultProductHydrationService.getCharacteristicService()
Methods in com.broadleafcommerce.catalog.service.product.hydration with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected void
DefaultProductHydrationService.determineReferences
(Characteristic characteristic, ProductReferences references) protected String
DefaultProductHydrationService.getAttributeChoiceTypeFromCharacteristic
(@NonNull Characteristic characteristic) Determines theAttributeChoice type
from the configurableCharacteristic
.protected Optional<ProductOption>
DefaultProductHydrationService.getOptionMatchingCharacteristic
(@NonNull Product product, @NonNull Characteristic characteristic) protected String
DefaultProductHydrationService.getProductOptionTypeFromCharacteristic
(@NonNull Characteristic characteristic) DeterminesProductOption type
to represent the configurableCharacteristic
.protected void
DefaultProductHydrationService.hydrateConfigurableProductCharacteristics
(Product product, Characteristic characteristic) Generates aProductOption
for any newly discoveredCharacteristic
that isconfigurable
or adds any missingAttributeChoiceValues
if theProduct
already has a matchingProductOption
from theCharacteristicValues
.protected void
DefaultProductHydrationService.setAllowedValueFromCharacteristicValue
(@NonNull AttributeChoiceValue allowedValue, @NonNull CharacteristicValue characteristicValue, @NonNull Characteristic characteristic) Extension point for converting complexCharacteristic values
to strings, whichAttributeChoice values
require.Method parameters in com.broadleafcommerce.catalog.service.product.hydration with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
ResolvedProductReferences.setCharacteristicsById
(Map<String, Characteristic> characteristicsById) Contains the results of querying forProductReferences#characteristicsToFind
.void
DefaultProductHydrationService.setCharacteristicService
(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.validation
Methods in com.broadleafcommerce.catalog.service.validation that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
BusinessTypeValidator.getCharacteristicService()
Methods in com.broadleafcommerce.catalog.service.validation with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected static void
ProductValidator.validateCharacteristicRegex
(org.springframework.validation.Errors errors, String key, Characteristic characteristic, List<ProductCharacteristicValue> values) Method parameters in com.broadleafcommerce.catalog.service.validation with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
BusinessTypeValidator.setCharacteristicService
(CharacteristicService<Characteristic> characteristicService) Lazy injection since this validator is itself a service component.protected void
BusinessTypeValidator.validateCharacteristicExistsAndIsUnique
(@NonNull BusinessTypeCharacteristic businessTypeCharacteristic, @NonNull org.springframework.validation.Errors errors, @NonNull Map<String, Characteristic> foundCharacteristicsById, @NonNull Set<String> seenCharacteristicFieldNames) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.validation.characteristic
Methods in com.broadleafcommerce.catalog.service.validation.characteristic that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
CharacteristicValidator.getCharacteristicService()
Methods in com.broadleafcommerce.catalog.service.validation.characteristic with parameters of type CharacteristicModifier and TypeMethodDescriptionboolean
CharacteristicValueTypeMapping.canHandle
(Characteristic characteristic) Checks if this Mapping can handle mapping and validation for the givenvalueType
.boolean
CharacteristicValueValidator.canHandle
(CharacteristicValue characteristicValue, Characteristic characteristic) Checks if this Validator can handle validation for the givenCharacteristicValue.valueType
.boolean
EnumCharacteristicValueTypeMapping.canHandle
(Characteristic characteristic) boolean
EnumCharacteristicValueValidator.canHandle
(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) boolean
SimpleCharacteristicValueTypeMapping.canHandle
(Characteristic characteristic) boolean
SimpleCharacteristicValueValidator.canHandle
(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) boolean
VariantOptionCharacteristicValueTypeMapping.canHandle
(Characteristic characteristic) boolean
VariantOptionCharacteristicValueValidator.canHandle
(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) void
CharacteristicValueTypeMapping.validate
(Characteristic characteristic, org.springframework.validation.Errors errors) Validates that each of theCharacteristic.value value types
are allowed for the Mapping implementation'svalid Characteristic value type/s
.void
CharacteristicValueValidator.validate
(CharacteristicValue characteristicValue, org.springframework.validation.Errors errors, Characteristic characteristic) Validates that eachCharacteristicValue.value
matches itsCharacteristicValue.valueType
, along with someDefaultCharacteristicValueValueType
specific validation forCharacteristicValues
.void
EnumCharacteristicValueTypeMapping.validate
(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) void
EnumCharacteristicValueValidator.validate
(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) void
SimpleCharacteristicValueTypeMapping.validate
(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) void
SimpleCharacteristicValueValidator.validate
(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) void
VariantOptionCharacteristicValueTypeMapping.validate
(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) void
VariantOptionCharacteristicValueValidator.validate
(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) protected void
CharacteristicValidator.validateFieldNameUnchanged
(Characteristic characteristic, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
CharacteristicValidator.validateNameAndFieldName
(Characteristic characteristic, org.springframework.validation.Errors errors) Method parameters in com.broadleafcommerce.catalog.service.validation.characteristic with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoid
CharacteristicValidator.setCharacteristicService
(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.web.endpoint
Methods in com.broadleafcommerce.catalog.web.endpoint that return CharacteristicModifier and TypeMethodDescriptionCharacteristicEndpoint.createCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Characteristic characteristic) CharacteristicEndpoint.readCharacteristicById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String characteristicId) CharacteristicEndpoint.replaceCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Characteristic characteristic) CharacteristicEndpoint.updateCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Characteristic characteristic) Methods in com.broadleafcommerce.catalog.web.endpoint that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>
CharacteristicEndpoint.getCharacteristicService()
org.springframework.data.domain.Page<Characteristic>
CharacteristicEndpoint.readAllCharacteristics
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Methods in com.broadleafcommerce.catalog.web.endpoint with parameters of type CharacteristicModifier and TypeMethodDescriptionCharacteristicEndpoint.createCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Characteristic characteristic) protected void
CharacteristicEndpoint.hydrateCharacteristicValueValueTypes
(Characteristic characteristic) CharacteristicEndpoint.replaceCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Characteristic characteristic) CharacteristicEndpoint.updateCharacteristic
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Characteristic characteristic) Constructor parameters in com.broadleafcommerce.catalog.web.endpoint with type arguments of type CharacteristicModifierConstructorDescriptionCharacteristicEndpoint
(CharacteristicService<Characteristic> characteristicService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.context.MessageSource messageSource, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService)