Class FlowableAddedParticipantsEventImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.event.FlowableEventImpl
-
- com.flowable.engage.engine.delegate.event.impl.FlowableEngageEventImpl
-
- com.flowable.engage.engine.delegate.event.impl.FlowableAddedParticipantsEventImpl
-
- All Implemented Interfaces:
FlowableAddedParticipantsEvent
,FlowableEngageEvent
,FlowableEvent
public class FlowableAddedParticipantsEventImpl extends FlowableEngageEventImpl implements FlowableAddedParticipantsEvent
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<String>
addedParticipants
protected Conversation
conversation
protected String
userId
-
Fields inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
type
-
-
Constructor Summary
Constructors Constructor Description FlowableAddedParticipantsEventImpl(Conversation conversation, Collection<String> addedParticipants, String userId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getAddedParticipants()
The ids of the participants that were added to the conversation.Conversation
getConversation()
The conversation with the updated participants.String
getUserId()
The id of the user that is doing the adding of the participants-
Methods inherited from class com.flowable.engage.engine.delegate.event.impl.FlowableEngageEventImpl
getType
-
Methods inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEvent
getType
-
-
-
-
Field Detail
-
conversation
protected final Conversation conversation
-
addedParticipants
protected final Collection<String> addedParticipants
-
userId
protected final String userId
-
-
Constructor Detail
-
FlowableAddedParticipantsEventImpl
public FlowableAddedParticipantsEventImpl(Conversation conversation, Collection<String> addedParticipants, String userId)
-
-
Method Detail
-
getConversation
public Conversation getConversation()
Description copied from interface:FlowableAddedParticipantsEvent
The conversation with the updated participants.- Specified by:
getConversation
in interfaceFlowableAddedParticipantsEvent
- Returns:
- the conversation that was updated
-
getAddedParticipants
public Collection<String> getAddedParticipants()
Description copied from interface:FlowableAddedParticipantsEvent
The ids of the participants that were added to the conversation.- Specified by:
getAddedParticipants
in interfaceFlowableAddedParticipantsEvent
- Returns:
- the ids of the participants that were added
-
getUserId
public String getUserId()
Description copied from interface:FlowableAddedParticipantsEvent
The id of the user that is doing the adding of the participants- Specified by:
getUserId
in interfaceFlowableAddedParticipantsEvent
- Returns:
- the id of the user that is doing the adding of the participants
-
-