Class DefaultTmaUserFacade
java.lang.Object
de.hybris.platform.commercefacades.user.impl.DefaultUserFacade
de.hybris.platform.b2ctelcofacades.user.impl.DefaultTmaUserFacade
- All Implemented Interfaces:
TmaUserFacade,de.hybris.platform.commercefacades.user.UserFacade
public class DefaultTmaUserFacade
extends de.hybris.platform.commercefacades.user.impl.DefaultUserFacade
implements TmaUserFacade
Default implementation of Tma user facade. It implements Tma specific operations around users.
- Since:
- 1907
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAddress(AddressData addressData) createAddressForUser(AddressData addressData, String userId) Creates aAddressDatafor the provided user.getAddressesForUser(String userId, boolean visibleInAddressBook) Return a list ofAddressDatafor user identified by its uid having the address book visibility provided.protected de.hybris.platform.servicelayer.dto.converter.Converter<PrincipalModel,PrincipalData> getValidationAddressesForUser(String userId, boolean visibleInAddressBook) Return a list of validationAddressDatafor user identified by its uid having the address book visibility provided.voidremoveAddress(AddressData addressData) voidsetPrincipalConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PrincipalModel, PrincipalData> principalConverter) Methods inherited from class de.hybris.platform.commercefacades.user.impl.DefaultUserFacade
editAddress, getAddressBook, getAddressConverter, getAddressForCode, getAddressReversePopulator, getCardPaymentInfoReversePopulator, getCartService, getCCPaymentInfoForCode, getCCPaymentInfos, getCheckoutCustomerStrategy, getCommerceCommonI18NService, getCommonI18NService, getCreditCardPaymentInfoConverter, getCurrentUserForCheckout, getCustomerAccountService, getDefaultAddress, getModelService, getTitleConverter, getTitles, getUserMatchingService, getUserService, getUserUID, isAddressBookEmpty, isAnonymousUser, isDefaultAddress, isUserExisting, removeCCPaymentInfo, setAddressConverter, setAddressReversePopulator, setCardPaymentInfoReversePopulator, setCartService, setCheckoutCustomerStrategy, setCommerceCommonI18NService, setCommonI18NService, setCreditCardPaymentInfoConverter, setCurrentUser, setCustomerAccountService, setDefaultAddress, setDefaultPaymentInfo, setModelService, setTitleConverter, setUserMatchingService, setUserService, syncSessionCurrency, syncSessionLanguage, unlinkCCPaymentInfo, updateCCPaymentInfo, updateDefaultPaymentInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commercefacades.user.UserFacade
editAddress, getAddressBook, getAddressForCode, getCCPaymentInfoForCode, getCCPaymentInfos, getDefaultAddress, getTitles, getUserUID, isAddressBookEmpty, isAnonymousUser, isDefaultAddress, isUserExisting, removeCCPaymentInfo, setCurrentUser, setDefaultAddress, setDefaultPaymentInfo, syncSessionCurrency, syncSessionLanguage, unlinkCCPaymentInfo, updateCCPaymentInfo
-
Constructor Details
-
DefaultTmaUserFacade
public DefaultTmaUserFacade()
-
-
Method Details
-
getAddressesForUser
Return a list ofAddressDatafor user identified by its uid having the address book visibility provided. In case the visibleInAddressBook flag is false then the response also contains those addresses for which the visibleInAddressBook attribute value is null.- Specified by:
getAddressesForUserin interfaceTmaUserFacade- Parameters:
userId- the identifier of the uservisibleInAddressBook- flag indicating the fact address should be visible in address book- Returns:
- a list of addresses for user with uid provided if exists, otherwise an empty list is returned
-
getValidationAddressesForUser
Description copied from interface:TmaUserFacadeReturn a list of validationAddressDatafor user identified by its uid having the address book visibility provided.- Specified by:
getValidationAddressesForUserin interfaceTmaUserFacade- Parameters:
userId- the identifier of the uservisibleInAddressBook- flag indicating the fact address should be visible in address book- Returns:
- a list of addresses for user with uid provided if exists, otherwise an empty list is returned
-
createAddressForUser
Description copied from interface:TmaUserFacadeCreates aAddressDatafor the provided user.- Specified by:
createAddressForUserin interfaceTmaUserFacade- Parameters:
addressData- The addressuserId- The identifier of the user- Returns:
AddressDatawhich was created
-
addAddress
- Specified by:
addAddressin interfacede.hybris.platform.commercefacades.user.UserFacade- Overrides:
addAddressin classde.hybris.platform.commercefacades.user.impl.DefaultUserFacade
-
removeAddress
- Specified by:
removeAddressin interfacede.hybris.platform.commercefacades.user.UserFacade- Overrides:
removeAddressin classde.hybris.platform.commercefacades.user.impl.DefaultUserFacade
-
getPrincipalConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<PrincipalModel,PrincipalData> getPrincipalConverter() -
setPrincipalConverter
public void setPrincipalConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PrincipalModel, PrincipalData> principalConverter)
-