|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsUser
public class WsUser
This object represents a Contour User. A user is a unique Contour login. Each has their own license type assignment, groups, and permissions. The license type is configured by the Administrator and controls the type of access a user has to Contour.
| Constructor Summary | |
|---|---|
WsUser()
Creates an empty WsUser object. |
|
WsUser(java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String userName,
java.lang.String password,
java.lang.String licenseType,
java.lang.Integer orgId)
Creates a new WsUser object with the given first and last names, user name, password, email, license type and orgId. |
|
WsUser(java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String userName,
java.lang.String password,
java.lang.String title,
java.lang.String location,
java.lang.String notes,
java.lang.String phone,
java.lang.String licenseType,
java.lang.Integer orgId)
Creates a new WsUser object with the given values. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getActivated()
Is the user activated? |
java.lang.String |
getEmail()
Gets the user's e-mail address. |
java.lang.String |
getFirstName()
Gets the first name of the user. |
java.lang.String |
getFullName()
Gets the full name of the user. |
java.lang.Long |
getId()
Gets the id of the user. |
java.lang.String |
getLastName()
Gets the last name of the user. |
java.lang.String |
getLicenseType()
Gets the license type for the user. |
java.lang.String |
getLocale()
Gets the user's locale. |
java.lang.String |
getLocation()
Gets the user's location. |
java.lang.String |
getNotes()
Gets any notes associated with the user. |
java.lang.Integer |
getOrgId()
Gets the id of the organization that the user belongs to. |
java.lang.String |
getPassword()
Gets the user's password. |
java.lang.String |
getPhone()
Gets the user's phone number. |
java.lang.String |
getTitle()
Gets the user's title. |
java.lang.String |
getUserName()
Gets the user's user name. |
boolean |
isLocked()
Is the user locked? |
void |
setActivated(java.lang.Boolean activated)
Sets the activated value for the user. |
void |
setEmail(java.lang.String email)
Sets the user's e-mail address. |
void |
setFirstName(java.lang.String firstName)
Sets the first name of the user. |
void |
setFullName(java.lang.String fullName)
Sets the full name of the user. |
void |
setId(java.lang.Long id)
Sets the user id. |
void |
setLastName(java.lang.String lastName)
Sets the last name of the user. |
void |
setLicenseType(java.lang.String licenseType)
Sets the license type for the user. |
void |
setLocale(java.lang.String locale)
Sets the user's locale. |
void |
setLocation(java.lang.String location)
Sets the user's location. |
void |
setLocked(boolean locked)
Set the locked value for the user. |
void |
setNotes(java.lang.String notes)
Sets notes associated with the user. |
void |
setOrgId(java.lang.Integer orgId)
Sets the id of the organization that the user belongs to. |
void |
setPassword(java.lang.String password)
Sets the user's password. |
void |
setPhone(java.lang.String phone)
Sets the user's phone number. |
void |
setTitle(java.lang.String title)
Sets the user's title. |
void |
setUserName(java.lang.String userName)
Sets the user's user name. |
java.lang.String |
toString()
Gets a string representation of this user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsUser()
public WsUser(java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String userName,
java.lang.String password,
java.lang.String title,
java.lang.String location,
java.lang.String notes,
java.lang.String phone,
java.lang.String licenseType,
java.lang.Integer orgId)
firstName - the first name of the userlastName - the last name of the useremail - the email of the useruserName - the user name of the userpassword - the password 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, "C"
for Floating, "N" for Named)orgId - id of the organization the user is in
public WsUser(java.lang.String firstName,
java.lang.String lastName,
java.lang.String email,
java.lang.String userName,
java.lang.String password,
java.lang.String licenseType,
java.lang.Integer orgId)
firstName - the first name of the userlastName - the last name of the useremail - the email of the useruserName - the user name of the userpassword - the password of the userlicenseType - the licenseType of the user ("R" for Collaborator, "C"
for Floating, "N" for Named)orgId - id of the organization the user is in| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the id to setpublic java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
fullName - the fullName to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName - the first namepublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName - the last namepublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the email to setpublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - the userName to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the password to setpublic boolean isLocked()
public void setLocked(boolean locked)
locked - whether or not the user should be lockedpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the title to setpublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - the location to setpublic java.lang.String getNotes()
public void setNotes(java.lang.String notes)
notes - the notes to setpublic java.lang.String getPhone()
public void setPhone(java.lang.String phone)
phone - the phone number to setpublic java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale - the locale to setpublic java.lang.Boolean getActivated()
public void setActivated(java.lang.Boolean activated)
activated - whether or not the user should be activatedpublic java.lang.String getLicenseType()
public void setLicenseType(java.lang.String licenseType)
licenseType - the licenseType to setpublic java.lang.Integer getOrgId()
public void setOrgId(java.lang.Integer orgId)
orgId - the organization idpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||