Class TemporaryMessageEntityImpl
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.MessageEntityImpl
com.flowable.engage.engine.impl.persistence.entity.TemporaryMessageEntityImpl
- All Implemented Interfaces:
Taggable
,MessageEntity
,TemporaryMessageEntity
,Message
,TemporaryMessage
,HasRevision
,Entity
- Author:
- Filip Hrisafov
-
Field Summary
FieldsFields inherited from class com.flowable.engage.engine.impl.persistence.entity.MessageEntityImpl
actionInstanceId, category, conversationId, creationTime, creatorId, externalId, hidden, isPrivate, mainContent, mainContentType, mediaContentId, messageAudits, messageAuditsInitialized, recipientGroupId, recipientId, replyToMessageId, senderId, sticky, subType, tags, tenantId, type, updaterId, updateTime
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 reason for the processing status.The status of the processing.boolean
Boolean marking whether the temporary message has been processed.boolean
Whether this message is a temporary message.void
setProcessed
(boolean processed) void
setProcessingReason
(String processingReason) void
setProcessingStatus
(String processingStatus) Methods inherited from class com.flowable.engage.engine.impl.persistence.entity.MessageEntityImpl
getActionInstanceId, getCategory, getConversationId, getCreationTime, getCreatorId, getExternalId, getMainContent, getMainContentType, getMediaContentId, getMessageAudits, getQueryMessageAudits, getRecipientGroupId, getRecipientId, getReplyToMessageId, getSenderId, getSubType, getTags, getTenantId, getType, getUpdaterId, getUpdateTime, isHidden, isMessageAuditsInitialized, isPrivate, isSticky, setActionInstanceId, setCategory, setConversationId, setCreationTime, setCreatorId, setExternalId, setHidden, setMainContent, setMainContentType, setMediaContentId, setMessageAudits, setPrivate, setQueryMessageAudits, setRecipientGroupId, setRecipientId, setReplyToMessageId, setSenderId, setSticky, setSubType, setTags, setTenantId, setType, setUpdaterId, setUpdateTime, toString
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, wait, wait, wait
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
Methods inherited from interface com.flowable.engage.message.api.Message
getActionInstanceId, getCategory, getConversationId, getCreationTime, getCreatorId, getExternalId, getId, getMainContent, getMainContentType, getMediaContentId, getRecipientGroupId, getRecipientId, getReplyToMessageId, getSenderId, getSubType, getTenantId, getType, getUpdaterId, getUpdateTime, isHidden, isPrivate, isSticky
Methods inherited from interface com.flowable.engage.engine.impl.persistence.entity.MessageEntity
getMessageAudits, isMessageAuditsInitialized, setActionInstanceId, setCategory, setConversationId, setCreationTime, setCreatorId, setExternalId, setHidden, setMainContent, setMainContentType, setMediaContentId, setMessageAudits, setPrivate, setRecipientGroupId, setRecipientId, setReplyToMessageId, setSenderId, setSticky, setSubType, setTags, setTenantId, setType, setUpdaterId, setUpdateTime
-
Field Details
-
processed
protected boolean processed -
processingStatus
-
processingReason
-
-
Constructor Details
-
TemporaryMessageEntityImpl
public TemporaryMessageEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
- Overrides:
getPersistentState
in classMessageEntityImpl
-
isProcessed
public boolean isProcessed()Description copied from interface:TemporaryMessage
Boolean marking whether the temporary message has been processed.- Specified by:
isProcessed
in interfaceTemporaryMessage
- Returns:
- flag indicating whether the message been processed.
-
setProcessed
public void setProcessed(boolean processed) - Specified by:
setProcessed
in interfaceTemporaryMessageEntity
-
getProcessingStatus
Description copied from interface:TemporaryMessage
The status of the processing. Only relevant ifTemporaryMessage.isProcessed()
istrue
- Specified by:
getProcessingStatus
in interfaceTemporaryMessage
- Returns:
- the status of the processing
-
setProcessingStatus
- Specified by:
setProcessingStatus
in interfaceTemporaryMessageEntity
-
getProcessingReason
Description copied from interface:TemporaryMessage
The reason for the processing status. Only relevant ifTemporaryMessage.isProcessed()
istrue
- Specified by:
getProcessingReason
in interfaceTemporaryMessage
- Returns:
- the reason for the processing status
-
setProcessingReason
- Specified by:
setProcessingReason
in interfaceTemporaryMessageEntity
-
isTemporary
public boolean isTemporary()Description copied from interface:Message
Whether this message is a temporary message.- Specified by:
isTemporary
in interfaceMessage
- Overrides:
isTemporary
in classMessageEntityImpl
- Returns:
true
if this is a temporary message,false
otherwise
-