Interface TmaUserFacade
- All Superinterfaces:
de.hybris.platform.commercefacades.user.UserFacade
- All Known Implementing Classes:
DefaultTmaUserFacade
public interface TmaUserFacade
extends de.hybris.platform.commercefacades.user.UserFacade
User facade handling user related operations in TMU.
- Since:
- 1907
-
Method Summary
Modifier and TypeMethodDescriptioncreateAddressForUser(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.getValidationAddressesForUser(String userId, boolean visibleInAddressBook) Return a list of validationAddressDatafor user identified by its uid having the address book visibility provided.Methods inherited from interface de.hybris.platform.commercefacades.user.UserFacade
addAddress, editAddress, getAddressBook, getAddressForCode, getCCPaymentInfoForCode, getCCPaymentInfos, getDefaultAddress, getTitles, getUserUID, isAddressBookEmpty, isAnonymousUser, isDefaultAddress, isUserExisting, removeAddress, removeCCPaymentInfo, setCurrentUser, setDefaultAddress, setDefaultPaymentInfo, syncSessionCurrency, syncSessionLanguage, unlinkCCPaymentInfo, updateCCPaymentInfo
-
Method Details
-
getAddressesForUser
Return a list ofAddressDatafor user identified by its uid having the address book visibility provided.- 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
Return a list of validationAddressDatafor user identified by its uid having the address book visibility provided.- 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
Creates aAddressDatafor the provided user.- Parameters:
addressData- The addressuserId- The identifier of the user- Returns:
AddressDatawhich was created
-