Class DefaultFullNameGenerator
Object
com.liferay.portal.kernel.security.auth.DefaultFullNameGenerator
- All Implemented Interfaces:
FullNameGenerator
- Direct Known Subclasses:
FamilyNameFirstFullNameGenerator
- Author:
- Michael C. Han
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildFullName(String firstName, String middleName, String lastName, boolean useInitials) protected StringbuildLocalizedFullName(String firstName, String middleName, String lastName, Locale locale, long prefixListTypeId, long suffixListTypeId, boolean useInitials) getFullName(String firstName, String middleName, String lastName) getLocalizedFullName(String firstName, String middleName, String lastName, Locale locale, long prefixListTypeId, long suffixListTypeId) protected booleanisFullNameTooLong(String fullName) protected StringshortenFullName(String fullName) String[]splitFullName(String fullName)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultFullNameGenerator
public DefaultFullNameGenerator()
-
-
Method Details
-
getFullName
- Specified by:
getFullNamein interfaceFullNameGenerator
-
getLocalizedFullName
public String getLocalizedFullName(String firstName, String middleName, String lastName, Locale locale, long prefixListTypeId, long suffixListTypeId) - Specified by:
getLocalizedFullNamein interfaceFullNameGenerator
-
splitFullName
- Specified by:
splitFullNamein interfaceFullNameGenerator
-
buildFullName
-
buildLocalizedFullName
-
isFullNameTooLong
-
shortenFullName
-