public class ConversationEntityImpl extends AbstractEngageEngineEntity implements ConversationEntity
Modifier and Type | Field and Description |
---|---|
protected String |
avatarId |
protected String |
conversationDefinitionId |
protected Date |
creationTime |
protected String |
creatorId |
protected String |
description |
protected String |
externalId |
protected String |
fallbackName |
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> |
identityLinks
The identity links for the conversation.
|
protected boolean |
identityLinksInitialized |
protected String |
joiningType |
protected Date |
lastMessageTime |
protected Map<String,Object> |
metaData |
protected String |
name |
protected String |
parentId |
protected String |
permissionType |
protected Integer |
priority |
protected List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> |
queryVariables |
protected String |
referenceDefinitionId |
protected String |
referenceId |
protected String |
referenceType |
protected Date |
resubmissionTime |
protected String |
state |
protected String |
subType |
protected List<String> |
tags |
protected String |
tenantId |
protected String |
type |
protected String |
updaterId |
protected Date |
updateTime |
protected String |
userAccountId |
protected boolean |
variablesInitialized |
Constructor and Description |
---|
ConversationEntityImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAssignedGroupId()
Returns the id of the assigned group of this object.
|
String |
getAssigneeId()
Returns the id of the assignee of this conversation.
|
String |
getAvatarId()
Returns the optional avatar info, if this conversation has an avatar attached.
|
Set<String> |
getCandidateGroupIds()
Returns a set view of the optional list of candidate group ids of this conversation.
|
Set<String> |
getCandidateUserIds()
Returns a set view of the optional list of candidate user ids of this conversation.
|
String |
getConversationDefinitionId()
The definition id of the conversation definition type
|
Map<String,Object> |
getConversationVariables()
Returns the conversation variables when used within a conversation query with the include variables method invoked.
|
Date |
getCreationTime()
Returns the creation timestamp of this conversation.
|
String |
getCreatorId()
Returns the id of the user creating this conversation.
|
String |
getDescription()
Returns the optional description for this conversation, containing the means of its discussed topics, any global
notes or whatever is necessary as a global overview of the conversation.
|
String |
getExternalId()
If the conversation was created from an external system, this optional external id might be used to map to that
external conversation id, if necessary.
|
String |
getFallbackName()
The fallback that needs to be used in case
Conversation.getName() is not set. |
List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> |
getIdentityLinks()
Returns the identity links.
|
String |
getJoiningType()
Returns the joining type of this conversation which defines on how new participants might join the running
conversation.
|
Date |
getLastMessageTime()
The time when the last message of the conversation has ben sent.
|
Map<String,Object> |
getMetaData()
A conversation can have additional meta information, most likely describing the conversation behavior in more
detail.
|
String |
getName()
Returns the optional name of this conversation, most likely representing the main topic of the conversation.
|
String |
getOwnerId()
Returns the id of the owner of this conversation, most likely representing the user actually creating it or being
created as part of an operation that user executed.
|
String |
getParentId()
Returns the optional parent id of this conversation, if any, which represents another work item, the parent for
this conversation (might be another conversation object or any other work item this conversation is attached to).
|
String |
getPermissionType()
Returns the permission type for this conversation which is used to drive the permissions for messages and events
sent to this conversation.
|
Object |
getPersistentState() |
Integer |
getPriority()
Returns the optional priority of this conversation which can be used for sorting or other means.
|
List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> |
getQueryIdentityLinks()
Getter used by MyBatis when querying conversation with identity links.
|
List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> |
getQueryVariables()
Getter used by MyBatis when querying conversation with variables.
|
String |
getReferenceDefinitionId()
The definition id of the scoped entity (for example Task Definition id, Case Definition Id, etc)
|
String |
getReferenceId()
An id of the scoped linked entity (for example Task, Case, etc)
|
String |
getReferenceType()
The type of the scoped linked entity
|
Date |
getResubmissionTime()
Returns the optional resubmission time for this conversation.
|
String |
getState()
Returns the state of this conversation.
|
String |
getSubType()
Returns the sub type of this conversation.
|
List<String> |
getTags()
Returns the optional list of tags for this object.
|
String |
getTenantId()
Returns the id of the tenant this conversation belongs to.
|
String |
getType()
Returns the type of this conversation.
|
String |
getUpdaterId()
Returns the id of the user updating this conversation.
|
Date |
getUpdateTime()
Returns the timestamp of the last update of this conversation, which is the case if anything has changed in the
conversation itself or if there was a message posted to this conversation.
|
String |
getUserAccountId()
The id of the user account that is linked with this conversation.
|
boolean |
isIdentityLinksInitialized() |
Boolean |
isPinned()
Returns true, if this conversation is pinned by the current user.
|
Boolean |
isStarred()
Returns true, if this conversation is starred by the current user.
|
boolean |
isVariablesInitialized() |
void |
setAvatarId(String avatarId) |
void |
setConversationDefinitionId(String conversationDefinitionId) |
void |
setCreationTime(Date creationTime) |
void |
setCreatorId(String creatorId) |
void |
setDescription(String description) |
void |
setExternalId(String externalId) |
void |
setFallbackName(String fallbackName) |
void |
setIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks) |
void |
setJoiningType(String joiningType) |
void |
setLastMessageTime(Date lastMessageTime) |
void |
setMetaData(Map<String,Object> metaData) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setPermissionType(String permissionType) |
void |
setPriority(Integer priority) |
void |
setQueryIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks)
Setter used by MyBatis when querying conversation with identity links.
|
void |
setQueryVariables(List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables)
Setter used by MyBatis when querying conversation with variables.
|
void |
setReferenceDefinitionId(String referenceDefinitionId) |
void |
setReferenceId(String referenceId) |
void |
setReferenceType(String referenceType) |
void |
setResubmissionTime(Date resubmissionTime) |
void |
setState(String state) |
void |
setSubType(String subType) |
void |
setTags(List<String> tags) |
void |
setTenantId(String tenantId) |
void |
setType(String type) |
void |
setUpdaterId(String updaterId) |
void |
setUpdateTime(Date updateTime) |
void |
setUserAccountId(String userAccountId) |
getIdPrefix
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
protected String externalId
protected String tenantId
protected String parentId
protected String referenceId
protected String referenceType
protected String referenceDefinitionId
protected String conversationDefinitionId
protected String state
protected String type
protected String subType
protected String permissionType
protected String joiningType
protected Integer priority
protected String name
protected String fallbackName
protected String description
protected String avatarId
protected Date creationTime
protected String creatorId
protected Date updateTime
protected String updaterId
protected Date resubmissionTime
protected Date lastMessageTime
protected String userAccountId
protected boolean identityLinksInitialized
protected List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks
protected boolean variablesInitialized
protected List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables
public String getExternalId()
Conversation
getExternalId
in interface Conversation
public void setExternalId(String externalId)
setExternalId
in interface ConversationEntity
public String getTenantId()
Conversation
getTenantId
in interface Conversation
public void setTenantId(String tenantId)
setTenantId
in interface ConversationEntity
public String getParentId()
Conversation
getParentId
in interface Conversation
public void setParentId(String parentId)
setParentId
in interface ConversationEntity
public String getReferenceId()
Conversation
getReferenceId
in interface Conversation
public void setReferenceId(String referenceId)
setReferenceId
in interface ConversationEntity
public String getReferenceType()
Conversation
getReferenceType
in interface Conversation
public void setReferenceType(String referenceType)
setReferenceType
in interface ConversationEntity
public String getReferenceDefinitionId()
Conversation
getReferenceDefinitionId
in interface Conversation
public void setReferenceDefinitionId(String referenceDefinitionId)
setReferenceDefinitionId
in interface ConversationEntity
public String getConversationDefinitionId()
Conversation
getConversationDefinitionId
in interface Conversation
public void setConversationDefinitionId(String conversationDefinitionId)
setConversationDefinitionId
in interface ConversationEntity
public String getState()
Conversation
getState
in interface Conversation
public void setState(String state)
setState
in interface ConversationEntity
public String getType()
Conversation
ConversationTypes
.getType
in interface Conversation
public void setType(String type)
setType
in interface ConversationEntity
public String getSubType()
Conversation
getSubType
in interface Conversation
public void setSubType(String subType)
setSubType
in interface ConversationEntity
public String getPermissionType()
Conversation
getPermissionType
in interface Conversation
public void setPermissionType(String permissionType)
setPermissionType
in interface ConversationEntity
public String getJoiningType()
Conversation
getJoiningType
in interface Conversation
public void setJoiningType(String joiningType)
setJoiningType
in interface ConversationEntity
public Integer getPriority()
Conversation
getPriority
in interface Conversation
public void setPriority(Integer priority)
setPriority
in interface ConversationEntity
public Boolean isPinned()
Conversation
null
.isPinned
in interface Conversation
true
if this conversation is pinned by the current user, false
if it is not pinned by the
current user, null
if pinning for the current user cannot be determinedpublic Boolean isStarred()
Conversation
null
.isStarred
in interface Conversation
true
if this conversation is starred by the current user, false
if it is not starred by the
current user, null
if starring for the current user cannot be determinedpublic String getName()
Conversation
getName
in interface Conversation
null
public void setName(String name)
setName
in interface ConversationEntity
public String getFallbackName()
Conversation
Conversation.getName()
is not set.getFallbackName
in interface Conversation
public void setFallbackName(String fallbackName)
setFallbackName
in interface ConversationEntity
public String getDescription()
Conversation
getDescription
in interface Conversation
public void setDescription(String description)
setDescription
in interface ConversationEntity
public String getAvatarId()
Conversation
getAvatarId
in interface Conversation
public void setAvatarId(String avatarId)
setAvatarId
in interface ConversationEntity
public Date getCreationTime()
Conversation
getCreationTime
in interface Conversation
public void setCreationTime(Date creationTime)
setCreationTime
in interface ConversationEntity
public String getCreatorId()
Conversation
getCreatorId
in interface Conversation
public void setCreatorId(String creatorId)
setCreatorId
in interface ConversationEntity
public Date getUpdateTime()
Conversation
getUpdateTime
in interface Conversation
public void setUpdateTime(Date updateTime)
setUpdateTime
in interface ConversationEntity
public String getUpdaterId()
Conversation
getUpdaterId
in interface Conversation
public void setUpdaterId(String updaterId)
setUpdaterId
in interface ConversationEntity
public Date getResubmissionTime()
Conversation
getResubmissionTime
in interface Conversation
public void setResubmissionTime(Date resubmissionTime)
setResubmissionTime
in interface ConversationEntity
public Date getLastMessageTime()
Conversation
getLastMessageTime
in interface Conversation
public void setLastMessageTime(Date lastMessageTime)
setLastMessageTime
in interface ConversationEntity
public String getUserAccountId()
Conversation
getUserAccountId
in interface Conversation
public void setUserAccountId(String userAccountId)
setUserAccountId
in interface ConversationEntity
public Map<String,Object> getMetaData()
Conversation
getMetaData
in interface Conversation
null
if this conversation does not have any meta datapublic void setMetaData(Map<String,Object> metaData)
setMetaData
in interface ConversationEntity
public List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> getIdentityLinks()
Conversation
getIdentityLinks
in interface Conversation
getIdentityLinks
in interface ConversationEntity
public void setIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks)
setIdentityLinks
in interface ConversationEntity
public List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> getQueryIdentityLinks()
public void setQueryIdentityLinks(List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinks)
public boolean isIdentityLinksInitialized()
isIdentityLinksInitialized
in interface ConversationEntity
public String getOwnerId()
Conversation
getOwnerId
in interface Permissions
getOwnerId
in interface Conversation
public String getAssigneeId()
Conversation
getAssigneeId
in interface Permissions
getAssigneeId
in interface Conversation
public String getAssignedGroupId()
Permissions
getAssignedGroupId
in interface Permissions
public Set<String> getCandidateUserIds()
Conversation
getCandidateUserIds
in interface Permissions
getCandidateUserIds
in interface Conversation
public Set<String> getCandidateGroupIds()
Conversation
getCandidateGroupIds
in interface Permissions
getCandidateGroupIds
in interface Conversation
public boolean isVariablesInitialized()
isVariablesInitialized
in interface ConversationEntity
public Map<String,Object> getConversationVariables()
Conversation
getConversationVariables
in interface Conversation
public List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> getQueryVariables()
getQueryVariables
in interface ConversationEntity
public void setQueryVariables(List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables)
setQueryVariables
in interface ConversationEntity
public List<String> getTags()
Taggable
public void setTags(List<String> tags)
setTags
in interface ConversationEntity
public Object getPersistentState()
getPersistentState
in interface org.flowable.common.engine.impl.persistence.entity.Entity
Copyright © 2019. All rights reserved.