Interface IUserFactory

  • All Known Implementing Classes:
    UserFactory

    public interface IUserFactory
    • Method Detail

      • getUser

        User getUser​(IUser user,
                     java.util.Locale locale)
        Parameters:
        user - the domain User object we want to send to frontend
        locale - the locale for translations
        Returns:
        a full version of the user response object, that has all of its attributes set
      • getSmallUser

        User getSmallUser​(IUser user)
        Parameters:
        user - the domain User object we want to send to frontend
        Returns:
        a small version of the user response object, that has its large attributes (roles, groups, authorities...) cleared