Class UserUpdateCommand


  • public class UserUpdateCommand
    extends Object
    Just like a regular user; but has 'new password' and 'confirm password' fields. It can be constructed from a user. To convert to a user object, use the asUser() method.
    Author:
    pavlidis
    • Constructor Detail

      • UserUpdateCommand

        public UserUpdateCommand()
    • Method Detail

      • asUser

        public User asUser()
      • getAdminUser

        public Boolean getAdminUser()
      • setAdminUser

        public void setAdminUser​(Boolean adminUser)
      • getConfirmNewPassword

        public String getConfirmNewPassword()
        Returns:
        the confirmNewPassword
      • setConfirmNewPassword

        public void setConfirmNewPassword​(String confirmNewPassword)
        Parameters:
        confirmNewPassword - the confirmNewPassword to set
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getEmail

        public String getEmail()
      • setEmail

        public void setEmail​(String email)
      • getEnabled

        public Boolean getEnabled()
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getFullName

        public String getFullName()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • setJobs

        public void setJobs​(Set<JobInfo> jobs)
      • getLastName

        public String getLastName()
      • setLastName

        public void setLastName​(String lastName)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getNewPassword

        public String getNewPassword()
        Returns:
        the newPassword
      • setNewPassword

        public void setNewPassword​(String newPassword)
      • getOldPassword

        public String getOldPassword()
        Returns:
        the oldPassword
      • setOldPassword

        public void setOldPassword​(String oldPassword)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • getPasswordHint

        public String getPasswordHint()
      • setPasswordHint

        public void setPasswordHint​(String passwordHint)
      • getUserName

        public String getUserName()
      • setUserName

        public void setUserName​(String userName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object