Package pro.taskana.user.internal.models
Class UserImpl
- java.lang.Object
-
- pro.taskana.user.internal.models.UserImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserImplcopy()Duplicates this User.booleanequals(Object obj)StringgetData()Returns the data of the User.Set<String>getDomains()Returns the domains of the User.StringgetEmail()Returns the email address of the User.StringgetFirstName()Returns the first name of the User.StringgetFullName()Returns the full name of the User.Set<String>getGroups()Returns the groups of the User.StringgetId()Returns the id of the User.StringgetLastName()Returns the last name of the User.StringgetLongName()Returns the long name of the User.StringgetMobilePhone()Returns the mobile phone number of the User.StringgetOrgLevel1()Returns the orgLevel1 of the User.StringgetOrgLevel2()Returns the orgLevel2 of the User.StringgetOrgLevel3()Returns the orgLevel3 of the User.StringgetOrgLevel4()Returns the orgLevel4 of the User.StringgetPhone()Returns the phone number of the User.inthashCode()voidsetData(String data)Sets the data of the User.voidsetDomains(Set<String> domains)voidsetEmail(String email)Sets 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.voidsetGroups(Set<String> groups)Sets the groups of the User.voidsetId(String id)Sets 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.voidsetPhone(String phone)Sets the phone number of the User.StringtoString()
-
-
-
Constructor Detail
-
UserImpl
public UserImpl()
-
UserImpl
protected UserImpl(UserImpl copyFrom)
-
-
Method Detail
-
setId
public void setId(String id)
Description copied from interface:UserSets the id of the User.
-
getGroups
public Set<String> getGroups()
Description copied from interface:UserReturns the groups of the User.
-
setGroups
public void setGroups(Set<String> groups)
Description copied from interface:UserSets the groups of the User.
-
getFirstName
public String getFirstName()
Description copied from interface:UserReturns the first name of the User.- Specified by:
getFirstNamein interfaceUser- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
Description copied from interface:UserSets the first name of the User.- Specified by:
setFirstNamein interfaceUser- Parameters:
firstName- the first name of the User
-
getLastName
public String getLastName()
Description copied from interface:UserReturns the last name of the User.- Specified by:
getLastNamein interfaceUser- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Description copied from interface:UserSets the last name of the User.- Specified by:
setLastNamein interfaceUser- Parameters:
lastName- the last name of the User
-
getFullName
public String getFullName()
Description copied from interface:UserReturns the full name of the User.- Specified by:
getFullNamein interfaceUser- Returns:
- fullName
-
setFullName
public void setFullName(String fullName)
Description copied from interface:UserSets the full name of the User.- Specified by:
setFullNamein interfaceUser- Parameters:
fullName- the full name of the User
-
getLongName
public String getLongName()
Description copied from interface:UserReturns the long name of the User.- Specified by:
getLongNamein interfaceUser- Returns:
- longName
-
setLongName
public void setLongName(String longName)
Description copied from interface:UserSets the long name of the User.- Specified by:
setLongNamein interfaceUser- Parameters:
longName- the long name of the User
-
getEmail
public String getEmail()
Description copied from interface:UserReturns the email address of the User.
-
setEmail
public void setEmail(String email)
Description copied from interface:UserSets the email address of the User.
-
getPhone
public String getPhone()
Description copied from interface:UserReturns the phone number of the User.
-
setPhone
public void setPhone(String phone)
Description copied from interface:UserSets the phone number of the User.
-
getMobilePhone
public String getMobilePhone()
Description copied from interface:UserReturns the mobile phone number of the User.- Specified by:
getMobilePhonein interfaceUser- Returns:
- mobilePhone
-
setMobilePhone
public void setMobilePhone(String mobilePhone)
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
public String getOrgLevel4()
Description copied from interface:UserReturns the orgLevel4 of the User.- Specified by:
getOrgLevel4in interfaceUser- Returns:
- orgLevel4
-
setOrgLevel4
public void setOrgLevel4(String orgLevel4)
Description copied from interface:UserSets the orgLevel4 of the User.- Specified by:
setOrgLevel4in interfaceUser- Parameters:
orgLevel4- the fourth organization level of the User
-
getOrgLevel3
public String getOrgLevel3()
Description copied from interface:UserReturns the orgLevel3 of the User.- Specified by:
getOrgLevel3in interfaceUser- Returns:
- orgLevel3
-
setOrgLevel3
public void setOrgLevel3(String orgLevel3)
Description copied from interface:UserSets the orgLevel3 of the User.- Specified by:
setOrgLevel3in interfaceUser- Parameters:
orgLevel3- the third organization level of the User
-
getOrgLevel2
public String getOrgLevel2()
Description copied from interface:UserReturns the orgLevel2 of the User.- Specified by:
getOrgLevel2in interfaceUser- Returns:
- orgLevel2
-
setOrgLevel2
public void setOrgLevel2(String orgLevel2)
Description copied from interface:UserSets the orgLevel2 of the User.- Specified by:
setOrgLevel2in interfaceUser- Parameters:
orgLevel2- the second organization level of the User
-
getOrgLevel1
public String getOrgLevel1()
Description copied from interface:UserReturns the orgLevel1 of the User.- Specified by:
getOrgLevel1in interfaceUser- Returns:
- orgLevel1
-
setOrgLevel1
public void setOrgLevel1(String orgLevel1)
Description copied from interface:UserSets the orgLevel1 of the User.- Specified by:
setOrgLevel1in interfaceUser- Parameters:
orgLevel1- the first organization level of the User
-
getData
public String getData()
Description copied from interface:UserReturns the data of the User.
-
setData
public void setData(String data)
Description copied from interface:UserSets the data of the User.
-
getDomains
public Set<String> 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
-
-