Class FindConversationsWithLastMessageBetweenCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.FindConversationsWithLastMessageBetweenCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<java.util.List<Conversation>>
public class FindConversationsWithLastMessageBetweenCmd extends java.lang.Object implements org.flowable.common.engine.impl.interceptor.Command<java.util.List<Conversation>>
Finds conversations which received new messages within a given time frame.
- Author:
- Simon Amport
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
endTime
protected boolean
includePrivate
protected boolean
includeSticky
protected java.util.Date
startTime
-
Constructor Summary
Constructors Constructor Description FindConversationsWithLastMessageBetweenCmd(java.util.Date startTime, java.util.Date endTime, boolean includePrivate, boolean includeSticky)
-
Method Summary
Modifier and Type Method Description java.util.List<Conversation>
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
startTime
protected final java.util.Date startTime -
endTime
protected final java.util.Date endTime -
includePrivate
protected final boolean includePrivate -
includeSticky
protected final boolean includeSticky
-
-
Constructor Details
-
FindConversationsWithLastMessageBetweenCmd
public FindConversationsWithLastMessageBetweenCmd(java.util.Date startTime, java.util.Date endTime, boolean includePrivate, boolean includeSticky)
-
-
Method Details
-
execute
public java.util.List<Conversation> execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.util.List<Conversation>>
-