Package pro.taskana.user.api.models
Interface User
-
- All Known Implementing Classes:
UserImpl
public interface UserThe User holds some relevant information about the TASKANA users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Usercopy()Duplicates this User.StringgetData()Returns the data 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.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.voidsetData(String data)Sets the data of the User.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.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.
-
-
-
Method Detail
-
getId
String getId()
Returns the id of the User.- Returns:
- userId
-
setId
void setId(String id)
Sets the id of the User.- Parameters:
id- the id of the User
-
getFirstName
String getFirstName()
Returns the first name of the User.- Returns:
- firstName
-
setFirstName
void setFirstName(String firstName)
Sets the first name of the User.- Parameters:
firstName- the first name of the User
-
getLastName
String getLastName()
Returns the last name of the User.- Returns:
- lastName
-
setLastName
void setLastName(String lastName)
Sets the last name of the User.- Parameters:
lastName- the last name of the User
-
getFullName
String getFullName()
Returns the full name of the User.- Returns:
- fullName
-
setFullName
void setFullName(String fullName)
Sets the full name of the User.- Parameters:
fullName- the full name of the User
-
getLongName
String getLongName()
Returns the long name of the User.- Returns:
- longName
-
setLongName
void setLongName(String longName)
Sets the long name of the User.- Parameters:
longName- the long name of the User
-
getEmail
String getEmail()
Returns the email address of the User.- Returns:
-
setEmail
void setEmail(String email)
Sets the email address of the User.- Parameters:
email- the email address of the User
-
getPhone
String getPhone()
Returns the phone number of the User.- Returns:
- phone
-
setPhone
void setPhone(String phone)
Sets the phone number of the User.- Parameters:
phone- the phone number of the User
-
getMobilePhone
String getMobilePhone()
Returns the mobile phone number of the User.- Returns:
- mobilePhone
-
setMobilePhone
void setMobilePhone(String mobilePhone)
Sets the mobile phone number of the User.- Parameters:
mobilePhone- the mobile phone number of the User
-
getOrgLevel4
String getOrgLevel4()
Returns the orgLevel4 of the User.- Returns:
- orgLevel4
-
setOrgLevel4
void setOrgLevel4(String orgLevel4)
Sets the orgLevel4 of the User.- Parameters:
orgLevel4- the fourth organization level of the User
-
getOrgLevel3
String getOrgLevel3()
Returns the orgLevel3 of the User.- Returns:
- orgLevel3
-
setOrgLevel3
void setOrgLevel3(String orgLevel3)
Sets the orgLevel3 of the User.- Parameters:
orgLevel3- the third organization level of the User
-
getOrgLevel2
String getOrgLevel2()
Returns the orgLevel2 of the User.- Returns:
- orgLevel2
-
setOrgLevel2
void setOrgLevel2(String orgLevel2)
Sets the orgLevel2 of the User.- Parameters:
orgLevel2- the second organization level of the User
-
getOrgLevel1
String getOrgLevel1()
Returns the orgLevel1 of the User.- Returns:
- orgLevel1
-
setOrgLevel1
void setOrgLevel1(String orgLevel1)
Sets the orgLevel1 of the User.- Parameters:
orgLevel1- the first organization level of the User
-
getData
String getData()
Returns the data of the User.- Returns:
- data
-
setData
void setData(String data)
Sets the data of the User.- Parameters:
data- the data of the User
-
copy
User copy()
Duplicates this User.- Returns:
- a copy of this User
-
-