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
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
ConstructorsConstructorDescriptionConversationRegistryEntryServiceImpl(EngageEngineConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionlongcountConversationParticipants(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, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ConversationRegistryEntryServiceImpl
-
-
Method Details
-
createConversationRegistryQuery
- Specified by:
createConversationRegistryQueryin interfaceConversationRegistryEntryService
-
countConversationParticipants
Description copied from interface:ConversationRegistryEntryServiceReturn the number of active participants (user without a leaving time) at a specific time.- Specified by:
countConversationParticipantsin 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:ConversationRegistryEntryServiceReturn a list of user ids which were part of the the conversation between the given period.- Specified by:
findConversationParticipantsBetweenin interfaceConversationRegistryEntryServicefrom- optionaluntil- optional- Returns:
- list of ids associated with the conversation
-