public class TargetGroupService
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.util.UUID,java.lang.String> |
guidIdCache |
protected static int |
MAX |
protected static EntityProviderReadProperties |
NO_READ_PROPERTIES |
protected ODataService |
oDataService |
protected static java.lang.String |
TARGET_GROUP_INTERACTION_CONTACTS_ENTITY_SET |
protected static java.lang.String |
TARGET_GROUP_UUID |
protected static java.lang.String |
TARGET_GROUPS_ENTITY_SET |
| Constructor and Description |
|---|
TargetGroupService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTargetGroupToCache(MKTTargetGroup tg) |
protected MKTTargetGroup |
createMKTTargetGroup(ODataEntry entry) |
java.util.List<java.lang.String> |
getCustomerTargetGroupIds(java.util.List<java.util.UUID> guids)
Get all the Target Group objects containing more descriptive information from the GUIDs retrieved
|
java.util.List<MKTTargetGroup> |
getCustomerTargetGroups(java.util.List<java.util.UUID> guids)
Get all the Target Group objects containing more descriptive information from the GUIDs retrieved
|
protected java.util.List<MKTTargetGroup> |
getCustomerTargetGroups(java.util.List<java.util.UUID> guids,
int max) |
java.util.List<java.util.UUID> |
getCustomerTargetGroupsGUIDs(java.lang.String contactId,
java.lang.String contactOrigin)
Retrieves all the Target Group GUIDs from that specific interaction contact origin Id
|
protected static <T> java.util.List<java.util.List<T>> |
partition(java.util.List<T> list,
int size) |
void |
setODataService(ODataService oDataService) |
protected static final int MAX
protected static final EntityProviderReadProperties NO_READ_PROPERTIES
protected static final java.lang.String TARGET_GROUP_INTERACTION_CONTACTS_ENTITY_SET
protected static final java.lang.String TARGET_GROUP_UUID
protected static final java.lang.String TARGET_GROUPS_ENTITY_SET
protected final java.util.Map<java.util.UUID,java.lang.String> guidIdCache
protected ODataService oDataService
protected static <T> java.util.List<java.util.List<T>> partition(java.util.List<T> list,
int size)
protected void addTargetGroupToCache(MKTTargetGroup tg)
protected MKTTargetGroup createMKTTargetGroup(ODataEntry entry)
public java.util.List<java.lang.String> getCustomerTargetGroupIds(java.util.List<java.util.UUID> guids)
throws java.io.IOException
guids - Target Group GUIDs.List of String Target Group IDs.java.io.IOException - if any error occurs.public java.util.List<MKTTargetGroup> getCustomerTargetGroups(java.util.List<java.util.UUID> guids) throws java.io.IOException
guids - Target Group GUIDs.List of MKTTargetGroupjava.io.IOException - if any error occurs.protected java.util.List<MKTTargetGroup> getCustomerTargetGroups(java.util.List<java.util.UUID> guids, int max) throws java.io.IOException
java.io.IOExceptionpublic java.util.List<java.util.UUID> getCustomerTargetGroupsGUIDs(java.lang.String contactId,
java.lang.String contactOrigin)
throws java.io.IOException
contactId - Contact Id value.contactOrigin - COOKIE_ID or SAP_HYBRIS_CONSUMERList of MKTTargetGroupjava.io.IOException - if any error occurs.public void setODataService(ODataService oDataService)
Copyright © 2018 SAP SE. All Rights Reserved.