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 Type
    Method
    Description
    createAddressForUser(AddressData addressData, String userId)
    Creates a AddressData for the provided user.
    getAddressesForUser(String userId, boolean visibleInAddressBook)
    Return a list of AddressData for user identified by its uid having the address book visibility provided.
    getValidationAddressesForUser(String userId, boolean visibleInAddressBook)
    Return a list of validation AddressData for 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

      List<AddressData> getAddressesForUser(String userId, boolean visibleInAddressBook)
      Return a list of AddressData for user identified by its uid having the address book visibility provided.
      Parameters:
      userId - the identifier of the user
      visibleInAddressBook - 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

      List<AddressData> getValidationAddressesForUser(String userId, boolean visibleInAddressBook)
      Return a list of validation AddressData for user identified by its uid having the address book visibility provided.
      Parameters:
      userId - the identifier of the user
      visibleInAddressBook - 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

      AddressData createAddressForUser(AddressData addressData, String userId)
      Creates a AddressData for the provided user.
      Parameters:
      addressData - The address
      userId - The identifier of the user
      Returns:
      AddressData which was created