Class FlowableMessageReadEventImpl
- 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.FlowableMessageReadEventImpl
-
- All Implemented Interfaces:
FlowableEngageEvent,FlowableMessageReadEvent,FlowableEvent
public class FlowableMessageReadEventImpl extends FlowableEngageEventImpl implements FlowableMessageReadEvent
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringconversationIdprotected StringmessageIdprotected DatemessageTimestampprotected StringuserId-
Fields inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
type
-
-
Constructor Summary
Constructors Constructor Description FlowableMessageReadEventImpl(String userId, String conversationId, String messageId, Date messageTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConversationId()The id of the conversation in which the user is typingStringgetMessageId()The id of the message that was readDategetMessageTimestamp()The timestamp of the message that was read.StringgetUserId()The id of the user that is doing the typing-
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
-
-
-
-
Method Detail
-
getUserId
public String getUserId()
Description copied from interface:FlowableMessageReadEventThe id of the user that is doing the typing- Specified by:
getUserIdin interfaceFlowableMessageReadEvent- Returns:
- the id of the user that is doing the typing
-
getConversationId
public String getConversationId()
Description copied from interface:FlowableMessageReadEventThe id of the conversation in which the user is typing- Specified by:
getConversationIdin interfaceFlowableMessageReadEvent- Returns:
- the id of the conversation
-
getMessageId
public String getMessageId()
Description copied from interface:FlowableMessageReadEventThe id of the message that was read- Specified by:
getMessageIdin interfaceFlowableMessageReadEvent- Returns:
- the id of the message that was read
-
getMessageTimestamp
public Date getMessageTimestamp()
Description copied from interface:FlowableMessageReadEventThe timestamp of the message that was read. NOTE: This is not the timestamp of the read event, but the creation time of the message.- Specified by:
getMessageTimestampin interfaceFlowableMessageReadEvent- Returns:
- the message timestamp
-
-