public class DefaultCxUpdateUserSegmentStrategy extends Object implements UpdateUserSegmentStrategy
| Constructor and Description |
|---|
DefaultCxUpdateUserSegmentStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSegment(Map<String,SegmentMappingData> segmentMap,
SegmentMappingData segmentData) |
protected void |
assignSegmentsToUser(UserModel user,
MappingData segmentData) |
protected MappingData |
createSegmentData(UserModel user) |
protected ConfigurationService |
getConfigurationService() |
CxConfigurationService |
getCxConfigurationService() |
protected CxIntegrationMappingService |
getCxIntegrationMappingService() |
protected List<UserSegmentsProvider> |
getProviders() |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setCxConfigurationService(CxConfigurationService cxConfigurationService) |
void |
setCxIntegrationMappingService(CxIntegrationMappingService cxIntegrationMappingService) |
void |
setProviders(Optional<List<UserSegmentsProvider>> providers) |
protected boolean |
shouldCreateSegments() |
void |
updateUserSegments(UserModel user) |
public void updateUserSegments(UserModel user)
updateUserSegments in interface UpdateUserSegmentStrategyprotected void assignSegmentsToUser(UserModel user, MappingData segmentData)
protected boolean shouldCreateSegments()
protected MappingData createSegmentData(UserModel user)
protected void addSegment(Map<String,SegmentMappingData> segmentMap, SegmentMappingData segmentData)
protected CxIntegrationMappingService getCxIntegrationMappingService()
public void setCxIntegrationMappingService(CxIntegrationMappingService cxIntegrationMappingService)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected List<UserSegmentsProvider> getProviders()
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
public CxConfigurationService getCxConfigurationService()
public void setProviders(Optional<List<UserSegmentsProvider>> providers)
Copyright © 2017 SAP SE. All Rights Reserved.