Package com.flowable.idm.engine.impl
Class PlatformUserBuilderImpl
java.lang.Object
com.flowable.idm.engine.impl.PlatformUserBuilderImpl
- All Implemented Interfaces:
PlatformUserBuilder
- Author:
- Filip Hrisafov, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected final CoreIdmEngineConfigurationprotected final booleanprotected Stringprotected Stringprotected PlatformUserEntityprotected Stringprotected PlatformUserEntityprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionPlatformUserBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String userId, boolean isUpdate) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) protected PlatformUserexecuteSave(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected booleanisPropertyModified(String property) Setting the presence is only possible for new users.save()Performs the save of the userSet the type of the user.userDefinitionId(String userDefinitionId) userDefinitionKey(String userDefinitionKey)
-
Field Details
-
idmEngineConfiguration
-
userId
-
isUpdate
protected final boolean isUpdate -
tenantId
-
userDefinitionId
-
userDefinitionKey
-
type
-
subType
-
presence
-
state
-
subState
-
firstName
-
lastName
-
displayName
-
avatarId
-
email
-
password
-
language
-
theme
-
customInfo
-
modifiedProperties
-
originalPlatformUser
-
platformUser
-
-
Constructor Details
-
PlatformUserBuilderImpl
public PlatformUserBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String userId, boolean isUpdate)
-
-
Method Details
-
tenantId
- Specified by:
tenantIdin interfacePlatformUserBuilder
-
userDefinitionId
- Specified by:
userDefinitionIdin interfacePlatformUserBuilder
-
userDefinitionKey
- Specified by:
userDefinitionKeyin interfacePlatformUserBuilder
-
type
Description copied from interface:PlatformUserBuilderSet the type of the user.- Specified by:
typein interfacePlatformUserBuilder- Parameters:
type- that the user should have- See Also:
-
subType
- Specified by:
subTypein interfacePlatformUserBuilder
-
presence
Description copied from interface:PlatformUserBuilderSetting the presence is only possible for new users. Updating a user presence should happen overPlatformIdentityService.updateUserPresence(String, String, String)- Specified by:
presencein interfacePlatformUserBuilder- Parameters:
presence- that the user should have- See Also:
-
state
- Specified by:
statein interfacePlatformUserBuilder
-
subState
- Specified by:
subStatein interfacePlatformUserBuilder
-
firstName
- Specified by:
firstNamein interfacePlatformUserBuilder
-
lastName
- Specified by:
lastNamein interfacePlatformUserBuilder
-
displayName
- Specified by:
displayNamein interfacePlatformUserBuilder
-
avatarId
- Specified by:
avatarIdin interfacePlatformUserBuilder
-
email
- Specified by:
emailin interfacePlatformUserBuilder
-
password
- Specified by:
passwordin interfacePlatformUserBuilder
-
language
- Specified by:
languagein interfacePlatformUserBuilder
-
theme
- Specified by:
themein interfacePlatformUserBuilder
-
setInfo
- Specified by:
setInfoin interfacePlatformUserBuilder
-
save
Description copied from interface:PlatformUserBuilderPerforms the save of the user- Specified by:
savein interfacePlatformUserBuilder- Returns:
- the saved
PlatformUser
-
executeSave
protected PlatformUser executeSave(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
isPropertyModified
-
getOriginalPlatformUser
-
getPlatformUser
-