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
,org.flowable.common.engine.api.delegate.event.FlowableEvent
public class FlowableRemovedParticipantsEventImpl extends FlowableEngageEventImpl implements FlowableRemovedParticipantsEvent
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected Conversation
conversation
protected java.util.Collection<java.lang.String>
removedParticipants
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description FlowableRemovedParticipantsEventImpl(Conversation conversation, java.util.Collection<java.lang.String> removedParticipants, java.lang.String userId)
-
Method Summary
Modifier and Type Method Description Conversation
getConversation()
The conversation with the removed participants.java.util.Collection<java.lang.String>
getRemovedParticipants()
The ids of the participants that were removed from the conversation.java.lang.String
getUserId()
The id of the user that is doing the removing of the participantsMethods inherited from class com.flowable.engage.engine.delegate.event.impl.FlowableEngageEventImpl
getType
-
Field Details
-
conversation
-
removedParticipants
protected final java.util.Collection<java.lang.String> removedParticipants -
userId
protected final java.lang.String userId
-
-
Constructor Details
-
FlowableRemovedParticipantsEventImpl
public FlowableRemovedParticipantsEventImpl(Conversation conversation, java.util.Collection<java.lang.String> removedParticipants, java.lang.String userId)
-
-
Method Details
-
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 java.util.Collection<java.lang.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 java.lang.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
-