public class User
extends java.lang.Object
Constructor and Description |
---|
User(com.objectplanet.survey.business.User userObject)
Constructor for the User object
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(java.lang.String password)
Compare entered password with the user password.
|
java.lang.String |
getAttribute(java.lang.String attributeName)
Gets an attribute of the User object
|
long |
getCreatedDate()
Gets the user created date
|
long |
getDefaultFolderId()
Gets the default folder id
|
java.lang.String |
getEmail()
Gets the email
|
java.lang.String |
getLanguage()
Gets the language
|
long |
getLastLogin()
Gets the last login date
|
java.lang.String |
getLogin()
Gets the login name
|
java.lang.String |
getMemo()
Gets the memo
|
long |
getUserId()
Gets the user id
|
java.lang.String |
getUserName()
Gets the user name
|
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Sets an attribute of the User object
|
void |
setDefaultFolderId(long defaultFolderId)
Sets the default folder id
|
void |
setEmail(java.lang.String email)
Sets the email
|
void |
setLanguage(java.lang.String language)
Sets the language for the user
|
void |
setLogin(java.lang.String login)
Sets the login name
|
void |
setMemo(java.lang.String memo)
Sets the memo (additional information about the user)
|
void |
setPassword(java.lang.String password)
Sets the password
|
void |
setUserName(java.lang.String userName)
Sets the user name
|
java.lang.String |
toString() |
public User(com.objectplanet.survey.business.User userObject)
userObject
- User objectpublic void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
String
- attributeName The attribute nameString
- attributeValue The attribute valuepublic void setUserName(java.lang.String userName)
userName
- The new user namepublic void setLanguage(java.lang.String language)
language
- The new languagepublic void setEmail(java.lang.String email)
email
- The new emailpublic void setMemo(java.lang.String memo)
memo
- The new memopublic void setLogin(java.lang.String login)
login
- The new loginpublic void setPassword(java.lang.String password) throws SurveySystemException
password
- The new passwordSurveySystemException
public void setDefaultFolderId(long defaultFolderId)
defaultFolderId
- The new defaultFolderIdpublic java.lang.String getAttribute(java.lang.String attributeName)
String
- attributeName The attribute namepublic java.lang.String getLogin()
public long getUserId()
public java.lang.String getUserName()
public boolean checkPassword(java.lang.String password) throws SurveySystemException
SurveySystemException
public java.lang.String getLanguage()
public java.lang.String getEmail()
public java.lang.String getMemo()
public long getDefaultFolderId()
public long getCreatedDate()
public long getLastLogin()
public java.lang.String toString()
toString
in class java.lang.Object
Built on January 16 2019