public class ParticipantGroupMemberTagProvider extends AbstractTagProvider
Modifier and Type | Field and Description |
---|---|
static String |
TAG_CLIENT |
static String |
TAG_EMPLOYEE |
EVALUATED_TAGS_PREFIX, PRIORITY_CUSTOM_DEPENDENCIES, PRIORITY_DEFAULT_DEPENDENCIES, PRIORITY_NO_DEPENDENCIES
Constructor and Description |
---|
ParticipantGroupMemberTagProvider() |
ParticipantGroupMemberTagProvider(Map<String,String> groupKeyToTagMap) |
Modifier and Type | Method and Description |
---|---|
void |
evaluateConversationTags(ConversationTagEvaluationContext context)
Invoked whenever a new conversation is created or some specific fields are changed in order to evaluate tags to
be added to the conversation so it might be filtered for them or they might be used later on for evaluating
permissions, specific behavior etc.
|
int |
getPriority()
Returns the priority of this tag provider to make sure they are invoked in the correct order if they have
dependencies on others.
|
containsGroupKey, getGroups, lookupUser
public static final String TAG_CLIENT
public static final String TAG_EMPLOYEE
public void evaluateConversationTags(ConversationTagEvaluationContext context)
ConversationTagProvider
context
- the context to add tags and also to use to request information like users or groupspublic int getPriority()
ConversationTagProvider
ConversationTagProvider.PRIORITY_NO_DEPENDENCIES
, ConversationTagProvider.PRIORITY_DEFAULT_DEPENDENCIES
or ConversationTagProvider.PRIORITY_CUSTOM_DEPENDENCIES
Copyright © 2019. All rights reserved.