public class WsUser extends Object
Constructor and Description |
---|
WsUser()
Creates an empty WsUser object.
|
WsUser(String firstName,
String lastName,
String email,
String userName,
String licenseType,
Integer orgId)
Creates a new WsUser object with the given first and last names, user name, password, email, license type and
orgId.
|
WsUser(String firstName,
String lastName,
String email,
String userName,
String title,
String location,
String notes,
String phone,
String licenseType,
Integer orgId)
Creates a new WsUser object with the given values.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getActivated()
Is the user activated?
|
String |
getEmail()
Gets the user's e-mail address.
|
String |
getFirstName()
Gets the first name of the user.
|
String |
getFullName()
Gets the full name of the user.
|
Long |
getId()
Gets the id of the user.
|
String |
getLastName()
Gets the last name of the user.
|
String |
getLicenseType()
Gets the license type for the user.
|
String |
getLocale()
Gets the user's locale.
|
String |
getLocation()
Gets the user's location.
|
String |
getNotes()
Gets any notes associated with the user.
|
Integer |
getOrgId()
Gets the id of the organization that the user belongs to.
|
String |
getPassword()
Deprecated.
|
String |
getPhone()
Gets the user's phone number.
|
String |
getTitle()
Gets the user's title.
|
String |
getUserName()
Gets the user's username.
|
boolean |
isLocked()
Is the user locked?
|
void |
setActivated(Boolean activated)
Sets the activated value for the user.
|
void |
setEmail(String email)
Sets the user's e-mail address.
|
void |
setFirstName(String firstName)
Sets the first name of the user.
|
void |
setFullName(String fullName)
Sets the full name of the user.
|
void |
setId(Long id)
Sets the user id.
|
void |
setLastName(String lastName)
Sets the last name of the user.
|
void |
setLicenseType(String licenseType)
Sets the license type for the user.
|
void |
setLocale(String locale)
Sets the user's locale.
|
void |
setLocation(String location)
Sets the user's location.
|
void |
setLocked(boolean locked)
Set the locked value for the user.
|
void |
setNotes(String notes)
Sets notes associated with the user.
|
void |
setOrgId(Integer orgId)
Sets the id of the organization that the user belongs to.
|
void |
setPassword(String password)
Deprecated.
|
void |
setPhone(String phone)
Sets the user's phone number.
|
void |
setTitle(String title)
Sets the user's title.
|
void |
setUserName(String userName)
Sets the user's username.
|
String |
toString()
Gets a string representation of this user.
|
public WsUser()
public WsUser(String firstName, String lastName, String email, String userName, String title, String location, String notes, String phone, String licenseType, Integer orgId)
firstName
- the first name of the userlastName
- the last name of the useremail
- the email of the useruserName
- the username of the usertitle
- the title of the user (can be null)location
- where the user is located (can be null)notes
- any notes about the user (can be null)phone
- the phone number of the user (can be null)licenseType
- the licenseType of the user ("R" for Collaborator, "FC" for Floating Collaborator, "C" for
Floating, "N" for Named, "V" for Reviewer, "FV" for Floating Reviewer)orgId
- id of the organization the user is inpublic WsUser(String firstName, String lastName, String email, String userName, String licenseType, Integer orgId)
firstName
- the first name of the userlastName
- the last name of the useremail
- the email of the useruserName
- the username of the userlicenseType
- the licenseType of the user ("R" for Collaborator, "FC" for Floating Collaborator, "C" for
Floating, "N" for Named, "V" for Reviewer, "FR" for Floating Reviewer)orgId
- id of the organization the user is inpublic Long getId()
public void setId(Long id)
id
- the id to setpublic String getFullName()
public void setFullName(String fullName)
fullName
- the fullName to setpublic String getFirstName()
public void setFirstName(String firstName)
firstName
- the first namepublic String getLastName()
public void setLastName(String lastName)
lastName
- the last namepublic String getEmail()
public void setEmail(String email)
email
- the email to setpublic String getUserName()
public void setUserName(String userName)
userName
- the userName to set@Deprecated public String getPassword()
@Deprecated public void setPassword(String password)
password
- the password to setpublic boolean isLocked()
public void setLocked(boolean locked)
locked
- whether or not the user should be lockedpublic String getTitle()
public void setTitle(String title)
title
- the title to setpublic String getLocation()
public void setLocation(String location)
location
- the location to setpublic String getNotes()
public void setNotes(String notes)
notes
- the notes to setpublic String getPhone()
public void setPhone(String phone)
phone
- the phone number to setpublic String getLocale()
public void setLocale(String locale)
locale
- the locale to setpublic Boolean getActivated()
public void setActivated(Boolean activated)
activated
- whether or not the user should be activatedpublic String getLicenseType()
public void setLicenseType(String licenseType)
licenseType
- the licenseType to setpublic Integer getOrgId()
public void setOrgId(Integer orgId)
orgId
- the organization idCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.