Uses of Class
com.broadleafcommerce.customer.domain.CustomerAddress
Package
Description
-
Uses of CustomerAddress in com.broadleafcommerce.customer.dataimport
Modifier and TypeMethodDescriptionprotected CustomerAddressService<CustomerAddress>
CustomerImportBatchHandler.getCustomerAddressService()
Modifier and TypeMethodDescriptionvoid
CustomerImportBatchHandler.setCustomerAddressService
(CustomerAddressService<CustomerAddress> customerAddressService) -
Uses of CustomerAddress in com.broadleafcommerce.customer.dataimport.converter
Modifier and TypeMethodDescriptionList<com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>>
CustomerAddressColumnConverter.convert
(Object parent, com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) protected List<com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>>
CustomerAddressColumnConverter.generateConversionResponsesForUnsettingExistingDefaultAddresses
(CustomerAddress newDefault, String existingDefaultShippingAddressId, String existingDefaultBillingAddressId, List<CustomerAddress> prefetchedCustomerAddresses) For this import, the provided address is always set as the new default shipping and billing address.protected List<CustomerAddress>
CustomerAddressColumnConverter.getExistingCustomerAddressesForCustomer
(String customerId, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) We expect theCustomerImportBatchHandler
to have pre-fetched customer addresses for the given customer and placed them into theBatchRequest.BatchContext.getAdditionalContextMap()
.protected com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>
CustomerAddressColumnConverter.initializeData
(@NonNull CustomerAddress customerAddress, @NonNull Map<String, String> addressColumns, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull Customer parent, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Initialize the data from the address columns onto the address instance and set additional data as needed.protected org.springframework.data.util.Pair<Boolean,
CustomerAddress> CustomerAddressColumnConverter.instantiateOrGetPrefetchedAddress
(Map<String, String> addressColumns, Customer parent, List<CustomerAddress> prefetchedCustomerAddresses) By default, address name is used as the unique identifier for determining whether the provided address information should result in the creation of a new address, or if an existing address should be updated.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.data.tracking.core.type.OperationType
CustomerAddressColumnConverter.determineOperationType
(@NonNull CustomerAddress customerAddress, boolean addressAlreadyExistsInDatastore, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord customerRecord) Determine the effective operation type for the given customer address instance and customer record.protected void
CustomerAddressColumnConverter.forceInitializeFields
(@NonNull CustomerAddress customerAddress, @NonNull Map<String, String> addressColumns, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull Customer parent, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Certain fields should never be honored from what is provided in the row and instead should be auto-set by the system.protected List<com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>>
CustomerAddressColumnConverter.generateConversionResponsesForUnsettingExistingDefaultAddresses
(CustomerAddress newDefault, String existingDefaultShippingAddressId, String existingDefaultBillingAddressId, List<CustomerAddress> prefetchedCustomerAddresses) For this import, the provided address is always set as the new default shipping and billing address.protected com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>
CustomerAddressColumnConverter.initializeData
(@NonNull CustomerAddress customerAddress, @NonNull Map<String, String> addressColumns, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull Customer parent, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Initialize the data from the address columns onto the address instance and set additional data as needed.Modifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CustomerAddress>>
CustomerAddressColumnConverter.generateConversionResponsesForUnsettingExistingDefaultAddresses
(CustomerAddress newDefault, String existingDefaultShippingAddressId, String existingDefaultBillingAddressId, List<CustomerAddress> prefetchedCustomerAddresses) For this import, the provided address is always set as the new default shipping and billing address.protected org.springframework.data.util.Pair<Boolean,
CustomerAddress> CustomerAddressColumnConverter.instantiateOrGetPrefetchedAddress
(Map<String, String> addressColumns, Customer parent, List<CustomerAddress> prefetchedCustomerAddresses) By default, address name is used as the unique identifier for determining whether the provided address information should result in the creation of a new address, or if an existing address should be updated. -
Uses of CustomerAddress in com.broadleafcommerce.customer.service
Modifier and TypeInterfaceDescriptioninterface
CustomerAddressService<P extends CustomerAddress>
Service API forCustomerAddresss
.class
DefaultCustomerAddressService<P extends CustomerAddress>
-
Uses of CustomerAddress in com.broadleafcommerce.customer.service.anonymization
Modifier and TypeMethodDescriptionprotected CustomerAddressService<CustomerAddress>
CustomerAddressAnonymizationHandler.getCustomerAddressService()
Modifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
CustomerAddressAnonymizationHandler.handleRecords
(String boundedContextIdentifier, Stream<CustomerAddress> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionCustomerAddressAnonymizationHandler
(CustomerAddressService<CustomerAddress> customerAddressService) -
Uses of CustomerAddress in com.broadleafcommerce.customer.web.endpoint
Modifier and TypeMethodDescriptionCustomerAddressEndpoint.addCustomerAddress
(String customerId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CustomerAddressEndpoint.readCustomerAddress
(String customerId, String customerAddressId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CustomerAddressEndpoint.replaceCustomerAddress
(String customerId, String customerAddressId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected CustomerAddressService<CustomerAddress>
CustomerAddressEndpoint.getCustomerAddressService()
org.springframework.data.domain.Page<CustomerAddress>
CustomerAddressEndpoint.readCustomerAddresses
(String customerId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, cz.jirutka.rsql.parser.ast.Node filters) protected org.apache.commons.lang3.tuple.Pair<Customer,
CustomerAddress> CustomerAddressEndpoint.validateAndGetCustomerAndCustomerAddressRequest
(String customerId, String customerAddressId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionCustomerAddressEndpoint.addCustomerAddress
(String customerId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) CustomerAddressEndpoint.replaceCustomerAddress
(String customerId, String customerAddressId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionCustomerAddressEndpoint
(CustomerService<Customer> customerService, CustomerAddressService<CustomerAddress> customerAddressService, com.broadleafcommerce.common.extension.TypeFactory customerFactory)