public class PlatformUserEntityImpl extends AbstractIdmEngineEntity implements PlatformUserEntity
Modifier and Type | Field and Description |
---|---|
protected String |
avatarId |
protected Date |
creationTime |
protected String |
creatorId |
protected String |
displayName |
protected String |
email |
protected String |
firstName |
protected List<PlatformIdentityInfo> |
identityInfo
The identity info for the user.
|
protected boolean |
identityInfoInitialized |
protected String |
language |
protected String |
lastName |
protected String |
password |
protected String |
presence |
protected Date |
presenceTime |
protected String |
state |
protected String |
subState |
protected String |
subType |
protected String |
systemId |
protected String |
systemType |
protected String |
tenantId |
protected String |
theme |
protected String |
type |
protected String |
updaterId |
protected Date |
updateTime |
protected String |
userDefinitionId |
Constructor and Description |
---|
PlatformUserEntityImpl() |
Modifier and Type | Method and Description |
---|---|
protected PlatformIdentityInfoEntity |
addIdentityInfo(String name,
Object value) |
PlatformIdentityInfoEntity |
findIdentityInfo(String name) |
<T> T |
findOrElse(String name,
Class<T> clazz,
T defaultValue) |
<T> T |
findOrElseGet(String name,
Class<T> clazz,
Supplier<T> defaultValueSupplier) |
String |
getAvatarId()
Returns the optional avatar image ID, if this user has an avatar saved in their profile.
|
Date |
getCreationTime() |
String |
getCreatorId() |
String |
getDisplayName() |
String |
getEmail() |
String |
getFirstName() |
List<PlatformIdentityInfo> |
getIdentityInfo()
Returns the identity info properties of this user.
|
String |
getLanguage()
Returns the language of this user.
|
String |
getLastName() |
String |
getPassword() |
Object |
getPersistentState() |
String |
getPresence()
Returns the current presence of the user.
|
Date |
getPresenceTime()
The time the current presence of the user was set
|
List<PlatformIdentityInfo> |
getQueryIdentityInfo()
Getter used by MyBatis when querying platform user with identity info included.
|
String |
getState()
Returns the state of this user.
|
String |
getSubState()
Returns the sub state of this user.
|
String |
getSubType() |
String |
getSystemId()
The system id for the user.
|
String |
getSystemType()
The type of the system that the
systemId belongs to. |
String |
getTenantId() |
String |
getTheme() |
String |
getType()
The type of the user.
|
String |
getUpdaterId() |
Date |
getUpdateTime() |
String |
getUserDefinitionId() |
protected <T> T |
getValue(String name,
Class<T> clazz) |
boolean |
isIdentityInfoInitialized() |
boolean |
isPictureSet() |
void |
setAvatarId(String avatarId) |
void |
setCreationTime(Date creationTime) |
void |
setCreatorId(String creatorId) |
void |
setDisplayName(String displayName) |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setIdentityInfo(List<PlatformIdentityInfo> identityInfo) |
void |
setIdentityInfo(String name,
Object value) |
void |
setLanguage(String language) |
void |
setLastName(String lastName) |
void |
setPassword(String password) |
void |
setPresence(String presence) |
void |
setPresenceTime(Date presenceTime) |
void |
setQueryIdentityInfo(List<PlatformIdentityInfo> queryIdentityInfo)
Setter used by MyBatis when querying conversation with identity links.
|
void |
setState(String state)
Set the new state for this user.
|
void |
setSubState(String subState)
Set the new sub state for this user.
|
void |
setSubType(String subType) |
void |
setSystemId(String systemId) |
void |
setSystemType(String systemType) |
void |
setTenantId(String tenantId) |
void |
setTheme(String theme) |
void |
setType(String type) |
void |
setUpdaterId(String updaterId) |
void |
setUpdateTime(Date updateTime) |
void |
setUserDefinitionId(String userDefinitionId) |
getIdPrefix
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findString, isActive, isBot, isExternalUser
protected String type
protected String subType
protected String systemId
protected String systemType
protected String state
protected String subState
protected String firstName
protected String lastName
protected String displayName
protected String userDefinitionId
protected String avatarId
protected String presence
protected Date presenceTime
protected String language
protected String theme
protected String email
protected String creatorId
protected Date creationTime
protected String updaterId
protected Date updateTime
protected String password
protected String tenantId
protected boolean identityInfoInitialized
protected List<PlatformIdentityInfo> identityInfo
public Object getPersistentState()
getPersistentState
in interface org.flowable.common.engine.impl.persistence.entity.Entity
public String getType()
PlatformUser
getType
in interface PlatformUser
for known types
public void setType(String type)
setType
in interface PlatformUserEntity
public String getSubType()
getSubType
in interface PlatformUser
public void setSubType(String subType)
setSubType
in interface PlatformUserEntity
public String getSystemId()
PlatformUser
getSystemId
in interface PlatformUser
public void setSystemId(String systemId)
setSystemId
in interface PlatformUserEntity
public String getSystemType()
PlatformUser
systemId
belongs to.getSystemType
in interface PlatformUser
public void setSystemType(String systemType)
setSystemType
in interface PlatformUserEntity
public String getState()
PlatformUser
getState
in interface PlatformUser
public void setState(String state)
PlatformUserEntity
setState
in interface PlatformUserEntity
state
- the state to be set for this user (ACTIVE
or
INACTIVE
)public String getSubState()
PlatformUser
getSubState
in interface PlatformUser
public void setSubState(String subState)
PlatformUserEntity
setSubState
in interface PlatformUserEntity
subState
- the sub state to be set for this userpublic String getFirstName()
getFirstName
in interface org.flowable.idm.api.User
public void setFirstName(String firstName)
setFirstName
in interface org.flowable.idm.api.User
public String getLastName()
getLastName
in interface org.flowable.idm.api.User
public void setLastName(String lastName)
setLastName
in interface org.flowable.idm.api.User
public String getDisplayName()
getDisplayName
in interface org.flowable.idm.api.User
public void setDisplayName(String displayName)
setDisplayName
in interface org.flowable.idm.api.User
public String getUserDefinitionId()
getUserDefinitionId
in interface PlatformUser
public void setUserDefinitionId(String userDefinitionId)
setUserDefinitionId
in interface PlatformUserEntity
public String getAvatarId()
PlatformUser
getAvatarId
in interface PlatformUser
public void setAvatarId(String avatarId)
setAvatarId
in interface PlatformUserEntity
public String getPresence()
PlatformUser
getPresence
in interface PlatformUser
for known states
public void setPresence(String presence)
setPresence
in interface PlatformUserEntity
public Date getPresenceTime()
PlatformUser
getPresenceTime
in interface PlatformUser
public void setPresenceTime(Date presenceTime)
setPresenceTime
in interface PlatformUserEntity
public String getLanguage()
PlatformUser
getLanguage
in interface PlatformUser
public void setLanguage(String language)
setLanguage
in interface PlatformUser
setLanguage
in interface PlatformUserEntity
public String getTheme()
getTheme
in interface PlatformUser
public void setTheme(String theme)
setTheme
in interface PlatformUserEntity
public String getEmail()
getEmail
in interface org.flowable.idm.api.User
public void setEmail(String email)
setEmail
in interface org.flowable.idm.api.User
public String getCreatorId()
getCreatorId
in interface PlatformUser
public void setCreatorId(String creatorId)
setCreatorId
in interface PlatformUserEntity
public Date getCreationTime()
getCreationTime
in interface PlatformUser
public void setCreationTime(Date creationTime)
setCreationTime
in interface PlatformUserEntity
public String getUpdaterId()
getUpdaterId
in interface PlatformUser
public void setUpdaterId(String updaterId)
setUpdaterId
in interface PlatformUserEntity
public Date getUpdateTime()
getUpdateTime
in interface PlatformUser
public void setUpdateTime(Date updateTime)
setUpdateTime
in interface PlatformUserEntity
public String getPassword()
getPassword
in interface org.flowable.idm.api.User
public void setPassword(String password)
setPassword
in interface org.flowable.idm.api.User
public String getTenantId()
getTenantId
in interface org.flowable.idm.api.User
public void setTenantId(String tenantId)
setTenantId
in interface org.flowable.idm.api.User
public List<PlatformIdentityInfo> getIdentityInfo()
PlatformUser
getIdentityInfo
in interface PlatformUser
public void setIdentityInfo(List<PlatformIdentityInfo> identityInfo)
setIdentityInfo
in interface PlatformUserEntity
public void setIdentityInfo(String name, Object value)
setIdentityInfo
in interface PlatformUserEntity
protected PlatformIdentityInfoEntity addIdentityInfo(String name, Object value)
public List<PlatformIdentityInfo> getQueryIdentityInfo()
public void setQueryIdentityInfo(List<PlatformIdentityInfo> queryIdentityInfo)
public boolean isPictureSet()
isPictureSet
in interface org.flowable.idm.api.User
public boolean isIdentityInfoInitialized()
isIdentityInfoInitialized
in interface PlatformUserEntity
public PlatformIdentityInfoEntity findIdentityInfo(String name)
findIdentityInfo
in interface PlatformUserEntity
public <T> T findOrElseGet(String name, Class<T> clazz, Supplier<T> defaultValueSupplier)
findOrElseGet
in interface PlatformUser
findOrElseGet
in interface PlatformUserEntity
public <T> T findOrElse(String name, Class<T> clazz, T defaultValue)
findOrElse
in interface PlatformUser
findOrElse
in interface PlatformUserEntity
Copyright © 2019. All rights reserved.