Class ReactionQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<ReactionQuery,Reaction>
-
- com.flowable.engage.engine.impl.message.ReactionQueryImpl
-
- All Implemented Interfaces:
ReactionQuery
,Serializable
,CacheAwareQuery<ReactionEntity>
,Query<ReactionQuery,Reaction>
,Command<Object>
public class ReactionQueryImpl extends AbstractQuery<ReactionQuery,Reaction> implements ReactionQuery, CacheAwareQuery<ReactionEntity>
- Author:
- Luis Belloch
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected String
messageId
protected List<String>
messageIds
protected String
reaction
protected String
userId
-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description ReactionQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeCount(CommandContext commandContext)
List<Reaction>
executeList(CommandContext commandContext)
String
getId()
String
getMessageId()
List<String>
getMessageIds()
String
getReaction()
String
getUserId()
ReactionQuery
id(String id)
ReactionQuery
messageId(String messageId)
ReactionQuery
messageIds(List<String> messageIds)
ReactionQuery
reaction(String reaction)
ReactionQuery
userId(String userId)
-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
-
-
-
Constructor Detail
-
ReactionQueryImpl
public ReactionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public ReactionQuery id(String id)
- Specified by:
id
in interfaceReactionQuery
-
messageId
public ReactionQuery messageId(String messageId)
- Specified by:
messageId
in interfaceReactionQuery
-
userId
public ReactionQuery userId(String userId)
- Specified by:
userId
in interfaceReactionQuery
-
reaction
public ReactionQuery reaction(String reaction)
- Specified by:
reaction
in interfaceReactionQuery
-
messageIds
public ReactionQuery messageIds(List<String> messageIds)
- Specified by:
messageIds
in interfaceReactionQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<ReactionQuery,Reaction>
-
executeList
public List<Reaction> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<ReactionQuery,Reaction>
-
getId
public String getId()
- Specified by:
getId
in interfaceCacheAwareQuery<ReactionEntity>
-
getMessageId
public String getMessageId()
-
getUserId
public String getUserId()
-
getReaction
public String getReaction()
-
-