Class FindConversationParticipantsCmd

  • All Implemented Interfaces:
    Command<Collection<String>>

    public class FindConversationParticipantsCmd
    extends Object
    implements Command<Collection<String>>
    Resolves the participants of a conversation with options whether to only include directly assigned users or users assigned over member groups (like candidate groups or assigned group).
    Author:
    Micha Kiener, Filip Hrisafov
    • Field Detail

      • conversationId

        protected final String conversationId
      • includeUserBasedParticipants

        protected final boolean includeUserBasedParticipants
      • includeGroupBasedParticipants

        protected final boolean includeGroupBasedParticipants
    • Constructor Detail

      • FindConversationParticipantsCmd

        public FindConversationParticipantsCmd​(String conversationId)
      • FindConversationParticipantsCmd

        public FindConversationParticipantsCmd​(List<IdentityLinkEntity> conversationIdentities)
      • FindConversationParticipantsCmd

        public FindConversationParticipantsCmd​(String conversationId,
                                               boolean includeUserBasedParticipants,
                                               boolean includeGroupBasedParticipants)
        Creates a new command to find participants with options to resolve indirect users over group memberships.
        Parameters:
        conversationId - the id of the conversation to find participants
        includeUserBasedParticipants - true if all directly assigned users should be returned as well
        includeGroupBasedParticipants - true if all group members of the assigned groups of the conversation should be resolved as well
      • FindConversationParticipantsCmd

        public FindConversationParticipantsCmd​(List<IdentityLinkEntity> conversationIdentities,
                                               boolean includeUserBasedParticipants,
                                               boolean includeGroupBasedParticipants)
        Creates a new command to find participants with options to resolve indirect users over group memberships.
        Parameters:
        conversationIdentities - the list of conversation identities
        includeUserBasedParticipants - true if all directly assigned users should be returned as well
        includeGroupBasedParticipants - true if all group members of the assigned groups of the conversation should be resolved as well