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 StringconversationIdprotected DatecreationTimeprotected StringgroupIdprotected DatejoiningTimeprotected DateleavingTimeprotected StringparticipantTypeprotected DateupdateTimeprotected StringuserId-
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 StringgetConversationId()The id of the conversation that this participant is part ofDategetCreationTime()Timestamp whenever the entry was created (has no impact on permissions, just for auditing)StringgetGroupId()The id of the group participating in the conversationDategetJoiningTime()The time where the participant joined the conversation (might be even in the past, if past messages should become visible)DategetLeavingTime()The (optional) time where the participant left the conversation (empty means they didn't left yet)StringgetParticipantType()The type of the participant (e.g.ObjectgetPersistentState()DategetUpdateTime()Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)StringgetUserId()The id of the user participating in the conversationvoidsetConversationId(String conversationId)voidsetCreationTime(Date creationTime)voidsetGroupId(String groupId)voidsetJoiningTime(Date joiningTime)voidsetLeavingTime(Date leavingTime)voidsetParticipantType(String participantType)voidsetUpdateTime(Date updateTime)voidsetUserId(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:ConversationRegistryEntryThe id of the conversation that this participant is part of- Specified by:
getConversationIdin interfaceConversationRegistryEntry- Returns:
- the converastion id
-
setConversationId
public void setConversationId(String conversationId)
- Specified by:
setConversationIdin interfaceConversationRegistryEntryEntity
-
getUserId
public String getUserId()
Description copied from interface:ConversationRegistryEntryThe id of the user participating in the conversation- Specified by:
getUserIdin interfaceConversationRegistryEntry- Returns:
- the participating user id
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceConversationRegistryEntryEntity
-
getGroupId
public String getGroupId()
Description copied from interface:ConversationRegistryEntryThe id of the group participating in the conversation- Specified by:
getGroupIdin interfaceConversationRegistryEntry- Returns:
- the participating group id
-
setGroupId
public void setGroupId(String groupId)
- Specified by:
setGroupIdin interfaceConversationRegistryEntryEntity
-
getParticipantType
public String getParticipantType()
Description copied from interface:ConversationRegistryEntryThe type of the participant (e.g. owner, candidate user, assignee, etc)- Specified by:
getParticipantTypein interfaceConversationRegistryEntry- Returns:
- the type of the participant
-
setParticipantType
public void setParticipantType(String participantType)
- Specified by:
setParticipantTypein interfaceConversationRegistryEntryEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:ConversationRegistryEntryTimestamp whenever the entry was created (has no impact on permissions, just for auditing)- Specified by:
getCreationTimein interfaceConversationRegistryEntry- Returns:
- the time of the creation of the registry entry
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTimein interfaceConversationRegistryEntryEntity
-
getUpdateTime
public Date getUpdateTime()
Description copied from interface:ConversationRegistryEntryTimestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)- Specified by:
getUpdateTimein interfaceConversationRegistryEntry- Returns:
- the time of the update of the registry entry
-
setUpdateTime
public void setUpdateTime(Date updateTime)
- Specified by:
setUpdateTimein interfaceConversationRegistryEntryEntity
-
getJoiningTime
public Date getJoiningTime()
Description copied from interface:ConversationRegistryEntryThe time where the participant joined the conversation (might be even in the past, if past messages should become visible)- Specified by:
getJoiningTimein interfaceConversationRegistryEntry- Returns:
- the time the participant joined the conversation
-
setJoiningTime
public void setJoiningTime(Date joiningTime)
- Specified by:
setJoiningTimein interfaceConversationRegistryEntryEntity
-
getLeavingTime
public Date getLeavingTime()
Description copied from interface:ConversationRegistryEntryThe (optional) time where the participant left the conversation (empty means they didn't left yet)- Specified by:
getLeavingTimein interfaceConversationRegistryEntry- Returns:
- the time the participant left the conversation, or
nullif the participant is still part of it
-
setLeavingTime
public void setLeavingTime(Date leavingTime)
- Specified by:
setLeavingTimein interfaceConversationRegistryEntryEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
-