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
Fields Modifier and Type Field Description protected String
conversationId
protected Date
creationTime
protected String
groupId
protected Date
joiningTime
protected Date
leavingTime
protected String
participantType
protected Date
updateTime
protected String
userId
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description ConversationRegistryEntryEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConversationId()
The id of the conversation that this participant is part ofDate
getCreationTime()
Timestamp whenever the entry was created (has no impact on permissions, just for auditing)String
getGroupId()
The id of the group participating in the conversationDate
getJoiningTime()
The time where the participant joined the conversation (might be even in the past, if past messages should become visible)Date
getLeavingTime()
The (optional) time where the participant left the conversation (empty means they didn't left yet)String
getParticipantType()
The type of the participant (e.g.Object
getPersistentState()
Date
getUpdateTime()
Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)String
getUserId()
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
setUserId(String userId)
-
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 Detail
-
conversationId
protected String conversationId
-
userId
protected String userId
-
groupId
protected String groupId
-
participantType
protected String participantType
-
creationTime
protected Date creationTime
-
updateTime
protected Date updateTime
-
joiningTime
protected Date joiningTime
-
leavingTime
protected Date leavingTime
-
-
Method Detail
-
getConversationId
public String 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
public void setConversationId(String conversationId)
- Specified by:
setConversationId
in interfaceConversationRegistryEntryEntity
-
getUserId
public String 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
public void setUserId(String userId)
- Specified by:
setUserId
in interfaceConversationRegistryEntryEntity
-
getGroupId
public String 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
public void setGroupId(String groupId)
- Specified by:
setGroupId
in interfaceConversationRegistryEntryEntity
-
getParticipantType
public String 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
public void setParticipantType(String participantType)
- Specified by:
setParticipantType
in interfaceConversationRegistryEntryEntity
-
getCreationTime
public Date 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
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTime
in interfaceConversationRegistryEntryEntity
-
getUpdateTime
public Date 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
public void setUpdateTime(Date updateTime)
- Specified by:
setUpdateTime
in interfaceConversationRegistryEntryEntity
-
getJoiningTime
public Date 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
public void setJoiningTime(Date joiningTime)
- Specified by:
setJoiningTime
in interfaceConversationRegistryEntryEntity
-
getLeavingTime
public Date 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
public void setLeavingTime(Date leavingTime)
- Specified by:
setLeavingTime
in interfaceConversationRegistryEntryEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
-