Package pro.taskana.user.internal.models
Class UserImpl
java.lang.Object
pro.taskana.user.internal.models.UserImpl
- All Implemented Interfaces:
User
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Duplicates this User.booleangetData()Returns the data of the User.Returns the domains of the User.getEmail()Returns the email address of the User.Returns the first name of the User.Returns the full name of the User.Returns the groups of the User.getId()Returns the id of the User.Returns the last name of the User.Returns the long name of the User.Returns the mobile phone number of the User.Returns the orgLevel1 of the User.Returns the orgLevel2 of the User.Returns the orgLevel3 of the User.Returns the orgLevel4 of the User.Returns the permissions of the User.getPhone()Returns the phone number of the User.inthashCode()voidSets the data of the User.voidsetDomains(Set<String> domains) voidSets the email address of the User.voidsetFirstName(String firstName) Sets the first name of the User.voidsetFullName(String fullName) Sets the full name of the User.voidSets the groups of the User.voidSets the id of the User.voidsetLastName(String lastName) Sets the last name of the User.voidsetLongName(String longName) Sets the long name of the User.voidsetMobilePhone(String mobilePhone) Sets the mobile phone number of the User.voidsetOrgLevel1(String orgLevel1) Sets the orgLevel1 of the User.voidsetOrgLevel2(String orgLevel2) Sets the orgLevel2 of the User.voidsetOrgLevel3(String orgLevel3) Sets the orgLevel3 of the User.voidsetOrgLevel4(String orgLevel4) Sets the orgLevel4 of the User.voidsetPermissions(Set<String> permissions) Sets the permissions of the User.voidSets the phone number of the User.toString()
-
Constructor Details
-
UserImpl
public UserImpl() -
UserImpl
-
-
Method Details
-
getId
Description copied from interface:UserReturns the id of the User. -
setId
Description copied from interface:UserSets the id of the User. -
getGroups
Description copied from interface:UserReturns the groups of the User. -
setGroups
Description copied from interface:UserSets the groups of the User. -
getPermissions
Description copied from interface:UserReturns the permissions of the User.- Specified by:
getPermissionsin interfaceUser- Returns:
- permissions
-
setPermissions
Description copied from interface:UserSets the permissions of the User.- Specified by:
setPermissionsin interfaceUser- Parameters:
permissions- the permissions of the User
-
getFirstName
Description copied from interface:UserReturns the first name of the User.- Specified by:
getFirstNamein interfaceUser- Returns:
- firstName
-
setFirstName
Description copied from interface:UserSets the first name of the User.- Specified by:
setFirstNamein interfaceUser- Parameters:
firstName- the first name of the User
-
getLastName
Description copied from interface:UserReturns the last name of the User.- Specified by:
getLastNamein interfaceUser- Returns:
- lastName
-
setLastName
Description copied from interface:UserSets the last name of the User.- Specified by:
setLastNamein interfaceUser- Parameters:
lastName- the last name of the User
-
getFullName
Description copied from interface:UserReturns the full name of the User.- Specified by:
getFullNamein interfaceUser- Returns:
- fullName
-
setFullName
Description copied from interface:UserSets the full name of the User.- Specified by:
setFullNamein interfaceUser- Parameters:
fullName- the full name of the User
-
getLongName
Description copied from interface:UserReturns the long name of the User.- Specified by:
getLongNamein interfaceUser- Returns:
- longName
-
setLongName
Description copied from interface:UserSets the long name of the User.- Specified by:
setLongNamein interfaceUser- Parameters:
longName- the long name of the User
-
getEmail
Description copied from interface:UserReturns the email address of the User. -
setEmail
Description copied from interface:UserSets the email address of the User. -
getPhone
Description copied from interface:UserReturns the phone number of the User. -
setPhone
Description copied from interface:UserSets the phone number of the User. -
getMobilePhone
Description copied from interface:UserReturns the mobile phone number of the User.- Specified by:
getMobilePhonein interfaceUser- Returns:
- mobilePhone
-
setMobilePhone
Description copied from interface:UserSets the mobile phone number of the User.- Specified by:
setMobilePhonein interfaceUser- Parameters:
mobilePhone- the mobile phone number of the User
-
getOrgLevel4
Description copied from interface:UserReturns the orgLevel4 of the User.- Specified by:
getOrgLevel4in interfaceUser- Returns:
- orgLevel4
-
setOrgLevel4
Description copied from interface:UserSets the orgLevel4 of the User.- Specified by:
setOrgLevel4in interfaceUser- Parameters:
orgLevel4- the fourth organization level of the User
-
getOrgLevel3
Description copied from interface:UserReturns the orgLevel3 of the User.- Specified by:
getOrgLevel3in interfaceUser- Returns:
- orgLevel3
-
setOrgLevel3
Description copied from interface:UserSets the orgLevel3 of the User.- Specified by:
setOrgLevel3in interfaceUser- Parameters:
orgLevel3- the third organization level of the User
-
getOrgLevel2
Description copied from interface:UserReturns the orgLevel2 of the User.- Specified by:
getOrgLevel2in interfaceUser- Returns:
- orgLevel2
-
setOrgLevel2
Description copied from interface:UserSets the orgLevel2 of the User.- Specified by:
setOrgLevel2in interfaceUser- Parameters:
orgLevel2- the second organization level of the User
-
getOrgLevel1
Description copied from interface:UserReturns the orgLevel1 of the User.- Specified by:
getOrgLevel1in interfaceUser- Returns:
- orgLevel1
-
setOrgLevel1
Description copied from interface:UserSets the orgLevel1 of the User.- Specified by:
setOrgLevel1in interfaceUser- Parameters:
orgLevel1- the first organization level of the User
-
getData
Description copied from interface:UserReturns the data of the User. -
setData
Description copied from interface:UserSets the data of the User. -
getDomains
Description copied from interface:UserReturns the domains of the User.The domains are derived from the WorkbasketPermissions and the according TASKANA property TaskanaConfiguration.getMinimalPermissionsToAssignDomains().
- Specified by:
getDomainsin interfaceUser- Returns:
- domains
-
setDomains
-
copy
Description copied from interface:UserDuplicates this User. -
hashCode
public int hashCode() -
equals
-
toString
-