Uses of Class
com.broadleafcommerce.customer.domain.CustomerAddress
-
-
Uses of CustomerAddress in com.broadleafcommerce.customer.dataimport
Methods in com.broadleafcommerce.customer.dataimport that return types with arguments of type CustomerAddress Modifier and Type Method Description protected CustomerAddressService<CustomerAddress>
CustomerImportBatchHandler. getCustomerAddressService()
Method parameters in com.broadleafcommerce.customer.dataimport with type arguments of type CustomerAddress Modifier and Type Method Description void
CustomerImportBatchHandler. 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 CustomerAddress Modifier and Type Method Description List<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.Methods in com.broadleafcommerce.customer.dataimport.converter with parameters of type CustomerAddress Modifier and Type Method Description protected 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.Method parameters in com.broadleafcommerce.customer.dataimport.converter with type arguments of type CustomerAddress Modifier and Type Method Description 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 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 CustomerAddress Modifier and Type Interface Description interface
CustomerAddressService<P extends CustomerAddress>
Service API forCustomerAddresss
.class
DefaultCustomerAddressService<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 CustomerAddress Modifier and Type Method Description protected CustomerAddressService<CustomerAddress>
CustomerAddressAnonymizationHandler. getCustomerAddressService()
Method parameters in com.broadleafcommerce.customer.service.anonymization with type arguments of type CustomerAddress Modifier and Type Method Description protected 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 CustomerAddress Constructor Description CustomerAddressAnonymizationHandler(CustomerAddressService<CustomerAddress> customerAddressService)
-
Uses of CustomerAddress in com.broadleafcommerce.customer.web.endpoint
Methods in com.broadleafcommerce.customer.web.endpoint that return CustomerAddress Modifier and Type Method Description CustomerAddress
CustomerAddressEndpoint. addCustomerAddress(String customerId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
CustomerAddress
CustomerAddressEndpoint. readCustomerAddress(String customerId, String customerAddressId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
CustomerAddress
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 CustomerAddress Modifier and Type Method Description protected 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 CustomerAddress Modifier and Type Method Description CustomerAddress
CustomerAddressEndpoint. addCustomerAddress(String customerId, CustomerAddress customerAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
CustomerAddress
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 CustomerAddress Constructor Description CustomerAddressEndpoint(CustomerService<Customer> customerService, CustomerAddressService<CustomerAddress> customerAddressService, com.broadleafcommerce.common.extension.TypeFactory customerFactory)
-