Package com.flowable.core.idm.api
Interface PlatformUserBuilder
- All Known Implementing Classes:
PlatformUserBuilderImpl
public interface PlatformUserBuilder
A builder for the Platform user that can be used to set predefined properties or add some custom properties.
- Author:
- Filip Hrisafov, Joram Barrez
-
Method Summary
Modifier and Type Method Description PlatformUserBuilderavatarId(java.lang.String avatarId)PlatformUserBuilderdisplayName(java.lang.String displayName)PlatformUserBuilderemail(java.lang.String email)PlatformUserBuilderfirstName(java.lang.String firstName)PlatformUserBuilderlanguage(java.lang.String language)PlatformUserBuilderlastName(java.lang.String lastName)PlatformUserBuilderpassword(java.lang.String password)PlatformUserBuilderpresence(java.lang.String presence)Setting the presence is only possible for new users.PlatformUsersave()Performs the save of the userPlatformUserBuildersetInfo(java.lang.String name, java.lang.Object value)PlatformUserBuilderstate(java.lang.String state)PlatformUserBuildersubState(java.lang.String subState)PlatformUserBuildersubType(java.lang.String subType)PlatformUserBuildertenantId(java.lang.String tenant)PlatformUserBuildertheme(java.lang.String theme)PlatformUserBuildertype(java.lang.String type)Set the type of the user.PlatformUserBuilderuserDefinitionId(java.lang.String userDefinitionId)PlatformUserBuilderuserDefinitionKey(java.lang.String userDefinitionKey)
-
Method Details
-
tenantId
-
userDefinitionId
-
userDefinitionKey
-
type
Set the type of the user.- Parameters:
type- that the user should have- See Also:
for known types
-
subType
-
presence
Setting the presence is only possible for new users. Updating a user presence should happen overPlatformIdentityService.updateUserPresence(String, String)- Parameters:
presence- that the user should have- See Also:
for known states
-
state
-
subState
-
firstName
-
lastName
-
displayName
-
avatarId
-
email
-
password
-
language
-
theme
-
setInfo
-
save
PlatformUser save()Performs the save of the user- Returns:
- the saved
PlatformUser
-