Class PlatformUserEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntity
com.flowable.idm.engine.impl.persistence.entity.PlatformUserEntityImpl
- All Implemented Interfaces:
PlatformUser,PlatformUserEntity,Serializable,VariableContainer,HasRevision,Entity,User
- Author:
- Tom Baeyens, Arkadiy Gornovoy, Joram Barrez, Filip Hrisafov
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected List<PlatformIdentityInfo>The identity info for the user.protected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected DateFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PlatformIdentityInfoEntityaddIdentityInfo(String name, Object value) findIdentityInfo(String name) <T> TfindOrElse(String name, Class<T> clazz, T defaultValue) <T> TfindOrElseGet(String name, Class<T> clazz, Supplier<T> defaultValueSupplier) Returns the optional avatar image ID, if this user has an avatar saved in their profile.getEmail()Returns the identity info properties of this user.Returns the language of this user.Returns the current presence of the user.The time the current presence of the user was setGetter used by MyBatis when querying platform user with identity info included.getState()Returns the state of this user.Returns the sub state of this user.getTheme()getType()The type of the user.protected <T> TbooleanhasVariable(String variableName) booleanbooleanvoidsetAvatarId(String avatarId) voidsetCreationTime(Date creationTime) voidsetCreatorId(String creatorId) voidsetDisplayName(String displayName) voidvoidsetFirstName(String firstName) voidsetIdentityInfo(String name, Object value) voidsetIdentityInfo(List<PlatformIdentityInfo> identityInfo) voidsetLanguage(String language) voidsetLastName(String lastName) voidsetPassword(String password) voidsetPresence(String presence) voidsetQueryIdentityInfo(List<PlatformIdentityInfo> queryIdentityInfo) Setter used by MyBatis when querying conversation with identity links.voidSet the new state for this user.voidsetSubState(String subState) Set the new sub state for this user.voidsetSubType(String subType) voidsetTenantId(String tenantId) voidvoidvoidsetUpdaterId(String updaterId) voidsetUpdateTime(Date updateTime) voidsetUserDefinitionKey(String userDefinitionKey) toString()Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface com.flowable.core.idm.api.PlatformUser
findString, isActive, isBot, isExternalUserMethods inherited from interface com.flowable.idm.engine.impl.persistence.entity.PlatformUserEntity
getVariable, setTransientVariable, setVariable
-
Field Details
-
firstName
-
lastName
-
displayName
-
avatarId
-
email
-
creatorId
-
creationTime
-
updaterId
-
updateTime
-
password
-
tenantId
-
identityInfoInitialized
protected boolean identityInfoInitialized -
identityInfo
The identity info for the user. Make sure that it is not set otherwise MyBatis won't invoke the setter.
-
-
Constructor Details
-
PlatformUserEntityImpl
public PlatformUserEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentStatein interfaceEntity
-
getType
Description copied from interface:PlatformUserThe type of the user. It is possible that a user does not have this set, in this case this is a normal non special user.- Specified by:
getTypein interfacePlatformUser- Returns:
- the type of the user
- See Also:
-
setType
- Specified by:
setTypein interfacePlatformUserEntity
-
getSubType
- Specified by:
getSubTypein interfacePlatformUser
-
setSubType
- Specified by:
setSubTypein interfacePlatformUserEntity
-
getState
Description copied from interface:PlatformUserReturns the state of this user.- Specified by:
getStatein interfacePlatformUser- Returns:
- the state
-
setState
Description copied from interface:PlatformUserEntitySet the new state for this user. This should only be done over a deactivation / reactivation method and not as part of an user update.- Specified by:
setStatein interfacePlatformUserEntity- Parameters:
state- the state to be set for this user (ACTIVEorINACTIVE)
-
getSubState
Description copied from interface:PlatformUserReturns the sub state of this user.- Specified by:
getSubStatein interfacePlatformUser- Returns:
- the sub state
-
setSubState
Description copied from interface:PlatformUserEntitySet the new sub state for this user.- Specified by:
setSubStatein interfacePlatformUserEntity- Parameters:
subState- the sub state to be set for this user
-
getFirstName
- Specified by:
getFirstNamein interfaceUser
-
setFirstName
- Specified by:
setFirstNamein interfaceUser
-
getLastName
- Specified by:
getLastNamein interfaceUser
-
setLastName
- Specified by:
setLastNamein interfaceUser
-
getDisplayName
- Specified by:
getDisplayNamein interfaceUser
-
setDisplayName
- Specified by:
setDisplayNamein interfaceUser
-
getUserDefinitionKey
- Specified by:
getUserDefinitionKeyin interfacePlatformUser
-
setUserDefinitionKey
- Specified by:
setUserDefinitionKeyin interfacePlatformUserEntity
-
getAvatarId
Description copied from interface:PlatformUserReturns the optional avatar image ID, if this user has an avatar saved in their profile. This can be a content item ID- Specified by:
getAvatarIdin interfacePlatformUser- Returns:
- the optional avatar image ID
-
setAvatarId
- Specified by:
setAvatarIdin interfacePlatformUserEntity
-
getPresence
Description copied from interface:PlatformUserReturns the current presence of the user.- Specified by:
getPresencein interfacePlatformUser- Returns:
- the presence of the user
- See Also:
-
setPresence
- Specified by:
setPresencein interfacePlatformUserEntity
-
getPresenceTime
Description copied from interface:PlatformUserThe time the current presence of the user was set- Specified by:
getPresenceTimein interfacePlatformUser- Returns:
- the time the presence of the user was set
-
getLanguage
Description copied from interface:PlatformUserReturns the language of this user.- Specified by:
getLanguagein interfacePlatformUser- Returns:
- the language
-
setLanguage
- Specified by:
setLanguagein interfacePlatformUserEntity
-
getTheme
- Specified by:
getThemein interfacePlatformUser
-
setTheme
- Specified by:
setThemein interfacePlatformUserEntity
-
getEmail
-
setEmail
-
getCreatorId
- Specified by:
getCreatorIdin interfacePlatformUser
-
setCreatorId
- Specified by:
setCreatorIdin interfacePlatformUserEntity
-
getCreationTime
- Specified by:
getCreationTimein interfacePlatformUser
-
setCreationTime
- Specified by:
setCreationTimein interfacePlatformUserEntity
-
getUpdaterId
- Specified by:
getUpdaterIdin interfacePlatformUser
-
setUpdaterId
- Specified by:
setUpdaterIdin interfacePlatformUserEntity
-
getUpdateTime
- Specified by:
getUpdateTimein interfacePlatformUser
-
setUpdateTime
- Specified by:
setUpdateTimein interfacePlatformUserEntity
-
getPassword
- Specified by:
getPasswordin interfaceUser
-
setPassword
- Specified by:
setPasswordin interfaceUser
-
getTenantId
- Specified by:
getTenantIdin interfaceUser- Specified by:
getTenantIdin interfaceVariableContainer
-
setTenantId
- Specified by:
setTenantIdin interfaceUser
-
getIdentityInfo
Description copied from interface:PlatformUserReturns the identity info properties of this user.- Specified by:
getIdentityInfoin interfacePlatformUser- Returns:
- the identity info properties
-
setIdentityInfo
- Specified by:
setIdentityInfoin interfacePlatformUserEntity
-
setIdentityInfo
- Specified by:
setIdentityInfoin interfacePlatformUserEntity
-
addIdentityInfo
-
getQueryIdentityInfo
Getter used by MyBatis when querying platform user with identity info included. -
setQueryIdentityInfo
Setter used by MyBatis when querying conversation with identity links. -
isPictureSet
public boolean isPictureSet()- Specified by:
isPictureSetin interfaceUser
-
isIdentityInfoInitialized
public boolean isIdentityInfoInitialized()- Specified by:
isIdentityInfoInitializedin interfacePlatformUserEntity
-
findIdentityInfo
- Specified by:
findIdentityInfoin interfacePlatformUserEntity
-
findOrElseGet
- Specified by:
findOrElseGetin interfacePlatformUser- Specified by:
findOrElseGetin interfacePlatformUserEntity
-
findOrElse
- Specified by:
findOrElsein interfacePlatformUser- Specified by:
findOrElsein interfacePlatformUserEntity
-
hasVariable
- Specified by:
hasVariablein interfaceVariableContainer
-
getValue
-
toString
-