Modifier and Type | Method and Description |
---|---|
User.Builder |
accountId(com.edorasware.commons.core.entity.WorkObjectId 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(com.edorasware.commons.core.entity.UserId 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(com.edorasware.commons.core.entity.UserId 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<com.edorasware.commons.core.entity.GroupId> 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(com.edorasware.commons.core.entity.TenantId tenantId)
Set the mandatory tenant id of the user.
|
public User.Builder id(com.edorasware.commons.core.entity.UserId id)
id
- the id of the userpublic User.Builder externalId(com.edorasware.commons.core.entity.UserId externalId)
externalId
- the external id of the userpublic User.Builder firstName(String firstName)
firstName
- the first name of the userpublic User.Builder lastName(String lastName)
lastName
- the last name of the userpublic User.Builder displayName(String displayName)
displayName
- the display name of the userpublic User.Builder login(String login)
login
- the login of the userpublic User.Builder password(String password)
password
- the password of the userpublic User.Builder language(String language)
language
- the language of the userpublic User.Builder email(String email)
email
- the email of the userpublic User.Builder phone(String phone)
phone
- the phone number of the userpublic User.Builder mobile(String mobile)
mobile
- the mobile number of the userpublic User.Builder address(String address)
address
- the address of the userpublic User.Builder notes(String notes)
notes
- the notes of the userpublic User.Builder isAdmin(boolean isAdmin)
isAdmin
- true if the user is an admin user, false otherwisepublic User.Builder isActive(boolean isActive)
isActive
- true if the user is active, false otherwisepublic User.Builder accountId(com.edorasware.commons.core.entity.WorkObjectId accountId)
accountId
- the account id of the userpublic User.Builder tenantId(com.edorasware.commons.core.entity.TenantId tenantId)
tenantId
- the tenant id of the userpublic User.Builder memberGroups(Set<com.edorasware.commons.core.entity.GroupId> memberGroups)
memberGroups
- the member groups of the userpublic User.Builder notifications(Set<UserNotification> notifications)
notifications
- the notifications of the userpublic User.Builder deputies(List<User.DeputyUser> deputies)
deputies
- the deputies of the userpublic User.Builder roles(Set<SystemRole> roles)
roles
- the roles of the userpublic User.Builder homeUrl(String homeUrl)
homeUrl
- the user's home urlpublic User.Builder isLivePreview(Boolean livePreview)
livePreview
- the users livePreview flag (flase if null)public User build()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.