public class TargetGroupSegmentsProvider extends java.lang.Object implements UserSegmentsProvider
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
segmentPrefix |
protected boolean |
targetGroupEnabled |
protected TargetGroupService |
targetGroupService |
protected UserContextService |
userContextService |
protected UserService |
userService |
DEFAULT_PROVIDER_ID| Constructor and Description |
|---|
TargetGroupSegmentsProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected SegmentMappingData |
convert(java.lang.String targetGroupId) |
java.util.List<SegmentMappingData> |
getUserSegments(UserModel user)
Method returning segments assigned to user
|
void |
setSegmentPrefix(java.lang.String segmentPrefix) |
void |
setTargetGroupEnabled(boolean targetGroupEnabled) |
void |
setTargetGroupService(TargetGroupService targetGroupService) |
void |
setUserContextService(UserContextService userContextService) |
void |
setUserService(UserService userService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderIdprotected java.lang.String segmentPrefix
protected boolean targetGroupEnabled
protected TargetGroupService targetGroupService
protected UserContextService userContextService
protected UserService userService
protected SegmentMappingData convert(java.lang.String targetGroupId)
public java.util.List<SegmentMappingData> getUserSegments(UserModel user)
UserSegmentsProvidergetUserSegments in interface UserSegmentsProvideruser - User modelpublic void setSegmentPrefix(java.lang.String segmentPrefix)
public void setTargetGroupEnabled(boolean targetGroupEnabled)
public void setTargetGroupService(TargetGroupService targetGroupService)
public void setUserContextService(UserContextService userContextService)
public void setUserService(UserService userService)
Copyright © 2018 SAP SE. All Rights Reserved.