Class DefaultCustomerAccountService
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
-
- All Implemented Interfaces:
CustomerAccountService
- Direct Known Subclasses:
DefaultB2BCustomerAccountService
,DefaultB2CSapCustomerAccountService
,DefaultChineseCustomerAccountService
,DefaultSapDigitalPaymentCustomerAccountService
,ProfileCustomerAccountService
public class DefaultCustomerAccountService extends java.lang.Object implements CustomerAccountService
Default implementation ofCustomerAccountService
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerAccountService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addPaymentInfo(CustomerModel customerModel, PaymentInfoModel paymentInfoModel)
protected void
adjustPassword(UserModel currentUser, java.lang.String newUid, java.lang.String currentPassword)
Adjusts a given current userPrincipalModel.UID
with a newUid value unless the user with newUid does not exists and password for current user matches given currentPassword.void
changePassword(UserModel userModel, java.lang.String oldPassword, java.lang.String newPassword)
Changes user password.void
changeUid(java.lang.String newUid, java.lang.String currentPassword)
Changes uid for current userprotected void
checkUidUniqueness(java.lang.String newUid)
void
clearDefaultAddressEntry(CustomerModel customerModel)
Clears default address on the given customerCustomerModel
closeAccount(CustomerModel customer)
Close Account for a customer.void
convertGuestToCustomer(java.lang.String pwd, java.lang.String orderGUID)
Converts a Guest Customer of anonymous checkout to a regular customerCreditCardPaymentInfoModel
createPaymentSubscription(CustomerModel customerModel, CardInfo cardInfo, BillingInfo billingInfo, java.lang.String titleCode, java.lang.String paymentProvider, boolean saveInAccount)
Creates a payment subscription using specifiedpaymentProvider
.void
deleteAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Delete address entry.void
deleteCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
Delete credit card payment info.protected void
fillValuesForCustomerInfo(CustomerModel customer)
void
forgottenPassword(CustomerModel customerModel)
Sends a forgotten password eventprotected void
generateCustomerId(CustomerModel customerModel)
java.util.List<AddressModel>
getAddressBookDeliveryEntries(CustomerModel customerModel)
Returns all delivery address book entries from the given customer.java.util.List<AddressModel>
getAddressBookEntries(CustomerModel customerModel)
Returns all visible address book entries from the given customer.AddressModel
getAddressForCode(CustomerModel customerModel, java.lang.String code)
Get a customer address given its codejava.util.List<AddressModel>
getAllAddressEntries(CustomerModel customerModel)
Returns all address book entries from the given customer.protected BaseSiteService
getBaseSiteService()
protected BaseStoreService
getBaseStoreService()
protected CommerceCommonI18NService
getCommerceCommonI18NService()
protected CommonI18NService
getCommonI18NService()
protected ConfigurationService
getConfigurationService()
CreditCardPaymentInfoModel
getCreditCardPaymentInfoForCode(CustomerModel customerModel, java.lang.String code)
Retrieves the customer's credit card payment info given its codejava.util.List<CreditCardPaymentInfoModel>
getCreditCardPaymentInfos(CustomerModel customerModel, boolean saved)
Retrieves the customer's list of credit card payment information.protected CurrencyModel
getCurrency(CustomerModel customerModel)
protected CustomerAccountDao
getCustomerAccountDao()
protected CustomerEmailResolutionService
getCustomerEmailResolutionService()
protected CustomerNameStrategy
getCustomerNameStrategy()
AddressModel
getDefaultAddress(CustomerModel customerModel)
Returns a customer default shipping addressprotected EventService
getEventService()
protected FlexibleSearchService
getFlexibleSearchService()
OrderModel
getGuestOrderForGUID(java.lang.String guid, BaseStoreModel store)
Fetch theOrderModel
for the given GUID,Store details and the expiry date for Guest Customers.protected I18NService
getI18nService()
protected java.lang.String
getMaskedCardNumber(java.lang.String cardNumber)
protected ModelService
getModelService()
protected java.lang.String
getMonthsForOrderExpiry()
OrderModel
getOrderDetailsForGUID(java.lang.String guid, BaseStoreModel store)
Returns the orderModel based on the guid and base storeOrderModel
getOrderForCode(CustomerModel customerModel, java.lang.String code, BaseStoreModel store)
Deprecated.Since 5.0.OrderModel
getOrderForCode(java.lang.String code, BaseStoreModel store)
Returns the orderModel based on order code and base storejava.util.List<OrderModel>
getOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status)
Returns the order of the supplied user filtering by OrderStatusSearchPageData<OrderModel>
getOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData)
Returns the order of the supplied user filtering by OrderStatusprotected PasswordEncoderService
getPasswordEncoderService()
protected java.lang.String
getPasswordEncoding()
protected PaymentService
getPaymentService()
SearchPageData<ReturnRequestModel>
getReturnRequestsByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, ReturnStatus[] returnStatuses, PageableData pageableData)
Returns theReturnRequestModel
of the given user filtered by given list ofReturnStatus
(s).protected SecureTokenService
getSecureTokenService()
protected TimeService
getTimeService()
java.util.Collection<TitleModel>
getTitles()
Returns all available customer titles in the system.protected long
getTokenValiditySeconds()
TypeService
getTypeService()
protected UserService
getUserService()
protected AbstractCommerceUserEvent
initializeEvent(AbstractCommerceUserEvent event, CustomerModel customerModel)
protected void
internalSaveCustomer(CustomerModel customerModel)
Saves the customer translating model layer exceptions regarding duplicate identifiersvoid
register(CustomerModel customerModel, java.lang.String password)
Register a user with given parametersprotected void
registerCustomer(CustomerModel customerModel, java.lang.String password)
void
registerGuestForAnonymousCheckout(CustomerModel customerModel, java.lang.String password)
Registers the Guest customer to session cart for anonymous checkoutvoid
saveAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Save address entry.void
setBaseSiteService(BaseSiteService siteService)
void
setBaseStoreService(BaseStoreService service)
void
setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
void
setCommonI18NService(CommonI18NService commonI18NService)
void
setConfigurationService(ConfigurationService configurationService)
void
setCustomerAccountDao(CustomerAccountDao customerAccountDao)
void
setCustomerEmailResolutionService(CustomerEmailResolutionService customerEmailResolutionService)
void
setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
void
setDefaultAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Sets the default address entry.void
setDefaultPaymentInfo(CustomerModel customerModel, PaymentInfoModel paymentInfoModel)
Sets the defaultpaymentInfoModel
for the specifiedcustomerModel
.void
setEventService(EventService eventService)
void
setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
void
setI18nService(I18NService i18nService)
void
setModelService(ModelService modelService)
void
setMonthsForOrderExpiry(java.lang.String monthsForOrderExpiry)
void
setPasswordEncoderService(PasswordEncoderService passwordEncoderService)
void
setPasswordEncoding(java.lang.String passwordEncoding)
void
setPaymentService(PaymentService paymentService)
void
setSecureTokenService(SecureTokenService secureTokenService)
void
setTimeService(TimeService timeService)
void
setTokenValiditySeconds(long tokenValiditySeconds)
void
setTypeService(TypeService typeService)
void
setUserService(UserService userService)
void
unlinkCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
Deprecated.Since 6.7.void
updatePassword(java.lang.String token, java.lang.String newPassword)
Update the password for the user by decrypting and validating the token.void
updateProfile(CustomerModel customerModel, java.lang.String titleCode, java.lang.String name, java.lang.String login)
Updates the current user with the given parameters
-
-
-
Method Detail
-
addPaymentInfo
protected void addPaymentInfo(CustomerModel customerModel, PaymentInfoModel paymentInfoModel)
-
createPaymentSubscription
public CreditCardPaymentInfoModel createPaymentSubscription(CustomerModel customerModel, CardInfo cardInfo, BillingInfo billingInfo, java.lang.String titleCode, java.lang.String paymentProvider, boolean saveInAccount)
Description copied from interface:CustomerAccountService
Creates a payment subscription using specifiedpaymentProvider
.- Specified by:
createPaymentSubscription
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to add a new payment subscriptioncardPaymentInfoModel
cardInfo
- the card detailsbillingInfo
- the payment address detailstitleCode
- the title code of the payment address details. this parameter can benull
paymentProvider
- the payment provider value specifies provider that will be used to create subscription ID.saveInAccount
-true
to save in customer account to reuse the subscription for other transactions- Returns:
- The created payment info holding the card details and the subscription id
-
getCurrency
protected CurrencyModel getCurrency(CustomerModel customerModel)
-
getMaskedCardNumber
protected java.lang.String getMaskedCardNumber(java.lang.String cardNumber)
-
setDefaultPaymentInfo
public void setDefaultPaymentInfo(CustomerModel customerModel, PaymentInfoModel paymentInfoModel)
Description copied from interface:CustomerAccountService
Sets the defaultpaymentInfoModel
for the specifiedcustomerModel
. Both arguments must be set andpaymentInfoModel
must belong to the specifiedcustomerModel
.- Specified by:
setDefaultPaymentInfo
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to set defaultpaymentInfoModel
paymentInfoModel
- the payment info model to be set as default
-
getCreditCardPaymentInfos
public java.util.List<CreditCardPaymentInfoModel> getCreditCardPaymentInfos(CustomerModel customerModel, boolean saved)
Description copied from interface:CustomerAccountService
Retrieves the customer's list of credit card payment information.- Specified by:
getCreditCardPaymentInfos
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model for which to retrieve payment infosaved
-true
to retrieve only saved credit card payment information- Returns:
- the customer's list of credit card payment info
-
getCreditCardPaymentInfoForCode
public CreditCardPaymentInfoModel getCreditCardPaymentInfoForCode(CustomerModel customerModel, java.lang.String code)
Description copied from interface:CustomerAccountService
Retrieves the customer's credit card payment info given its code- Specified by:
getCreditCardPaymentInfoForCode
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customercode
- the code- Returns:
- The credit card payment info
-
getAllAddressEntries
public java.util.List<AddressModel> getAllAddressEntries(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Returns all address book entries from the given customer.- Specified by:
getAllAddressEntries
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to retrieve addresses from- Returns:
- the address book entries of the given user
-
getAddressBookEntries
public java.util.List<AddressModel> getAddressBookEntries(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Returns all visible address book entries from the given customer.- Specified by:
getAddressBookEntries
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to retrieve addresses from- Returns:
- the address book entries of the given user
-
getAddressBookDeliveryEntries
public java.util.List<AddressModel> getAddressBookDeliveryEntries(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Returns all delivery address book entries from the given customer.- Specified by:
getAddressBookDeliveryEntries
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to retrieve addresses from- Returns:
- the address book entries of the given user
-
getAddressForCode
public AddressModel getAddressForCode(CustomerModel customerModel, java.lang.String code)
Description copied from interface:CustomerAccountService
Get a customer address given its code- Specified by:
getAddressForCode
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customercode
- the address code- Returns:
- the address
-
getDefaultAddress
public AddressModel getDefaultAddress(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Returns a customer default shipping address- Specified by:
getDefaultAddress
in interfaceCustomerAccountService
- Returns:
- the default customer address or null if no address is set as default
-
saveAddressEntry
public void saveAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Description copied from interface:CustomerAccountService
Save address entry. If the given address model is not saved it will be assigned to the given customer and saved. If address is saved and belongs to other user it will be cloned, assigned to the given customer and the original address will be left as it is.- Specified by:
saveAddressEntry
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to save/reassign address.addressModel
- the address model to save/create
-
deleteAddressEntry
public void deleteAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Description copied from interface:CustomerAccountService
Delete address entry. Before deleting it is checked if the given address belongs to the given customer.- Specified by:
deleteAddressEntry
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model that should be the address owneraddressModel
- the address model that will be deleted
-
deleteCCPaymentInfo
public void deleteCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
Description copied from interface:CustomerAccountService
Delete credit card payment info. Before deleting it is checked if the given payment info belongs to the given customer.- Specified by:
deleteCCPaymentInfo
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model that should be the address ownercreditCardPaymentInfo
- payment info model that will be deleted
-
unlinkCCPaymentInfo
@Deprecated(since="6.7") public void unlinkCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
Deprecated.Description copied from interface:CustomerAccountService
unlink credit card payment info. Before deleting it is checked if the given payment info belongs to the given customer.- Specified by:
unlinkCCPaymentInfo
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model that should be the address ownercreditCardPaymentInfo
- payment info model that will be unlinked
-
setDefaultAddressEntry
public void setDefaultAddressEntry(CustomerModel customerModel, AddressModel addressModel)
Description copied from interface:CustomerAccountService
Sets the default address entry. Because customer addresses are not sorted it sets given address as default customer payment address. If the address is not saved it will be created and assigned to the given user. If given address belongs to other user it will be cloned and assigned to the given customer and the original address will be left as it is.- Specified by:
setDefaultAddressEntry
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer model to set default payment address foraddressModel
- the address model to be set as default one
-
clearDefaultAddressEntry
public void clearDefaultAddressEntry(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Clears default address on the given customer- Specified by:
clearDefaultAddressEntry
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer
-
getTitles
public java.util.Collection<TitleModel> getTitles()
Description copied from interface:CustomerAccountService
Returns all available customer titles in the system.- Specified by:
getTitles
in interfaceCustomerAccountService
- Returns:
- the titles
-
register
public void register(CustomerModel customerModel, java.lang.String password) throws DuplicateUidException
Description copied from interface:CustomerAccountService
Register a user with given parameters- Specified by:
register
in interfaceCustomerAccountService
- Parameters:
customerModel
- the user data the user will be registered withpassword
- the user's password- Throws:
DuplicateUidException
- if the login is not unique
-
registerGuestForAnonymousCheckout
public void registerGuestForAnonymousCheckout(CustomerModel customerModel, java.lang.String password) throws DuplicateUidException
Description copied from interface:CustomerAccountService
Registers the Guest customer to session cart for anonymous checkout- Specified by:
registerGuestForAnonymousCheckout
in interfaceCustomerAccountService
- Throws:
DuplicateUidException
-
updateProfile
public void updateProfile(CustomerModel customerModel, java.lang.String titleCode, java.lang.String name, java.lang.String login) throws DuplicateUidException
Description copied from interface:CustomerAccountService
Updates the current user with the given parameters- Specified by:
updateProfile
in interfaceCustomerAccountService
- Parameters:
customerModel
- the customer to updatetitleCode
- the code for the title to setname
- the full name to set on the customerlogin
- the UID to set on the customer- Throws:
DuplicateUidException
- if the email is not unique
-
changePassword
public void changePassword(UserModel userModel, java.lang.String oldPassword, java.lang.String newPassword) throws PasswordMismatchException
Description copied from interface:CustomerAccountService
Changes user password.- Specified by:
changePassword
in interfaceCustomerAccountService
- Parameters:
userModel
- the user to change the password foroldPassword
- old password to confirmnewPassword
- new password to set- Throws:
PasswordMismatchException
- if the given old password does not match the one stored in the system
-
forgottenPassword
public void forgottenPassword(CustomerModel customerModel)
Description copied from interface:CustomerAccountService
Sends a forgotten password event- Specified by:
forgottenPassword
in interfaceCustomerAccountService
- Parameters:
customerModel
- the user
-
updatePassword
public void updatePassword(java.lang.String token, java.lang.String newPassword) throws TokenInvalidatedException
Description copied from interface:CustomerAccountService
Update the password for the user by decrypting and validating the token.- Specified by:
updatePassword
in interfaceCustomerAccountService
- Parameters:
token
- the password reset tokennewPassword
- the new plain text password- Throws:
TokenInvalidatedException
- if the token was already used or there is a newer token
-
getOrderForCode
@Deprecated(since="5.0") public OrderModel getOrderForCode(CustomerModel customerModel, java.lang.String code, BaseStoreModel store)
Deprecated.Since 5.0.Description copied from interface:CustomerAccountService
Returns the specified order for the supplied user.- Specified by:
getOrderForCode
in interfaceCustomerAccountService
- Parameters:
customerModel
- the user to retrieve order forcode
- the code of the order to retrievestore
- the current store- Returns:
- the order
-
getGuestOrderForGUID
public OrderModel getGuestOrderForGUID(java.lang.String guid, BaseStoreModel store)
Description copied from interface:CustomerAccountService
Fetch theOrderModel
for the given GUID,Store details and the expiry date for Guest Customers.- Specified by:
getGuestOrderForGUID
in interfaceCustomerAccountService
- Parameters:
guid
- GUID of the order which was created from theCartModel
store
-BaseStoreModel
for the current store which the Guest Customer is accessing.- Returns:
- the order
-
getOrderDetailsForGUID
public OrderModel getOrderDetailsForGUID(java.lang.String guid, BaseStoreModel store)
Description copied from interface:CustomerAccountService
Returns the orderModel based on the guid and base store- Specified by:
getOrderDetailsForGUID
in interfaceCustomerAccountService
- Returns:
- the order
-
getOrderList
public java.util.List<OrderModel> getOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status)
Description copied from interface:CustomerAccountService
Returns the order of the supplied user filtering by OrderStatus- Specified by:
getOrderList
in interfaceCustomerAccountService
- Parameters:
customerModel
- the user to retrieve orders forstore
- the current storestatus
- One or more OrderStatuses to include in the result- Returns:
- the list of orders
-
getOrderList
public SearchPageData<OrderModel> getOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData)
Description copied from interface:CustomerAccountService
Returns the order of the supplied user filtering by OrderStatus- Specified by:
getOrderList
in interfaceCustomerAccountService
- Parameters:
customerModel
- the user to retrieve orders forstore
- the current storestatus
- One or more OrderStatuses to include in the resultpageableData
- pagination information- Returns:
- the list of orders
-
getReturnRequestsByCustomerAndStore
public SearchPageData<ReturnRequestModel> getReturnRequestsByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, ReturnStatus[] returnStatuses, PageableData pageableData)
Description copied from interface:CustomerAccountService
Returns theReturnRequestModel
of the given user filtered by given list ofReturnStatus
(s).- Specified by:
getReturnRequestsByCustomerAndStore
in interfaceCustomerAccountService
- Parameters:
customerModel
- theCustomerModel
to retrieve return requests forstore
- the currentBaseStoreModel
returnStatuses
- theReturnStatus
(s) to be included in the result. If null or empty then all statuses are includedpageableData
- pagination information- Returns:
- the list of
ReturnRequestModel
-
convertGuestToCustomer
public void convertGuestToCustomer(java.lang.String pwd, java.lang.String orderGUID) throws DuplicateUidException
Description copied from interface:CustomerAccountService
Converts a Guest Customer of anonymous checkout to a regular customer- Specified by:
convertGuestToCustomer
in interfaceCustomerAccountService
- Throws:
DuplicateUidException
-
getOrderForCode
public OrderModel getOrderForCode(java.lang.String code, BaseStoreModel store)
Description copied from interface:CustomerAccountService
Returns the orderModel based on order code and base store- Specified by:
getOrderForCode
in interfaceCustomerAccountService
- Returns:
- the order
-
fillValuesForCustomerInfo
protected void fillValuesForCustomerInfo(CustomerModel customer) throws DuplicateUidException
- Throws:
DuplicateUidException
-
initializeEvent
protected AbstractCommerceUserEvent initializeEvent(AbstractCommerceUserEvent event, CustomerModel customerModel)
-
generateCustomerId
protected void generateCustomerId(CustomerModel customerModel)
-
internalSaveCustomer
protected void internalSaveCustomer(CustomerModel customerModel) throws DuplicateUidException
Saves the customer translating model layer exceptions regarding duplicate identifiers- Throws:
DuplicateUidException
-
changeUid
public void changeUid(java.lang.String newUid, java.lang.String currentPassword) throws DuplicateUidException, PasswordMismatchException
Description copied from interface:CustomerAccountService
Changes uid for current user- Specified by:
changeUid
in interfaceCustomerAccountService
- Parameters:
newUid
- given new uidcurrentPassword
- password checked for authorization change- Throws:
DuplicateUidException
- if the newUid already exists in the systemPasswordMismatchException
- if given currentPassword does not match the store one for the current user
-
closeAccount
public CustomerModel closeAccount(CustomerModel customer)
Description copied from interface:CustomerAccountService
Close Account for a customer.- Specified by:
closeAccount
in interfaceCustomerAccountService
- Parameters:
customer
- customer whose account is to be closed- Returns:
- the customer with updated
UserModel.DEACTIVATIONDATE
attribute
-
adjustPassword
protected void adjustPassword(UserModel currentUser, java.lang.String newUid, java.lang.String currentPassword) throws PasswordMismatchException
Adjusts a given current userPrincipalModel.UID
with a newUid value unless the user with newUid does not exists and password for current user matches given currentPassword.- Throws:
PasswordMismatchException
-
checkUidUniqueness
protected void checkUidUniqueness(java.lang.String newUid) throws DuplicateUidException
- Throws:
DuplicateUidException
-
registerCustomer
protected void registerCustomer(CustomerModel customerModel, java.lang.String password) throws DuplicateUidException
- Throws:
DuplicateUidException
-
getPaymentService
protected PaymentService getPaymentService()
-
setPaymentService
public void setPaymentService(PaymentService paymentService)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getI18nService
protected I18NService getI18nService()
-
setI18nService
public void setI18nService(I18NService i18nService)
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getPasswordEncoderService
protected PasswordEncoderService getPasswordEncoderService()
-
setPasswordEncoderService
public void setPasswordEncoderService(PasswordEncoderService passwordEncoderService)
-
getSecureTokenService
protected SecureTokenService getSecureTokenService()
-
setSecureTokenService
public void setSecureTokenService(SecureTokenService secureTokenService)
-
getTokenValiditySeconds
protected long getTokenValiditySeconds()
-
setTokenValiditySeconds
public void setTokenValiditySeconds(long tokenValiditySeconds)
-
getCustomerAccountDao
protected CustomerAccountDao getCustomerAccountDao()
-
setCustomerAccountDao
public void setCustomerAccountDao(CustomerAccountDao customerAccountDao)
-
getBaseStoreService
protected BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService service)
-
getBaseSiteService
protected BaseSiteService getBaseSiteService()
-
setBaseSiteService
public void setBaseSiteService(BaseSiteService siteService)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getEventService
protected EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
getCustomerEmailResolutionService
protected CustomerEmailResolutionService getCustomerEmailResolutionService()
-
setCustomerEmailResolutionService
public void setCustomerEmailResolutionService(CustomerEmailResolutionService customerEmailResolutionService)
-
getPasswordEncoding
protected java.lang.String getPasswordEncoding()
-
setPasswordEncoding
public void setPasswordEncoding(java.lang.String passwordEncoding)
-
getFlexibleSearchService
protected FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
getTypeService
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
getCustomerNameStrategy
protected CustomerNameStrategy getCustomerNameStrategy()
-
setCustomerNameStrategy
public void setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
-
getMonthsForOrderExpiry
protected java.lang.String getMonthsForOrderExpiry()
-
setMonthsForOrderExpiry
public void setMonthsForOrderExpiry(java.lang.String monthsForOrderExpiry)
-
getTimeService
protected TimeService getTimeService()
-
setTimeService
public void setTimeService(TimeService timeService)
-
getCommerceCommonI18NService
protected CommerceCommonI18NService getCommerceCommonI18NService()
-
setCommerceCommonI18NService
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-