public class User extends ModelBase implements IUser, ModelWithFilePath
Constructor and Description |
---|
User() |
equals, getBucket, getCompoundId, getController, getDeleted, getId, getIsNewInsert, getLastModifiedMillis, getMeta, hashCode, setBucket, setDeleted, setId, setIsNewInsert, setLastModifiedMillis
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId, getIsNewInsert, isAnon, isAuthorized, isInRole, isStaff, setIsNewInsert
getDeleted
getBucket, getCompoundId, getController, getDeleted, getLastModifiedMillis, setBucket, setDeleted, setId, setLastModifiedMillis
public User()
public String getUsername()
getUsername
in interface IUser
public <U extends IUser> U setUsername(String username)
setUsername
in interface IUser
public String getDisplayName()
getDisplayName
in interface Contactable
getDisplayName
in interface IUser
public <U extends IUser> U setDisplayName(String displayName)
setDisplayName
in interface IUser
public String getGivenName()
getGivenName
in interface Contactable
getGivenName
in interface IUser
public <U extends IUser> U setGivenName(String givenName)
setGivenName
in interface IUser
public String getFamilyName()
getFamilyName
in interface Contactable
getFamilyName
in interface IUser
public <U extends IUser> U setFamilyName(String familyName)
setFamilyName
in interface IUser
public String getEmail()
getEmail
in interface Contactable
getEmail
in interface IUser
public User setRoleFromString(String role)
public String getTimeZoneId()
getTimeZoneId
in interface IUser
public <U extends IUser> U setTimeZoneId(String timeZoneId)
setTimeZoneId
in interface IUser
public String getBcryptedPassword()
getBcryptedPassword
in interface IUser
public <U extends IUser> U setBcryptedPassword(String bcryptedPassword)
setBcryptedPassword
in interface IUser
public String generateFilePath()
generateFilePath
in interface ModelWithFilePath
public String getFilePath()
getFilePath
in interface ModelWithFilePath
public void setFilePath(String filePath)
setFilePath
in interface ModelWithFilePath
public String getEncryptionSecret()
getEncryptionSecret
in interface IUser
public <U extends IUser> U setEncryptionSecret(String encryptionSecret)
setEncryptionSecret
in interface IUser
public boolean isPredefined()
isPredefined
in interface IUser
public User setPredefined(boolean predefined)
setPredefined
in interface IUser
public Boolean getApproved()
getApproved
in interface IUser
public <U extends IUser> U setApproved(Boolean approved)
setApproved
in interface IUser
public boolean getEmailVerified()
getEmailVerified
in interface IUser
public <U extends IUser> U setEmailVerified(boolean emailVerified)
setEmailVerified
in interface IUser
public String getResetToken()
getResetToken
in interface IUser
public <U extends IUser> U setResetToken(String resetToken)
setResetToken
in interface IUser
public Long getAliasForId()
getAliasForId
in interface IUser
public <U extends IUser> U setAliasForId(Long aliasForId)
setAliasForId
in interface IUser
public String getHonorific()
getHonorific
in interface Contactable
public User setHonorific(String honorific)
public boolean isTotallyOptedOut()
Contactable
isTotallyOptedOut
in interface Contactable
public User setTotallyOptedOut(boolean totallyOptedOut)
public boolean isOptedOut()
Contactable
isOptedOut
in interface Contactable
public User setOptedOut(boolean optedOut)
public boolean isDisabled()
Contactable
isDisabled
in interface Contactable
public User setDisabled(boolean disabled)
setDisabled
in interface IUser
public Long getCreatedAt()
getCreatedAt
in interface IUser
public User setCreatedAt(Long createdAt)
setCreatedAt
in interface IUser
Copyright © 2016. All rights reserved.