Class MessageServiceImpl

java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration>
com.flowable.engage.engine.impl.message.MessageServiceImpl
All Implemented Interfaces:
MessageService

public class MessageServiceImpl
extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration>
implements MessageService
Author:
Filip Hrisafov
  • Field Summary

    Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl

    commandExecutor

    Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl

    configuration
  • Constructor Summary

    Constructors 
    Constructor Description
    MessageServiceImpl​(EngageEngineConfiguration configuration)  
  • Method Summary

    Modifier and Type Method Description
    MessageBuilder createMessageBuilder()  
    MessageQuery createMessageQuery()  
    ReactionQuery createReactionQuery()  
    void deleteMessage​(java.lang.String messageId, java.lang.String userId)  
    Message findById​(java.lang.String messageId)  
    Message findByIdWithMessageAudits​(java.lang.String messageId)  
    void markMessageAsRead​(java.lang.String messageId, java.lang.String userId)  
    java.lang.String reactToMessage​(java.lang.String messageId, java.lang.String userId, java.lang.String reaction)  
    void referenceMessage​(java.lang.String messageId, java.lang.String referenceId, java.lang.String referenceType)
    Reference the message with the given messageId with the referenceId and referenceType.
    void removeReactionToMessage​(java.lang.String reactionId)  
    void updateMessageActionInstanceId​(java.lang.String actionInstanceId, java.lang.String messageId, java.lang.String userId)  
    Message updateMessageContent​(java.lang.String messageId, java.lang.String mainContent)  
    Message updateMessageMedia​(java.lang.String messageId, java.lang.String mediaContentId)
    Change the media content id of the media message with the given mediaContentId.
    Message updateMessageMedia​(java.lang.String messageId, org.flowable.content.api.ContentItem contentItem, java.io.InputStream contentStream)
    Change the media content of the media message with the given content item and input stream.

    Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl

    getCommandExecutor, setCommandExecutor

    Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl

    getConfiguration

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait