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 Conversationconversationprotected Collection<String>removedParticipantsprotected StringuserId-
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 ConversationgetConversation()The conversation with the removed participants.Collection<String>getRemovedParticipants()The ids of the participants that were removed from the conversation.StringgetUserId()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:FlowableRemovedParticipantsEventThe conversation with the removed participants.- Specified by:
getConversationin interfaceFlowableRemovedParticipantsEvent- Returns:
- the conversation that was updated
-
getRemovedParticipants
public Collection<String> getRemovedParticipants()
Description copied from interface:FlowableRemovedParticipantsEventThe ids of the participants that were removed from the conversation. Nevernullor empty.- Specified by:
getRemovedParticipantsin interfaceFlowableRemovedParticipantsEvent- Returns:
- the ids of the removed participants
-
getUserId
public String getUserId()
Description copied from interface:FlowableRemovedParticipantsEventThe id of the user that is doing the removing of the participants- Specified by:
getUserIdin interfaceFlowableRemovedParticipantsEvent- Returns:
- the id of the user that is doing the removing of the participants
-
-