Class CountConversationsWithLastMessageBetweenCmd
java.lang.Object
com.flowable.engage.engine.impl.cmd.CountConversationsWithLastMessageBetweenCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<java.lang.Long>
public class CountConversationsWithLastMessageBetweenCmd
extends java.lang.Object
implements org.flowable.common.engine.impl.interceptor.Command<java.lang.Long>
Number of 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
from
protected boolean
includePrivate
protected boolean
includeSticky
protected java.util.Date
until
-
Constructor Summary
Constructors Constructor Description CountConversationsWithLastMessageBetweenCmd(java.util.Date from, java.util.Date until, boolean includePrivate, boolean includeSticky)
-
Method Summary
Modifier and Type Method Description java.lang.Long
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
from
protected final java.util.Date from -
until
protected final java.util.Date until -
includePrivate
protected final boolean includePrivate -
includeSticky
protected final boolean includeSticky
-
-
Constructor Details
-
CountConversationsWithLastMessageBetweenCmd
public CountConversationsWithLastMessageBetweenCmd(java.util.Date from, java.util.Date until, boolean includePrivate, boolean includeSticky)
-
-
Method Details
-
execute
public java.lang.Long execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.lang.Long>
-