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
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
public class TemporaryMessageEntityImpl extends MessageEntityImpl implements TemporaryMessageEntity
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected boolean
processed
protected java.lang.String
processingReason
protected java.lang.String
processingStatus
Fields 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, referenceId, referenceType, replyToMessageId, senderId, sticky, subType, tags, tenantId, type, updaterId, updateTime
-
Constructor Summary
Constructors Constructor Description TemporaryMessageEntityImpl()
-
Method Summary
Modifier and Type Method Description java.lang.Object
getPersistentState()
java.lang.String
getProcessingReason()
The reason for the processing status.java.lang.String
getProcessingStatus()
The status of the processing.boolean
isProcessed()
Boolean marking whether the temporary message has been processed.boolean
isTemporary()
Whether this message is a temporary message.void
setProcessed(boolean processed)
void
setProcessingReason(java.lang.String processingReason)
void
setProcessingStatus(java.lang.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, getReferenceId, getReferenceType, 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, setReferenceId, setReferenceType, 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, getReferenceId, getReferenceType, 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, setReferenceId, setReferenceType, setReplyToMessageId, setSenderId, setSticky, setSubType, setTags, setTenantId, setType, setUpdaterId, setUpdateTime
-
Field Details
-
processed
protected boolean processed -
processingStatus
protected java.lang.String processingStatus -
processingReason
protected java.lang.String processingReason
-
-
Constructor Details
-
TemporaryMessageEntityImpl
public TemporaryMessageEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
- 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
public java.lang.String 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
public void setProcessingStatus(java.lang.String processingStatus)- Specified by:
setProcessingStatus
in interfaceTemporaryMessageEntity
-
getProcessingReason
public java.lang.String 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
public void setProcessingReason(java.lang.String processingReason)- 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
-