Package com.hybris.yprofile.populators
Class IdentitiesPopulator
- java.lang.Object
-
- com.hybris.yprofile.populators.IdentitiesPopulator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_EMAILstatic java.lang.StringTYPE_UID
-
Constructor Summary
Constructors Constructor Description IdentitiesPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckIfUidIsEmail(java.lang.String uidToCheck)protected ConsumercreateConsumer(java.lang.String type, java.lang.String ref)protected ConfigurationServicegetConfigurationService()protected java.lang.StringgetIdentityRef(UserModel userModel)protected voidinit()voidpopulate(UserModel userModel, java.util.List<Consumer> identities)Populate the target instance with values from the source instance.voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Field Detail
-
TYPE_EMAIL
public static final java.lang.String TYPE_EMAIL
- See Also:
- Constant Field Values
-
TYPE_UID
public static final java.lang.String TYPE_UID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
populate
public void populate(UserModel userModel, java.util.List<Consumer> identities)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.
-
getIdentityRef
protected java.lang.String getIdentityRef(UserModel userModel)
-
checkIfUidIsEmail
protected boolean checkIfUidIsEmail(java.lang.String uidToCheck)
-
createConsumer
protected Consumer createConsumer(java.lang.String type, java.lang.String ref)
-
init
protected void init()
-
-