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
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
public class ConversationRegistryEntryEntityImpl extends AbstractEngageEngineEntity implements ConversationRegistryEntryEntity
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
conversationId
protected java.util.Date
creationTime
protected java.lang.String
groupId
protected java.util.Date
joiningTime
protected java.util.Date
leavingTime
protected java.lang.String
participantType
protected java.util.Date
updateTime
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description ConversationRegistryEntryEntityImpl()
-
Method Summary
Modifier and Type Method Description java.lang.String
getConversationId()
The id of the conversation that this participant is part ofjava.util.Date
getCreationTime()
Timestamp whenever the entry was created (has no impact on permissions, just for auditing)java.lang.String
getGroupId()
The id of the group participating in the conversationjava.util.Date
getJoiningTime()
The time where the participant joined the conversation (might be even in the past, if past messages should become visible)java.util.Date
getLeavingTime()
The (optional) time where the participant left the conversation (empty means they didn't left yet)java.lang.String
getParticipantType()
The type of the participant (e.g.java.lang.Object
getPersistentState()
java.util.Date
getUpdateTime()
Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)java.lang.String
getUserId()
The id of the user participating in the conversationvoid
setConversationId(java.lang.String conversationId)
void
setCreationTime(java.util.Date creationTime)
void
setGroupId(java.lang.String groupId)
void
setJoiningTime(java.util.Date joiningTime)
void
setLeavingTime(java.util.Date leavingTime)
void
setParticipantType(java.lang.String participantType)
void
setUpdateTime(java.util.Date updateTime)
void
setUserId(java.lang.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
-
Field Details
-
conversationId
protected java.lang.String conversationId -
userId
protected java.lang.String userId -
groupId
protected java.lang.String groupId -
participantType
protected java.lang.String participantType -
creationTime
protected java.util.Date creationTime -
updateTime
protected java.util.Date updateTime -
joiningTime
protected java.util.Date joiningTime -
leavingTime
protected java.util.Date leavingTime
-
-
Constructor Details
-
ConversationRegistryEntryEntityImpl
public ConversationRegistryEntryEntityImpl()
-
-
Method Details
-
getConversationId
public java.lang.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(java.lang.String conversationId)- Specified by:
setConversationId
in interfaceConversationRegistryEntryEntity
-
getUserId
public java.lang.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(java.lang.String userId)- Specified by:
setUserId
in interfaceConversationRegistryEntryEntity
-
getGroupId
public java.lang.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(java.lang.String groupId)- Specified by:
setGroupId
in interfaceConversationRegistryEntryEntity
-
getParticipantType
public java.lang.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(java.lang.String participantType)- Specified by:
setParticipantType
in interfaceConversationRegistryEntryEntity
-
getCreationTime
public java.util.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(java.util.Date creationTime)- Specified by:
setCreationTime
in interfaceConversationRegistryEntryEntity
-
getUpdateTime
public java.util.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(java.util.Date updateTime)- Specified by:
setUpdateTime
in interfaceConversationRegistryEntryEntity
-
getJoiningTime
public java.util.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(java.util.Date joiningTime)- Specified by:
setJoiningTime
in interfaceConversationRegistryEntryEntity
-
getLeavingTime
public java.util.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(java.util.Date leavingTime)- Specified by:
setLeavingTime
in interfaceConversationRegistryEntryEntity
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-