Class UserImpl

  • All Implemented Interfaces:
    User

    public class UserImpl
    extends Object
    implements User
    • Constructor Detail

      • UserImpl

        public UserImpl()
    • Method Detail

      • setEmail

        public void setEmail​(String email)
        Specified by:
        setEmail in interface User
      • setFirstname

        public void setFirstname​(String firstname)
        Specified by:
        setFirstname in interface User
      • setLastname

        public void setLastname​(String lastname)
        Specified by:
        setLastname in interface User
      • setPasswordHash

        public void setPasswordHash​(String passwordHash)
        Sets password hash if password hash is not empty, otherwise no operation. Deleting of password is not possible.
        Specified by:
        setPasswordHash in interface User
        Parameters:
        passwordHash - new hashed password
      • setRoles

        public void setRoles​(List<Role> userRoles)
        Specified by:
        setRoles in interface User
      • getUuid

        public UUID getUuid()
        Specified by:
        getUuid in interface User
      • setUuid

        public void setUuid​(UUID uuid)
        Specified by:
        setUuid in interface User
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface User
      • setEnabled

        public void setEnabled​(boolean enabled)
        Specified by:
        setEnabled in interface User