Class FlowableRemovedParticipantsEventImpl
- 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.FlowableRemovedParticipantsEventImpl
-
- All Implemented Interfaces:
FlowableEngageEvent
,FlowableRemovedParticipantsEvent
,FlowableEvent
public class FlowableRemovedParticipantsEventImpl extends FlowableEngageEventImpl implements FlowableRemovedParticipantsEvent
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected Conversation
conversation
protected Collection<String>
removedParticipants
protected String
userId
-
Fields inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
type
-
-
Constructor Summary
Constructors Constructor Description FlowableRemovedParticipantsEventImpl(Conversation conversation, Collection<String> removedParticipants, String userId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Conversation
getConversation()
The conversation with the removed participants.Collection<String>
getRemovedParticipants()
The ids of the participants that were removed from the conversation.String
getUserId()
The id of the user that is doing the removing 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
-
removedParticipants
protected final Collection<String> removedParticipants
-
userId
protected final String userId
-
-
Constructor Detail
-
FlowableRemovedParticipantsEventImpl
public FlowableRemovedParticipantsEventImpl(Conversation conversation, Collection<String> removedParticipants, String userId)
-
-
Method Detail
-
getConversation
public Conversation getConversation()
Description copied from interface:FlowableRemovedParticipantsEvent
The conversation with the removed participants.- Specified by:
getConversation
in interfaceFlowableRemovedParticipantsEvent
- Returns:
- the conversation that was updated
-
getRemovedParticipants
public Collection<String> getRemovedParticipants()
Description copied from interface:FlowableRemovedParticipantsEvent
The ids of the participants that were removed from the conversation. Nevernull
or empty.- Specified by:
getRemovedParticipants
in interfaceFlowableRemovedParticipantsEvent
- Returns:
- the ids of the removed participants
-
getUserId
public String getUserId()
Description copied from interface:FlowableRemovedParticipantsEvent
The id of the user that is doing the removing of the participants- Specified by:
getUserId
in interfaceFlowableRemovedParticipantsEvent
- Returns:
- the id of the user that is doing the removing of the participants
-
-