Uses of Class
com.broadleafcommerce.customer.domain.CustomerAddress
Packages that use CustomerAddress
Package
Description
-
Uses of CustomerAddress in com.broadleafcommerce.customer.dataimport
Methods in com.broadleafcommerce.customer.dataimport that return types with arguments of type CustomerAddressModifier and TypeMethodDescriptionprotected CustomerAddressService<CustomerAddress>CustomerImportBatchHandler.getCustomerAddressService()Method parameters in com.broadleafcommerce.customer.dataimport with type arguments of type CustomerAddressModifier and TypeMethodDescriptionvoidCustomerImportBatchHandler.setCustomerAddressService(CustomerAddressService<CustomerAddress> customerAddressService) -
Uses of CustomerAddress in com.broadleafcommerce.customer.dataimport.converter
Methods in com.broadleafcommerce.customer.dataimport.converter that return types with arguments of type CustomerAddressModifier 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 theCustomerImportBatchHandlerto 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.Methods in com.broadleafcommerce.customer.dataimport.converter with parameters of type CustomerAddressModifier and TypeMethodDescriptionprotected com.broadleafcommerce.data.tracking.core.type.OperationTypeCustomerAddressColumnConverter.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 voidCustomerAddressColumnConverter.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.Method parameters in com.broadleafcommerce.customer.dataimport.converter with type arguments of type CustomerAddressModifier 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
Classes in com.broadleafcommerce.customer.service with type parameters of type CustomerAddressModifier and TypeInterfaceDescriptioninterfaceCustomerAddressService<P extends CustomerAddress>Service API forCustomerAddresss.classDefaultCustomerAddressService<P extends CustomerAddress> -
Uses of CustomerAddress in com.broadleafcommerce.customer.service.anonymization
Methods in com.broadleafcommerce.customer.service.anonymization that return types with arguments of type CustomerAddressModifier and TypeMethodDescriptionprotected CustomerAddressService<CustomerAddress>CustomerAddressAnonymizationHandler.getCustomerAddressService()Method parameters in com.broadleafcommerce.customer.service.anonymization with type arguments of type CustomerAddressModifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>CustomerAddressAnonymizationHandler.handleRecords(String boundedContextIdentifier, Stream<CustomerAddress> members, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Constructor parameters in com.broadleafcommerce.customer.service.anonymization with type arguments of type CustomerAddressModifierConstructorDescriptionCustomerAddressAnonymizationHandler(CustomerAddressService<CustomerAddress> customerAddressService) -
Uses of CustomerAddress in com.broadleafcommerce.customer.web.endpoint
Methods in com.broadleafcommerce.customer.web.endpoint that return CustomerAddressModifier 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) Methods in com.broadleafcommerce.customer.web.endpoint that return types with arguments of type CustomerAddressModifier 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) Methods in com.broadleafcommerce.customer.web.endpoint with parameters of type CustomerAddressModifier 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) Constructor parameters in com.broadleafcommerce.customer.web.endpoint with type arguments of type CustomerAddressModifierConstructorDescriptionCustomerAddressEndpoint(CustomerService<Customer> customerService, CustomerAddressService<CustomerAddress> customerAddressService, com.broadleafcommerce.common.extension.TypeFactory customerFactory)