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
,org.flowable.common.engine.api.delegate.event.FlowableEvent
public class FlowableMessageReadEventImpl extends FlowableEngageEventImpl implements FlowableMessageReadEvent
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
conversationId
protected java.lang.String
messageId
protected java.util.Date
messageTimestamp
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description FlowableMessageReadEventImpl(java.lang.String userId, java.lang.String conversationId, java.lang.String messageId, java.util.Date messageTimestamp)
-
Method Summary
Modifier and Type Method Description java.lang.String
getConversationId()
The id of the conversation in which the user is typingjava.lang.String
getMessageId()
The id of the message that was readjava.util.Date
getMessageTimestamp()
The timestamp of the message that was read.java.lang.String
getUserId()
The id of the user that is doing the typingMethods inherited from class com.flowable.engage.engine.delegate.event.impl.FlowableEngageEventImpl
getType
-
Field Details
-
userId
protected final java.lang.String userId -
conversationId
protected final java.lang.String conversationId -
messageId
protected final java.lang.String messageId -
messageTimestamp
protected final java.util.Date messageTimestamp
-
-
Constructor Details
-
FlowableMessageReadEventImpl
public FlowableMessageReadEventImpl(java.lang.String userId, java.lang.String conversationId, java.lang.String messageId, java.util.Date messageTimestamp)
-
-
Method Details
-
getUserId
public java.lang.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 java.lang.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 java.lang.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 java.util.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
-