Class ConversationRegistryEntryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration>
com.flowable.engage.engine.impl.conversation.ConversationRegistryEntryServiceImpl
- All Implemented Interfaces:
ConversationRegistryEntryService
public class ConversationRegistryEntryServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration> implements ConversationRegistryEntryService
- Author:
- Simon Amport
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConversationRegistryEntryServiceImpl(EngageEngineConfiguration configuration)
-
Method Summary
Modifier and Type Method Description long
countConversationParticipants(java.lang.String conversationId, java.util.Date date)
Return the number of active participants (user without a leaving time) at a specific time.ConversationRegistryEntryQuery
createConversationRegistryQuery()
java.util.List<java.lang.String>
findConversationParticipantsBetween(java.lang.String conversationId, java.util.Date from, java.util.Date until)
Return a list of user ids which were part of the the conversation between the given period.Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Constructor Details
-
Method Details
-
createConversationRegistryQuery
- Specified by:
createConversationRegistryQuery
in interfaceConversationRegistryEntryService
-
countConversationParticipants
public long countConversationParticipants(java.lang.String conversationId, java.util.Date date)Description copied from interface:ConversationRegistryEntryService
Return the number of active participants (user without a leaving time) at a specific time.- Specified by:
countConversationParticipants
in interfaceConversationRegistryEntryService
- Parameters:
conversationId
- the conversation iddate
- optional- Returns:
- the number of active participants
-
findConversationParticipantsBetween
public java.util.List<java.lang.String> findConversationParticipantsBetween(java.lang.String conversationId, java.util.Date from, java.util.Date until)Description copied from interface:ConversationRegistryEntryService
Return a list of user ids which were part of the the conversation between the given period.- Specified by:
findConversationParticipantsBetween
in interfaceConversationRegistryEntryService
from
- optionaluntil
- optional- Returns:
- list of ids associated with the conversation
-