public abstract class UserModel extends IdentifiableModel<Long>
| Constructor and Description |
|---|
UserModel() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAdmin()
Gets the admin flag which allows managing users and accounts.
|
List<AlternateEmail> |
getAlternateEmails()
Gets the list of alternateEmails
|
String |
getCompany()
Gets the user's company name
|
Date |
getCustomWelcomeScreenViewed()
Gets the customWelcomeScreenViewed date
|
String |
getDepartment()
Gets the user's department
|
String |
getEmail()
Gets the email address.
|
String |
getFirstName()
Gets the first name.
|
Boolean |
getGroupAdmin() |
Date |
getLastLogin()
Gets the lastLogin date
|
String |
getLastName()
Gets the last name.
|
Boolean |
getLicensedSheetCreator()
Gets the licensed sheet creator flag that allows creating and owning sheets.
|
String |
getMobilePhone()
Gets the user's mobile phone number
|
Image |
getProfileImage()
Gets the user's profile image
|
Boolean |
getResourceViewer() |
String |
getRole()
Gets the user's role
|
Integer |
getSheetCount()
Gets the sheetCount.
|
UserStatus |
getStatus()
Gets the status of the user (active, pending, declined).
|
String |
getTitle()
Gets the user's title
|
String |
getWorkPhone()
Gets the user's work phone number
|
UserModel |
setAdmin(Boolean admin)
Sets the admin flag which allows managing users and accounts.
|
UserModel |
setAlternateEmails(List<AlternateEmail> alternateEmails)
Sets the list of alternateEmails
|
UserModel |
setCompany(String company)
Sets the user's company name
|
UserModel |
setCustomWelcomeScreenViewed(Date customWelcomeScreenViewed)
Sets the customWelcomeScreenViewed date
|
UserModel |
setDepartment(String department)
Sets the user's department
|
UserModel |
setEmail(String email)
Sets the email address.
|
UserModel |
setFirstName(String firstName)
Sets the first name.
|
UserModel |
setGroupAdmin(Boolean groupAdmin) |
UserModel |
setLastLogin(Date lastLogin)
Sets the lastLogin date
|
UserModel |
setLastName(String lastName)
Sets the last name.
|
UserModel |
setLicensedSheetCreator(Boolean licensedSheetCreator)
Sets the licensed sheet creator flag that allows creating and owning sheets.
|
UserModel |
setMobilePhone(String mobilePhone)
Sets the user's mobile phone number
|
UserModel |
setProfileImage(Image profileImage)
Sets the user's profile image
|
UserModel |
setResourceViewer(Boolean resourceViewer)
Sets the resource manager flag.
|
UserModel |
setRole(String role)
Sets the user's role
|
UserModel |
setSheetCount(Integer sheetCount)
Sets the sheetCount
|
UserModel |
setStatus(UserStatus status)
Sets the status of the user.
|
UserModel |
setTitle(String title)
Sets the user's title
|
UserModel |
setWorkPhone(String workPhone)
Sets the user's work phone number
|
equals, getId, hashCode, setIdpublic String getEmail()
public UserModel setEmail(String email)
email - the new email addresspublic String getFirstName()
public UserModel setFirstName(String firstName)
firstName - the new first namepublic String getLastName()
public UserModel setLastName(String lastName)
lastName - the new last namepublic Boolean getAdmin()
public UserModel setAdmin(Boolean admin)
admin - the new adminpublic Boolean getLicensedSheetCreator()
public UserModel setLicensedSheetCreator(Boolean licensedSheetCreator)
licensedSheetCreator - the new licensed sheet creatorpublic UserStatus getStatus()
public UserModel setStatus(UserStatus status)
status - the new statuspublic Boolean getResourceViewer()
public UserModel setResourceViewer(Boolean resourceViewer)
resourceViewer - the flagpublic Boolean getGroupAdmin()
public UserModel setGroupAdmin(Boolean groupAdmin)
groupAdmin - sets the flag that indicates if someone is a groupAdminpublic List<AlternateEmail> getAlternateEmails()
public UserModel setAlternateEmails(List<AlternateEmail> alternateEmails)
alternateEmails - the new list of alternateEmailspublic Integer getSheetCount()
public UserModel setSheetCount(Integer sheetCount)
sheetCount - the new sheetCountpublic Date getLastLogin()
public UserModel setLastLogin(Date lastLogin)
lastLogin - the new lastLogin datepublic Date getCustomWelcomeScreenViewed()
public UserModel setCustomWelcomeScreenViewed(Date customWelcomeScreenViewed)
customWelcomeScreenViewed - the new customWelcomeScreenViewed datepublic String getCompany()
public UserModel setCompany(String company)
company - the company namepublic String getDepartment()
public UserModel setDepartment(String department)
department - the departmentpublic String getMobilePhone()
public UserModel setMobilePhone(String mobilePhone)
mobilePhone - the phone numberpublic Image getProfileImage()
public UserModel setProfileImage(Image profileImage)
profileImage - the Imagepublic String getRole()
public String getTitle()
public UserModel setTitle(String title)
title - the titlepublic String getWorkPhone()
Copyright © 2014–2019 Smartsheet. All rights reserved.