public class FindConversationParticipantsCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<Collection<String>>
| Modifier and Type | Field and Description | 
|---|---|
| protected String | conversationId | 
| protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> | conversationIdentities | 
| protected boolean | includeGroupBasedParticipants | 
| protected boolean | includeUserBasedParticipants | 
| Constructor and Description | 
|---|
| FindConversationParticipantsCmd(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> conversationIdentities) | 
| FindConversationParticipantsCmd(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> conversationIdentities,
                               boolean includeUserBasedParticipants,
                               boolean includeGroupBasedParticipants)Creates a new command to find participants with options to resolve indirect users over group memberships. | 
| FindConversationParticipantsCmd(String conversationId) | 
| FindConversationParticipantsCmd(String conversationId,
                               boolean includeUserBasedParticipants,
                               boolean includeGroupBasedParticipants)Creates a new command to find participants with options to resolve indirect users over group memberships. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<String> | execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) | 
| protected Collection<String> | getAllGroupsUsers(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                 List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identities) | 
| protected Collection<String> | getAllUsers(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identities) | 
| protected Collection<String> | resolveGroupMembers(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                   Collection<String> groups) | 
protected final String conversationId
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> conversationIdentities
protected final boolean includeUserBasedParticipants
protected final boolean includeGroupBasedParticipants
public FindConversationParticipantsCmd(String conversationId)
public FindConversationParticipantsCmd(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> conversationIdentities)
public FindConversationParticipantsCmd(String conversationId, boolean includeUserBasedParticipants, boolean includeGroupBasedParticipants)
conversationId - the id of the conversation to find participantsincludeUserBasedParticipants - true if all directly assigned users should be returned as wellincludeGroupBasedParticipants - true if all group members of the assigned groups of the conversation should be resolved as wellpublic FindConversationParticipantsCmd(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> conversationIdentities, boolean includeUserBasedParticipants, boolean includeGroupBasedParticipants)
conversationIdentities - the list of conversation identitiesincludeUserBasedParticipants - true if all directly assigned users should be returned as wellincludeGroupBasedParticipants - true if all group members of the assigned groups of the conversation should be resolved as wellpublic Collection<String> execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
execute in interface org.flowable.common.engine.impl.interceptor.Command<Collection<String>>protected Collection<String> getAllUsers(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identities)
protected Collection<String> getAllGroupsUsers(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identities)
protected Collection<String> resolveGroupMembers(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, Collection<String> groups)
Copyright © 2019. All rights reserved.