Class ConversationStatusQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<ConversationStatusQuery,ConversationStatus>
-
- com.flowable.engage.engine.impl.conversation.ConversationStatusQueryImpl
-
- All Implemented Interfaces:
ConversationStatusQuery,Serializable,Query<ConversationStatusQuery,ConversationStatus>,Command<Object>
public class ConversationStatusQueryImpl extends AbstractQuery<ConversationStatusQuery,ConversationStatus> implements ConversationStatusQuery
- Author:
- Filip Hrisafov
- 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 StringconversationIdprotected StringfilterIdprotected StringuserIdprotected booleanwithoutFilter-
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 ConversationStatusQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationStatusQueryconversationId(String conversationId)Query all conversation statuses for the given conversation id.longexecuteCount(CommandContext commandContext)List<ConversationStatus>executeList(CommandContext commandContext)ConversationStatusQueryfilterId(String filterId)Query all conversation statuses for the given filter id.StringgetConversationId()StringgetFilterId()StringgetUserId()booleanisWithoutFilter()ConversationStatusQueryuserId(String userId)Query all conversation statuses for the given user id.ConversationStatusQuerywithoutFilter()Query all conversation statuses that have no filter.-
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
-
-
-
-
Constructor Detail
-
ConversationStatusQueryImpl
public ConversationStatusQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
conversationId
public ConversationStatusQuery conversationId(String conversationId)
Description copied from interface:ConversationStatusQueryQuery all conversation statuses for the given conversation id.- Specified by:
conversationIdin interfaceConversationStatusQuery- Parameters:
conversationId- the id of the conversation for which the statuses are needed
-
filterId
public ConversationStatusQuery filterId(String filterId)
Description copied from interface:ConversationStatusQueryQuery all conversation statuses for the given filter id.- Specified by:
filterIdin interfaceConversationStatusQuery- Parameters:
filterId- the id of the filter for which the statuses are needed
-
withoutFilter
public ConversationStatusQuery withoutFilter()
Description copied from interface:ConversationStatusQueryQuery all conversation statuses that have no filter.- Specified by:
withoutFilterin interfaceConversationStatusQuery
-
userId
public ConversationStatusQuery userId(String userId)
Description copied from interface:ConversationStatusQueryQuery all conversation statuses for the given user id.- Specified by:
userIdin interfaceConversationStatusQuery- Parameters:
userId- the id of the user for which the statuses are needed
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<ConversationStatusQuery,ConversationStatus>
-
executeList
public List<ConversationStatus> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<ConversationStatusQuery,ConversationStatus>
-
getConversationId
public String getConversationId()
-
getFilterId
public String getFilterId()
-
isWithoutFilter
public boolean isWithoutFilter()
-
getUserId
public String getUserId()
-
-