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 boolean
processed
protected String
processingReason
protected 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, 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 Object
getPersistentState()
String
getProcessingReason()
The reason for the processing status.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(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
-
-
-
-
Method Detail
-
getPersistentState
public Object 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
public 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(String processingStatus)
- Specified by:
setProcessingStatus
in interfaceTemporaryMessageEntity
-
getProcessingReason
public 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(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
-
-