Class UserUpdateCommand
- java.lang.Object
-
- ubic.gemma.web.controller.common.auditAndSecurity.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 Summary
Constructors Constructor Description UserUpdateCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
asUser()
boolean
equals(Object obj)
Boolean
getAdminUser()
String
getConfirmNewPassword()
String
getDescription()
String
getEmail()
Boolean
getEnabled()
String
getFullName()
Long
getId()
Collection<JobInfo>
getJobs()
String
getLastName()
String
getName()
String
getNewPassword()
String
getOldPassword()
String
getPassword()
String
getPasswordHint()
String
getUserName()
int
hashCode()
void
setAdminUser(Boolean adminUser)
void
setConfirmNewPassword(String confirmNewPassword)
void
setDescription(String description)
void
setEmail(String email)
void
setEnabled(Boolean enabled)
void
setId(Long id)
void
setJobs(Set<JobInfo> jobs)
void
setLastName(String lastName)
void
setName(String name)
void
setNewPassword(String newPassword)
void
setOldPassword(String oldPassword)
void
setPassword(String password)
void
setPasswordHint(String passwordHint)
void
setUserName(String userName)
String
toString()
-
-
-
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)
-
getJobs
public Collection<JobInfo> getJobs()
-
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)
-
-