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 CommonEngineServiceImpl<EngageEngineConfiguration>
implements ConversationRegistryEntryService
- Author:
- Simon Amport
-
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
ConstructorsConstructorDescriptionConversationRegistryEntryServiceImpl
(EngageEngineConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionlong
countConversationParticipants
(String conversationId, Date date) Return the number of active participants (user without a leaving time) at a specific time.findConversationParticipantsBetween
(String conversationId, Date from, 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
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ConversationRegistryEntryServiceImpl
-
-
Method Details
-
createConversationRegistryQuery
- Specified by:
createConversationRegistryQuery
in interfaceConversationRegistryEntryService
-
countConversationParticipants
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 List<String> findConversationParticipantsBetween(String conversationId, Date from, 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
-