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 CharacteristicProductRowConverter.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 typeMethods in com.broadleafcommerce.catalog.dataimport.converter with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected List<ProductCharacteristicValue>ProductRowConverter.processProductCharacteristicValues(List<ProductCharacteristicValue> parsedValues, Characteristic characteristicFromBusinessType) Processes the parsed values against the characteristic definition from 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()TheCharacteristicdefinition associated with this product.Methods in com.broadleafcommerce.catalog.domain.product.characteristic with parameters of type CharacteristicModifier and TypeMethodDescriptionvoidProductCharacteristic.setCharacteristic(Characteristic characteristic) TheCharacteristicdefinition 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 theCharacteristicsreferenced by theProductCharacteristicswhere the key is the characteristic'sfieldName.ProductDetailsContext.getRelatedCharacteristics()An aggregation of all of theCharacteristicsrelated to the resolved product.Method parameters in com.broadleafcommerce.catalog.domain.product.commerce with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoidProductDetails.setParentCharacteristics(Map<String, Characteristic> parentCharacteristics) Map of theCharacteristicsreferenced by theProductCharacteristicswhere the key is the characteristic'sfieldName.voidProductDetailsContext.setRelatedCharacteristics(List<Characteristic> relatedCharacteristics) An aggregation of all of theCharacteristicsrelated 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()TheCharacteristicassociated with this business type.Methods in com.broadleafcommerce.catalog.domain.product.type with parameters of type CharacteristicModifier and TypeMethodDescriptionvoidBusinessTypeCharacteristic.setCharacteristic(Characteristic characteristic) TheCharacteristicassociated with this business type. -
Uses of Characteristic in com.broadleafcommerce.catalog.service.autoconfigure
Method parameters in com.broadleafcommerce.catalog.service.autoconfigure with type arguments of type CharacteristicModifier and TypeMethodDescriptionCatalogServiceAutoConfiguration.productCharacteristicsTranslationService(CharacteristicService<Characteristic> characteristicService, ProductService<Product> productService, ProductCharacteristicService<ProductCharacteristic> productCharacteristicService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationService, com.broadleafcommerce.translation.mapping.ContextLocaleHelper contextLocaleHelper, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil) -
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 TypeMethodDescriptionvoidDefaultProductService.setCharacteristicService(CharacteristicService<Characteristic> characteristicService) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.businessType
Methods in com.broadleafcommerce.catalog.service.product.businessType that return CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicDefaultBusinessTypeService.deepCloneCharacteristic(Characteristic original) Creates a deep copy of aCharacteristic.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) BusinessTypeConsolidationResult.getCharacteristicsById()All Characteristics referenced by theBusinessTypeConsolidationResult.typesByKey, grouped by their ID.protected CharacteristicService<Characteristic>DefaultBusinessTypeHydrationService.getCharacteristicService()protected CharacteristicService<Characteristic>DefaultBusinessTypeService.getCharacteristicService()Methods in com.broadleafcommerce.catalog.service.product.businessType with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicDefaultBusinessTypeService.deepCloneCharacteristic(Characteristic original) Creates a deep copy of aCharacteristic.Method parameters in com.broadleafcommerce.catalog.service.product.businessType with type arguments of type CharacteristicModifier and TypeMethodDescriptionprotected voidDefaultBusinessTypeHydrationService.applyCharacteristicHydration(BusinessType businessType, Map<String, Characteristic> foundCharacteristicsById) voidBusinessTypeConsolidationResult.setCharacteristicsById(Map<String, List<Characteristic>> characteristicsById) All Characteristics referenced by theBusinessTypeConsolidationResult.typesByKey, grouped by their ID.voidDefaultBusinessTypeService.setCharacteristicService(CharacteristicService<Characteristic> characteristicService) 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 TypeInterfaceDescriptioninterfaceCharacteristicService<P extends Characteristic>classDefaultCharacteristicService<P extends Characteristic>Methods in com.broadleafcommerce.catalog.service.product.characteristic that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicService<Characteristic>DefaultCharacteristicsTranslationService.getCharacteristicService()Methods in com.broadleafcommerce.catalog.service.product.characteristic with parameters of type CharacteristicModifier and TypeMethodDescriptionvoidCharacteristicService.setBooleanCharacteristicDefaultValuesIfNeeded(Characteristic characteristic) Sets the defaultcharacteristic valuesfor a configurable booleanCharacteristic.voidDefaultCharacteristicService.setBooleanCharacteristicDefaultValuesIfNeeded(Characteristic characteristic) Constructor parameters in com.broadleafcommerce.catalog.service.product.characteristic with type arguments of type CharacteristicModifierConstructorDescriptionDefaultCharacteristicsTranslationService(com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil, com.broadleafcommerce.translation.mapping.ContextLocaleHelper contextLocaleHelper, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationService, ProductCharacteristicService<ProductCharacteristic> productCharacteristicService, ProductService<Product> productService, CharacteristicService<Characteristic> characteristicService) -
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.consolidation
Methods in com.broadleafcommerce.catalog.service.product.consolidation that return types with arguments of type CharacteristicModifier and TypeMethodDescriptionProductCharacteristicsConsolidationContributor.ProductCharacteristicsConsolidationData.getBaseCharacteristicsById()For each item inProductCharacteristicsConsolidationContributor.ProductCharacteristicsConsolidationData.getProductCharacteristicsByProductId(), this contains the baseProductCharacteristic.getCharacteristic().protected CharacteristicService<Characteristic>ProductCharacteristicsConsolidationContributor.getCharacteristicService()Method parameters in com.broadleafcommerce.catalog.service.product.consolidation with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoidProductCharacteristicsConsolidationContributor.ProductCharacteristicsConsolidationData.setBaseCharacteristicsById(Map<String, Characteristic> baseCharacteristicsById) For each item inProductCharacteristicsConsolidationContributor.ProductCharacteristicsConsolidationData.getProductCharacteristicsByProductId(), this contains the baseProductCharacteristic.getCharacteristic().Constructor parameters in com.broadleafcommerce.catalog.service.product.consolidation with type arguments of type CharacteristicModifierConstructorDescriptionProductCharacteristicsConsolidationContributor(com.broadleafcommerce.common.extension.TypeFactory typeFactory, ProductCharacteristicService<ProductCharacteristic> productCharacteristicService, CharacteristicService<Characteristic> characteristicService, CharacteristicHydrationService characteristicHydrationService, BusinessTypeService<BusinessType> businessTypeService, ProductHydrationService productHydrationService, ConsolidationBusinessTypeHydrationUtil consolidationBusinessTypeHydrationUtil) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.consolidation.util
Methods in com.broadleafcommerce.catalog.service.product.consolidation.util that return CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicConsolidationBusinessTypeHydrationUtil.findBestCharacteristic(String id, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState context, BusinessTypeConsolidationResult result) -
Uses of Characteristic in com.broadleafcommerce.catalog.service.product.hydration
Methods in com.broadleafcommerce.catalog.service.product.hydration that return CharacteristicModifier and TypeMethodDescriptionprotected CharacteristicDefaultProductHydrationService.deepCloneCharacteristic(Characteristic toClone) 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.getCharacteristicIdsToFind().protected CharacteristicService<Characteristic>DefaultProductHydrationService.getCharacteristicService()Methods in com.broadleafcommerce.catalog.service.product.hydration with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected voidDefaultProductHydrationService.addNewProductCharacteristic(Product product, Characteristic characteristic, boolean initializeDefaultValues) protected CharacteristicDefaultProductHydrationService.deepCloneCharacteristic(Characteristic toClone) protected voidDefaultProductHydrationService.determineReferences(Characteristic characteristic, ProductReferences references) protected StringDefaultProductHydrationService.getAttributeChoiceTypeFromCharacteristic(@NonNull Characteristic characteristic) Determines theAttributeChoice typefrom the configurableCharacteristic.protected List<CharacteristicValue>DefaultProductHydrationService.getCharacteristicValues(Product product, Characteristic characteristic) Retrieves the list ofCharacteristicValuesto use for generating theAttributeChoiceValuesof aProductOptionfor aCharacteristic.protected Optional<ProductOption>DefaultProductHydrationService.getOptionMatchingCharacteristic(@NonNull Product product, @NonNull Characteristic characteristic) protected StringDefaultProductHydrationService.getProductOptionTypeFromCharacteristic(@NonNull Characteristic characteristic) DeterminesProductOption typeto represent the configurableCharacteristic.protected voidDefaultProductHydrationService.hydrateExistingProductCharacteristic(Product product, Characteristic characteristic, Set<BusinessTypeCharacteristic> allCharacteristics, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultProductHydrationService.initializeDefaultCharacteristicValues(ProductCharacteristic productCharacteristic, Characteristic characteristic) protected voidDefaultProductHydrationService.setAllowedValueFromCharacteristicValue(@NonNull AttributeChoiceValue allowedValue, @NonNull CharacteristicValue characteristicValue, @NonNull Characteristic characteristic) Extension point for converting complexCharacteristic valuesto strings, whichAttributeChoice valuesrequire.protected booleanDefaultProductHydrationService.shouldAddAllowedValuesToProductOptionFromCharacteristics(String valueChoiceType, AttributeChoice attributeChoice, Characteristic characteristic) protected voidDefaultProductHydrationService.synchronizeEnumTypeCharacteristics(ProductCharacteristic pc, Characteristic characteristic) Synchronizes the enum type characteristics for a given product characteristic.protected voidDefaultProductHydrationService.synchronizePlaceholderCharacteristics(ProductCharacteristic pc, Characteristic characteristic) Synchronizes the placeholder characteristics for a given product characteristic.protected voidDefaultProductHydrationService.syncOptionForConfigurableProductCharacteristic(Product product, Characteristic characteristic) Method parameters in com.broadleafcommerce.catalog.service.product.hydration with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoidResolvedProductReferences.setCharacteristicsById(Map<String, Characteristic> characteristicsById) Contains the results of querying forProductReferences.getCharacteristicIdsToFind().voidDefaultProductHydrationService.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()protected CharacteristicService<Characteristic>ProductValidator.getCharacteristicService()Methods in com.broadleafcommerce.catalog.service.validation with parameters of type CharacteristicModifier and TypeMethodDescriptionprotected static voidProductValidator.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 TypeMethodDescriptionvoidBusinessTypeValidator.setCharacteristicService(CharacteristicService<Characteristic> characteristicService) Lazy injection since this validator is itself a service component.voidProductValidator.setCharacteristicService(CharacteristicService<Characteristic> characteristicService) protected voidBusinessTypeValidator.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 TypeMethodDescriptionbooleanCharacteristicValueTypeMapping.canHandle(Characteristic characteristic) Checks if this Mapping can handle mapping and validation for the givenvalueType.booleanCharacteristicValueValidator.canHandle(CharacteristicValue characteristicValue, Characteristic characteristic) Checks if this Validator can handle validation for the givenCharacteristicValue.valueType.booleanEnumCharacteristicValueTypeMapping.canHandle(Characteristic characteristic) booleanEnumCharacteristicValueValidator.canHandle(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) booleanSimpleCharacteristicValueTypeMapping.canHandle(Characteristic characteristic) booleanSimpleCharacteristicValueValidator.canHandle(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) booleanVariantOptionCharacteristicValueTypeMapping.canHandle(Characteristic characteristic) booleanVariantOptionCharacteristicValueValidator.canHandle(@NonNull CharacteristicValue characteristicValue, Characteristic characteristic) voidCharacteristicValueTypeMapping.validate(Characteristic characteristic, org.springframework.validation.Errors errors) Validates that each of theCharacteristic.value value typesare allowed for the Mapping implementation'svalid Characteristic value type/s.voidCharacteristicValueValidator.validate(CharacteristicValue characteristicValue, org.springframework.validation.Errors errors, Characteristic characteristic) Validates that eachCharacteristicValue.valuematches itsCharacteristicValue.valueType, along with someDefaultCharacteristicValueValueTypespecific validation forCharacteristicValues.voidEnumCharacteristicValueTypeMapping.validate(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) voidEnumCharacteristicValueValidator.validate(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) voidSimpleCharacteristicValueTypeMapping.validate(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) voidSimpleCharacteristicValueValidator.validate(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) voidVariantOptionCharacteristicValueTypeMapping.validate(@NonNull Characteristic characteristic, @NonNull org.springframework.validation.Errors errors) voidVariantOptionCharacteristicValueValidator.validate(@NonNull CharacteristicValue characteristicValue, @NonNull org.springframework.validation.Errors errors, Characteristic characteristic) protected voidCharacteristicValidator.validateFieldNameUnchanged(Characteristic characteristic, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected voidCharacteristicValidator.validateNameAndFieldName(Characteristic characteristic, org.springframework.validation.Errors errors) Method parameters in com.broadleafcommerce.catalog.service.validation.characteristic with type arguments of type CharacteristicModifier and TypeMethodDescriptionvoidCharacteristicValidator.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) protected CharacteristicCharacteristicEndpoint.createOverrideCharacteristicAndUpdateBusinessType(Characteristic originalCharacteristic, BusinessType parentBusinessType, String parentBusinessTypeId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates a newOVERRIDDENCharacteristicthat is a copy of the passed in characteristic whose inheritance type isINHERITED.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 CharacteristicCharacteristicEndpoint.createOverrideCharacteristicAndUpdateBusinessType(Characteristic originalCharacteristic, BusinessType parentBusinessType, String parentBusinessTypeId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates a newOVERRIDDENCharacteristicthat is a copy of the passed in characteristic whose inheritance type isINHERITED.protected voidCharacteristicEndpoint.hydrateCharacteristicValueValueTypes(Characteristic characteristic) CharacteristicEndpoint.replaceCharacteristic(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Characteristic characteristic) protected booleanCharacteristicEndpoint.shouldOverrideCharacteristicForInheritedCharacteristic(Characteristic characteristic, String parentCharacteristicId, BusinessType parentBusinessType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ForCharacteristics that are being updated, if theinheritanceTypeisINHERITED, then we want to create a new characteristic whose inheritance type isOVERRIDDENso that we can create a version of the characteristic for the business type that inherited it without affecting the original.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, BusinessTypeService<BusinessType> businessTypeService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.context.MessageSource messageSource, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, ObjectDeepCopyUtility objectDeepCopyUtility)