Class ChineseNameWithTitleFormatStrategy
java.lang.Object
de.hybris.platform.addressservices.strategies.impl.ChineseNameWithTitleFormatStrategy
- All Implemented Interfaces:
NameWithTitleFormatStrategy
public class ChineseNameWithTitleFormatStrategy
extends Object
implements NameWithTitleFormatStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetFullnameWithTitle(String fullname, String title) get full name with title namegetFullnameWithTitle(String firstname, String lastname, String title) get full name with title namegetFullnameWithTitleForISOCode(String fullname, String title, String isocode) get full name with title namegetFullnameWithTitleForISOCode(String firstname, String lastname, String title, String isocode) protected UserServiceprotected booleanisNotReverent(String titleName, String isocode) if title is reverent, should be in the front of fullnamevoidsetCommonI18NService(CommonI18NService commonI18NService) voidsetUserService(UserService userService)
-
Constructor Details
-
ChineseNameWithTitleFormatStrategy
public ChineseNameWithTitleFormatStrategy()
-
-
Method Details
-
getUserService
-
setUserService
-
getCommonI18NService
-
setCommonI18NService
-
getFullnameWithTitle
Description copied from interface:NameWithTitleFormatStrategyget full name with title name- Specified by:
getFullnameWithTitlein interfaceNameWithTitleFormatStrategy- Returns:
- full name with title name
-
getFullnameWithTitle
Description copied from interface:NameWithTitleFormatStrategyget full name with title name- Specified by:
getFullnameWithTitlein interfaceNameWithTitleFormatStrategy- Returns:
- full name with title name
-
getFullnameWithTitleForISOCode
Description copied from interface:NameWithTitleFormatStrategyget full name with title name- Specified by:
getFullnameWithTitleForISOCodein interfaceNameWithTitleFormatStrategy- Returns:
- full name with title name
-
getFullnameWithTitleForISOCode
public String getFullnameWithTitleForISOCode(String firstname, String lastname, String title, String isocode) - Specified by:
getFullnameWithTitleForISOCodein interfaceNameWithTitleFormatStrategy- Returns:
- full name with title name
-
containsChineseCharacter
-
isNotReverent
if title is reverent, should be in the front of fullname- Parameters:
isocode-- Returns:
-