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
public class TemporaryMessageEntityImpl extends MessageEntityImpl implements TemporaryMessageEntity
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanprocessedprotected StringprocessingReasonprotected StringprocessingStatus-
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, 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 Constructor Description TemporaryMessageEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetPersistentState()StringgetProcessingReason()The reason for the processing status.StringgetProcessingStatus()The status of the processing.booleanisProcessed()Boolean marking whether the temporary message has been processed.booleanisTemporary()Whether this message is a temporary message.voidsetProcessed(boolean processed)voidsetProcessingReason(String processingReason)voidsetProcessingStatus(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
-
-
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity- Overrides:
getPersistentStatein classMessageEntityImpl
-
isProcessed
public boolean isProcessed()
Description copied from interface:TemporaryMessageBoolean marking whether the temporary message has been processed.- Specified by:
isProcessedin interfaceTemporaryMessage- Returns:
- flag indicating whether the message been processed.
-
setProcessed
public void setProcessed(boolean processed)
- Specified by:
setProcessedin interfaceTemporaryMessageEntity
-
getProcessingStatus
public String getProcessingStatus()
Description copied from interface:TemporaryMessageThe status of the processing. Only relevant ifTemporaryMessage.isProcessed()istrue- Specified by:
getProcessingStatusin interfaceTemporaryMessage- Returns:
- the status of the processing
-
setProcessingStatus
public void setProcessingStatus(String processingStatus)
- Specified by:
setProcessingStatusin interfaceTemporaryMessageEntity
-
getProcessingReason
public String getProcessingReason()
Description copied from interface:TemporaryMessageThe reason for the processing status. Only relevant ifTemporaryMessage.isProcessed()istrue- Specified by:
getProcessingReasonin interfaceTemporaryMessage- Returns:
- the reason for the processing status
-
setProcessingReason
public void setProcessingReason(String processingReason)
- Specified by:
setProcessingReasonin interfaceTemporaryMessageEntity
-
isTemporary
public boolean isTemporary()
Description copied from interface:MessageWhether this message is a temporary message.- Specified by:
isTemporaryin interfaceMessage- Overrides:
isTemporaryin classMessageEntityImpl- Returns:
trueif this is a temporary message,falseotherwise
-
-