Class DefaultB2CSapCustomerAccountService
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
-
- com.sap.hybris.sapcustomerb2c.outbound.DefaultB2CSapCustomerAccountService
-
- All Implemented Interfaces:
CustomerAccountService
public class DefaultB2CSapCustomerAccountService extends DefaultCustomerAccountService
override the generateCustomerID method of classDefaultCustomerAccountServiceand use the sapCustomerIdGenerator to generate a customer ID
-
-
Constructor Summary
Constructors Constructor Description DefaultB2CSapCustomerAccountService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateContactId(CustomerModel customerModel)Generates with sapCustomerIdGenerator a customer ID during registrationprotected voidgenerateCustomerId(CustomerModel customerModel)Generates with sapCustomerIdGenerator a customer ID during registrationPersistentKeyGeneratorgetSapContactIdGenerator()Returns the Generator instancePersistentKeyGeneratorgetSapCustomerIdGenerator()Returns the sapCustomerIdGeneratorvoidsetSapContactIdGenerator(PersistentKeyGenerator sapContactIdGenerator)Sets the Contact ID GeneratorvoidsetSapCustomerIdGenerator(PersistentKeyGenerator sapCustomerIdGenerator)Sets the sapCustomerIdGenerator-
Methods inherited from class de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
addPaymentInfo, adjustPassword, changePassword, changeUid, checkUidUniqueness, clearDefaultAddressEntry, closeAccount, convertGuestToCustomer, createPaymentSubscription, deleteAddressEntry, deleteCCPaymentInfo, fillValuesForCustomerInfo, forgottenPassword, getAddressBookDeliveryEntries, getAddressBookEntries, getAddressForCode, getAllAddressEntries, getBaseSiteService, getBaseStoreService, getCommerceCommonI18NService, getCommonI18NService, getConfigurationService, getCreditCardPaymentInfoForCode, getCreditCardPaymentInfos, getCurrency, getCustomerAccountDao, getCustomerEmailResolutionService, getCustomerNameStrategy, getDefaultAddress, getEventService, getFlexibleSearchService, getGuestOrderForGUID, getI18nService, getMaskedCardNumber, getModelService, getMonthsForOrderExpiry, getOrderDetailsForGUID, getOrderForCode, getOrderForCode, getOrderList, getOrderList, getPasswordEncoderService, getPasswordEncoding, getPaymentService, getReturnRequestsByCustomerAndStore, getSecureTokenService, getTimeService, getTitles, getTokenValiditySeconds, getTypeService, getUserService, initializeEvent, internalSaveCustomer, register, registerCustomer, registerGuestForAnonymousCheckout, saveAddressEntry, setBaseSiteService, setBaseStoreService, setCommerceCommonI18NService, setCommonI18NService, setConfigurationService, setCustomerAccountDao, setCustomerEmailResolutionService, setCustomerNameStrategy, setDefaultAddressEntry, setDefaultPaymentInfo, setEventService, setFlexibleSearchService, setI18nService, setModelService, setMonthsForOrderExpiry, setPasswordEncoderService, setPasswordEncoding, setPaymentService, setSecureTokenService, setTimeService, setTokenValiditySeconds, setTypeService, setUserService, unlinkCCPaymentInfo, updatePassword, updateProfile
-
-
-
-
Method Detail
-
generateCustomerId
protected void generateCustomerId(CustomerModel customerModel)
Generates with sapCustomerIdGenerator a customer ID during registration- Overrides:
generateCustomerIdin classDefaultCustomerAccountService- Parameters:
customerModel-
-
generateContactId
protected void generateContactId(CustomerModel customerModel)
Generates with sapCustomerIdGenerator a customer ID during registration- Parameters:
customerModel-
-
getSapCustomerIdGenerator
public PersistentKeyGenerator getSapCustomerIdGenerator()
Returns the sapCustomerIdGenerator- Returns:
- sapCustomerIdGenerator
-
setSapCustomerIdGenerator
public void setSapCustomerIdGenerator(PersistentKeyGenerator sapCustomerIdGenerator)
Sets the sapCustomerIdGenerator- Parameters:
sapCustomerIdGenerator-
-
getSapContactIdGenerator
public PersistentKeyGenerator getSapContactIdGenerator()
Returns the Generator instance- Returns:
- sapContactIdGenerator
-
setSapContactIdGenerator
public void setSapContactIdGenerator(PersistentKeyGenerator sapContactIdGenerator)
Sets the Contact ID Generator- Parameters:
sapContactIdGenerator-
-
-