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 String
conversationId
protected String
messageId
protected Date
messageTimestamp
protected String
userId
-
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 String
getConversationId()
The id of the conversation in which the user is typingString
getMessageId()
The id of the message that was readDate
getMessageTimestamp()
The timestamp of the message that was read.String
getUserId()
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:FlowableMessageReadEvent
The id of the user that is doing the typing- Specified by:
getUserId
in interfaceFlowableMessageReadEvent
- Returns:
- the id of the user that is doing the typing
-
getConversationId
public String getConversationId()
Description copied from interface:FlowableMessageReadEvent
The id of the conversation in which the user is typing- Specified by:
getConversationId
in interfaceFlowableMessageReadEvent
- Returns:
- the id of the conversation
-
getMessageId
public String getMessageId()
Description copied from interface:FlowableMessageReadEvent
The id of the message that was read- Specified by:
getMessageId
in interfaceFlowableMessageReadEvent
- Returns:
- the id of the message that was read
-
getMessageTimestamp
public Date getMessageTimestamp()
Description copied from interface:FlowableMessageReadEvent
The 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:
getMessageTimestamp
in interfaceFlowableMessageReadEvent
- Returns:
- the message timestamp
-
-