Class ConversationRegistryEntryEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.engage.engine.impl.persistence.entity.AbstractEngageEngineEntity
com.flowable.engage.engine.impl.persistence.entity.ConversationRegistryEntryEntityImpl
- All Implemented Interfaces:
ConversationRegistryEntry
,ConversationRegistryEntryEntity
,HasRevision
,Entity
public class ConversationRegistryEntryEntityImpl
extends AbstractEngageEngineEntity
implements ConversationRegistryEntryEntity
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Date
protected String
protected Date
protected Date
protected String
protected Date
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of the conversation that this participant is part ofTimestamp whenever the entry was created (has no impact on permissions, just for auditing)The id of the group participating in the conversationThe time where the participant joined the conversation (might be even in the past, if past messages should become visible)The (optional) time where the participant left the conversation (empty means they didn't left yet)The type of the participant (e.g.Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)The id of the user participating in the conversationvoid
setConversationId
(String conversationId) void
setCreationTime
(Date creationTime) void
setGroupId
(String groupId) void
setJoiningTime
(Date joiningTime) void
setLeavingTime
(Date leavingTime) void
setParticipantType
(String participantType) void
setUpdateTime
(Date updateTime) void
Methods inherited from class com.flowable.engage.engine.impl.persistence.entity.AbstractEngageEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.engage.engine.impl.conversation.ConversationRegistryEntry
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
conversationId
-
userId
-
groupId
-
participantType
-
creationTime
-
updateTime
-
joiningTime
-
leavingTime
-
-
Constructor Details
-
ConversationRegistryEntryEntityImpl
public ConversationRegistryEntryEntityImpl()
-
-
Method Details
-
getConversationId
Description copied from interface:ConversationRegistryEntry
The id of the conversation that this participant is part of- Specified by:
getConversationId
in interfaceConversationRegistryEntry
- Returns:
- the converastion id
-
setConversationId
- Specified by:
setConversationId
in interfaceConversationRegistryEntryEntity
-
getUserId
Description copied from interface:ConversationRegistryEntry
The id of the user participating in the conversation- Specified by:
getUserId
in interfaceConversationRegistryEntry
- Returns:
- the participating user id
-
setUserId
- Specified by:
setUserId
in interfaceConversationRegistryEntryEntity
-
getGroupId
Description copied from interface:ConversationRegistryEntry
The id of the group participating in the conversation- Specified by:
getGroupId
in interfaceConversationRegistryEntry
- Returns:
- the participating group id
-
setGroupId
- Specified by:
setGroupId
in interfaceConversationRegistryEntryEntity
-
getParticipantType
Description copied from interface:ConversationRegistryEntry
The type of the participant (e.g. owner, candidate user, assignee, etc)- Specified by:
getParticipantType
in interfaceConversationRegistryEntry
- Returns:
- the type of the participant
-
setParticipantType
- Specified by:
setParticipantType
in interfaceConversationRegistryEntryEntity
-
getCreationTime
Description copied from interface:ConversationRegistryEntry
Timestamp whenever the entry was created (has no impact on permissions, just for auditing)- Specified by:
getCreationTime
in interfaceConversationRegistryEntry
- Returns:
- the time of the creation of the registry entry
-
setCreationTime
- Specified by:
setCreationTime
in interfaceConversationRegistryEntryEntity
-
getUpdateTime
Description copied from interface:ConversationRegistryEntry
Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)- Specified by:
getUpdateTime
in interfaceConversationRegistryEntry
- Returns:
- the time of the update of the registry entry
-
setUpdateTime
- Specified by:
setUpdateTime
in interfaceConversationRegistryEntryEntity
-
getJoiningTime
Description copied from interface:ConversationRegistryEntry
The time where the participant joined the conversation (might be even in the past, if past messages should become visible)- Specified by:
getJoiningTime
in interfaceConversationRegistryEntry
- Returns:
- the time the participant joined the conversation
-
setJoiningTime
- Specified by:
setJoiningTime
in interfaceConversationRegistryEntryEntity
-
getLeavingTime
Description copied from interface:ConversationRegistryEntry
The (optional) time where the participant left the conversation (empty means they didn't left yet)- Specified by:
getLeavingTime
in interfaceConversationRegistryEntry
- Returns:
- the time the participant left the conversation, or
null
if the participant is still part of it
-
setLeavingTime
- Specified by:
setLeavingTime
in interfaceConversationRegistryEntryEntity
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-