| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_EMAIL |
static java.lang.String |
TYPE_UID |
| Constructor and Description |
|---|
IdentitiesPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfUidIsEmail(java.lang.String uidToCheck) |
protected Consumer |
createConsumer(java.lang.String type,
java.lang.String ref) |
protected ConfigurationService |
getConfigurationService() |
protected java.lang.String |
getIdentityRef(UserModel userModel) |
protected void |
init() |
void |
populate(UserModel userModel,
java.util.List<Consumer> identities)
Populate the target instance with values from the source instance.
|
void |
setConfigurationService(ConfigurationService configurationService) |
public static final java.lang.String TYPE_EMAIL
public static final java.lang.String TYPE_UID
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
public void populate(UserModel userModel, java.util.List<Consumer> identities) throws ConversionException
Populatorpopulate in interface Populator<UserModel,java.util.List<Consumer>>userModel - the source objectidentities - the target to fillConversionException - if an error occursprotected java.lang.String getIdentityRef(UserModel userModel)
protected boolean checkIfUidIsEmail(java.lang.String uidToCheck)
protected Consumer createConsumer(java.lang.String type, java.lang.String ref)
protected void init()
Copyright © 2018 SAP SE. All Rights Reserved.