public class PlatformUserBuilderImpl extends Object implements PlatformUserBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
avatarId |
protected Map<String,Object> |
customInfo |
protected String |
displayName |
protected String |
email |
protected String |
firstName |
protected CoreIdmEngineConfiguration |
idmEngineConfiguration |
protected boolean |
isUpdate |
protected String |
language |
protected String |
lastName |
protected Set<String> |
modifiedProperties |
protected PlatformUserEntity |
originalPlatformUser |
protected String |
password |
protected PlatformUserEntity |
platformUser |
protected String |
presence |
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 |
userDefinitionId |
protected String |
userDefinitionKey |
protected String |
userId |
| Constructor and Description |
|---|
PlatformUserBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration,
String userId,
boolean isUpdate) |
protected final CoreIdmEngineConfiguration idmEngineConfiguration
protected final String userId
protected final boolean isUpdate
protected String tenantId
protected String userDefinitionId
protected String userDefinitionKey
protected String type
protected String subType
protected String presence
protected String systemId
protected String systemType
protected String state
protected String subState
protected String firstName
protected String lastName
protected String displayName
protected String avatarId
protected String email
protected String password
protected String language
protected String theme
protected PlatformUserEntity originalPlatformUser
protected PlatformUserEntity platformUser
public PlatformUserBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String userId, boolean isUpdate)
public PlatformUserBuilder tenantId(String tenantId)
tenantId in interface PlatformUserBuilderpublic PlatformUserBuilder userDefinitionId(String userDefinitionId)
userDefinitionId in interface PlatformUserBuilderpublic PlatformUserBuilder userDefinitionKey(String userDefinitionKey)
userDefinitionKey in interface PlatformUserBuilderpublic PlatformUserBuilder type(String type)
PlatformUserBuildertype in interface PlatformUserBuildertype - that the user should havefor known typespublic PlatformUserBuilder subType(String subType)
subType in interface PlatformUserBuilderpublic PlatformUserBuilder presence(String presence)
PlatformUserBuilderPlatformIdentityService.updateUserPresence(String, String)presence in interface PlatformUserBuilderpresence - that the user should havefor known statespublic PlatformUserBuilder systemId(String systemId)
systemId in interface PlatformUserBuilderpublic PlatformUserBuilder systemType(String systemType)
systemType in interface PlatformUserBuilderpublic PlatformUserBuilder state(String state)
state in interface PlatformUserBuilderpublic PlatformUserBuilder subState(String subState)
subState in interface PlatformUserBuilderpublic PlatformUserBuilder firstName(String firstName)
firstName in interface PlatformUserBuilderpublic PlatformUserBuilder lastName(String lastName)
lastName in interface PlatformUserBuilderpublic PlatformUserBuilder displayName(String displayName)
displayName in interface PlatformUserBuilderpublic PlatformUserBuilder avatarId(String avatarId)
avatarId in interface PlatformUserBuilderpublic PlatformUserBuilder email(String email)
email in interface PlatformUserBuilderpublic PlatformUserBuilder password(String password)
password in interface PlatformUserBuilderpublic PlatformUserBuilder language(String language)
language in interface PlatformUserBuilderpublic PlatformUserBuilder theme(String theme)
theme in interface PlatformUserBuilderpublic PlatformUserBuilder setInfo(String name, Object value)
setInfo in interface PlatformUserBuilderpublic PlatformUser save()
PlatformUserBuildersave in interface PlatformUserBuilderPlatformUserprotected PlatformUser executeSave(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected boolean isPropertyModified(String property)
public PlatformUserEntity getOriginalPlatformUser()
public PlatformUserEntity getPlatformUser()
Copyright © 2019. All rights reserved.