Package de.uplanet.lucy.usermanager
Class UserNameBuilder
java.lang.Object
de.uplanet.lucy.usermanager.UserNameBuilder
Builds names from user related data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDisplayName
(de.uplanet.lucy.usermanager.ILogonUser p_user) static String
getFullName
(de.uplanet.lucy.usermanager.ILogonUser p_user, boolean p_bWithComma) Returns the full name of the specified user.static String
getFullName
(de.uplanet.lucy.usermanager.ILogonUser p_user, boolean p_bWithTitle, boolean p_bWithComma)
-
Constructor Details
-
UserNameBuilder
public UserNameBuilder()
-
-
Method Details
-
getFullName
public static String getFullName(de.uplanet.lucy.usermanager.ILogonUser p_user, boolean p_bWithComma) Returns the full name of the specified user.- Parameters:
p_user
- user to return the full name for.p_bWithComma
- specifies, if the name will be returned in the format<LastName>,<FirstName><MiddleName>
when true or<FirstName><MiddleName><LastName>
- Returns:
- fullname
-
getFullName
public static String getFullName(de.uplanet.lucy.usermanager.ILogonUser p_user, boolean p_bWithTitle, boolean p_bWithComma) -
getDisplayName
-