Package org.javlo.user
Interface IUserInfo
-
- All Known Implementing Classes:
AdminUserInfo
,UserInfo
public interface IUserInfo
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFERRED_LANGUAGE_SEPARATOR
static char
ROLES_SEPARATOR
-
Method Summary
-
-
-
Field Detail
-
ROLES_SEPARATOR
static final char ROLES_SEPARATOR
- See Also:
- Constant Field Values
-
PREFERRED_LANGUAGE_SEPARATOR
static final String PREFERRED_LANGUAGE_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogin
String getLogin()
-
getEncryptLogin
String getEncryptLogin()
return the encrypt login the encrypt login can change when we restart.
-
getParent
String getParent()
get the parent of the user, a parent can be a manager.- Returns:
-
getTitle
String getTitle()
-
getFirstName
String getFirstName()
-
getLastName
String getLastName()
-
getGender
String getGender()
-
getPassword
String getPassword()
-
getNationalRegister
String getNationalRegister()
-
setNationalRegister
void setNationalRegister(String nationalRegister)
-
getEmail
String getEmail()
-
getUrl
String getUrl()
-
getInfo
String getInfo()
-
getToken
String getToken()
-
getTokenCreateIfNotExist
String getTokenCreateIfNotExist()
-
resetToken
void resetToken()
-
getBirthdate
String getBirthdate()
-
getPreferredLanguage
String[] getPreferredLanguage()
-
getAddress
String getAddress()
-
setAddress
void setAddress(String address)
-
getCity
String getCity()
-
setCity
void setCity(String city)
-
getPostCode
String getPostCode()
-
setPostCode
void setPostCode(String postCode)
-
setId
void setId(String id)
-
setLogin
void setLogin(String login)
-
setTitle
void setTitle(String title)
-
setFirstName
void setFirstName(String firstName)
-
setLastName
void setLastName(String lastName)
-
setPassword
void setPassword(String password)
-
setEmail
void setEmail(String email)
-
setInfo
void setInfo(String info)
-
setToken
void setToken(String token)
-
setBirthdate
void setBirthdate(String date)
-
setPreferredLanguage
void setPreferredLanguage(String[] preferredLanguage)
-
setCountry
void setCountry(String country)
-
getPhone
String getPhone()
-
setPhone
void setPhone(String phone)
-
setCreationDate
void setCreationDate(Date creationDate)
-
getCreationDate
Date getCreationDate()
-
setModificationDate
void setModificationDate(Date modificationDate)
-
getModificationDate
Date getModificationDate()
-
setValue
void setValue(String field, String value) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
-
getAllLabels
String[] getAllLabels()
-
getAllValues
String[] getAllValues()
-
getAvatarURL
String getAvatarURL()
-
setAvatarURL
void setAvatarURL(String avatarURL)
-
getUserFolder
String getUserFolder()
-
getInternetAddress
javax.mail.internet.InternetAddress getInternetAddress()
-
getSite
String getSite()
-
getTaxonomy
String[] getTaxonomy()
-
setTaxonomy
void setTaxonomy(String[] taxonomy)
-
setSite
void setSite(String site)
-
getAccountType
String getAccountType()
get the type of account (default, facebook, google account...)- Returns:
-
setExternalLoginUser
void setExternalLoginUser()
define user as outside loged, as facebook or google login.
-
isExternalLoginUser
boolean isExternalLoginUser()
check if user is logged from external module (as facebook ou google).- Returns:
- true if user logged from external module.
-
getCountry
String getCountry()
-
getOrganization
String getOrganization()
-
-