Package de.xima.fc.user.access
Class UserInfo
- java.lang.Object
-
- de.xima.fc.user.access.UserInfo
-
- All Implemented Interfaces:
Serializable
public final class UserInfo extends Object implements Serializable
Basic information about the formcycle user profile of a user.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LocalegetDefaultLocale()The preferred locale of the user, ornullif the user has not chosen one.StringgetDisplayName()The name of the user for display purposes.UserIdgetId()The ID of the user profile.UserEmailgetPrimaryEmail()The primary email address of the user, ornullif the user has none.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
UserInfo
public UserInfo(UserId id, String displayName, UserEmail primaryEmail, Locale defaultLocale)
Creates a newUserInfoinstance.- Parameters:
id- The ID of the user profile.displayName- The name of the user for display purposes.primaryEmail- The primary email address of the user, ornullif the user has none.defaultLocale- The preferred locale of the user, ornullif the user has not chosen one.
-
-
Method Detail
-
getId
public UserId getId()
The ID of the user profile.
-
getDisplayName
public String getDisplayName()
The name of the user for display purposes.
-
getPrimaryEmail
public UserEmail getPrimaryEmail()
The primary email address of the user, ornullif the user has none.
-
getDefaultLocale
public Locale getDefaultLocale()
The preferred locale of the user, ornullif the user has not chosen one.
-
-