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
|
Date |
getCustomWelcomeScreenViewed()
Gets the customWelcomeScreenViewed date
|
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.
|
Boolean |
getResourceViewer() |
Integer |
getSheetCount()
Gets the sheetCount.
|
UserStatus |
getStatus()
Gets the status of the user (active, pending, declined).
|
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 |
setCustomWelcomeScreenViewed(Date customWelcomeScreenViewed)
Sets the customWelcomeScreenViewed date
|
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 |
setResourceViewer(Boolean resourceViewer)
Sets the resource manager flag.
|
UserModel |
setSheetCount(Integer sheetCount)
Sets the sheetCount
|
UserModel |
setStatus(UserStatus status)
Sets the status of the user.
|
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()
Copyright © 2014–2017 Smartsheet. All rights reserved.