Modifier and Type | Method and Description |
---|---|
User.Builder |
accountId(String accountId)
Set the mandatory account id of the user.
|
User.Builder |
address(String address)
Set the address of the user.
|
User |
build()
Build the user object.
|
User.Builder |
deputies(List<User.DeputyUser> deputies)
Set the optional deputies of the user.
|
User.Builder |
displayName(String displayName)
Set the mandatory display name of the user.
|
User.Builder |
email(String email)
Set the mandatory email of the user.
|
User.Builder |
externalId(String externalId)
Set the optional external id of the user.
|
User.Builder |
firstName(String firstName)
Set the mandatory first name of the user.
|
User.Builder |
homeUrl(String homeUrl)
Set the user’s homeUrl
|
User.Builder |
id(String id)
Set the mandatory id of the user.
|
User.Builder |
isActive(boolean isActive)
Set if the user is active.
|
User.Builder |
isAdmin(boolean isAdmin)
Set if the user is an admin user.
|
User.Builder |
isLivePreview(Boolean livePreview)
Set the user’s isLivePreview flag
|
User.Builder |
language(String language)
Set the mandatory language of the user.
|
User.Builder |
lastName(String lastName)
Set the mandatory last name of the user.
|
User.Builder |
login(String login)
Set the mandatory login of the user.
|
User.Builder |
memberGroups(Set<String> memberGroups)
Set the optional member groups of the user.
|
User.Builder |
mobile(String mobile)
Set the mobile number of the user.
|
User.Builder |
notes(String notes)
Set the notes of the user.
|
User.Builder |
notifications(Set<UserNotification> notifications)
Set the optional notifications of the user.
|
User.Builder |
password(String password)
Set the mandatory password of the user.
|
User.Builder |
phone(String phone)
Set the phone number of the user.
|
User.Builder |
roles(Set<SystemRole> roles)
Set the optional roles of the user.
|
User.Builder |
tenantId(String tenantId)
Set the mandatory tenant id of the user.
|
User.Builder |
variables(Map<String,Object> variables)
Set the optional, additional variables for this user.
|
public User.Builder id(String id)
Set the mandatory id of the user.
id
- the id of the userpublic User.Builder externalId(String externalId)
Set the optional external id of the user.
externalId
- the external id of the userpublic User.Builder firstName(String firstName)
Set the mandatory first name of the user.
firstName
- the first name of the userpublic User.Builder lastName(String lastName)
Set the mandatory last name of the user.
lastName
- the last name of the userpublic User.Builder displayName(String displayName)
Set the mandatory display name of the user.
displayName
- the display name of the userpublic User.Builder login(String login)
Set the mandatory login of the user.
login
- the login of the userpublic User.Builder password(String password)
Set the mandatory password of the user.
password
- the password of the userpublic User.Builder language(String language)
Set the mandatory language of the user.
language
- the language of the userpublic User.Builder email(String email)
Set the mandatory email of the user.
email
- the email of the userpublic User.Builder phone(String phone)
Set the phone number of the user.
phone
- the phone number of the userpublic User.Builder mobile(String mobile)
Set the mobile number of the user.
mobile
- the mobile number of the userpublic User.Builder address(String address)
Set the address of the user.
address
- the address of the userpublic User.Builder notes(String notes)
Set the notes of the user.
notes
- the notes of the userpublic User.Builder isAdmin(boolean isAdmin)
Set if the user is an admin user.
isAdmin
- true if the user is an admin user, false otherwisepublic User.Builder isActive(boolean isActive)
Set if the user is active.
isActive
- true if the user is active, false otherwisepublic User.Builder accountId(String accountId)
Set the mandatory account id of the user.
accountId
- the account id of the userpublic User.Builder tenantId(String tenantId)
Set the mandatory tenant id of the user.
tenantId
- the tenant id of the userpublic User.Builder memberGroups(Set<String> memberGroups)
Set the optional member groups of the user.
memberGroups
- the member groups of the userpublic User.Builder notifications(Set<UserNotification> notifications)
Set the optional notifications of the user.
notifications
- the notifications of the userpublic User.Builder deputies(List<User.DeputyUser> deputies)
Set the optional deputies of the user.
deputies
- the deputies of the userpublic User.Builder roles(Set<SystemRole> roles)
Set the optional roles of the user.
roles
- the roles of the userpublic User.Builder homeUrl(String homeUrl)
Set the user’s homeUrl
homeUrl
- the user’s home urlpublic User.Builder isLivePreview(Boolean livePreview)
Set the user’s isLivePreview flag
livePreview
- the users livePreview flag (false if null)public User.Builder variables(Map<String,Object> variables)
Set the optional, additional variables for this user.
variables
- the optional map of additional variables to setpublic User build()
Build the user object.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.