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 String
buildFullName
(String firstName, String middleName, String lastName, boolean useInitials) protected String
buildLocalizedFullName
(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 boolean
isFullNameTooLong
(String fullName) protected String
shortenFullName
(String fullName) String[]
splitFullName
(String fullName)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultFullNameGenerator
public DefaultFullNameGenerator()
-
-
Method Details
-
getFullName
- Specified by:
getFullName
in interfaceFullNameGenerator
-
getLocalizedFullName
public String getLocalizedFullName(String firstName, String middleName, String lastName, Locale locale, long prefixListTypeId, long suffixListTypeId) - Specified by:
getLocalizedFullName
in interfaceFullNameGenerator
-
splitFullName
- Specified by:
splitFullName
in interfaceFullNameGenerator
-
buildFullName
-
buildLocalizedFullName
-
isFullNameTooLong
-
shortenFullName
-