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 String
conversationId
protected String
filterId
protected String
userId
protected boolean
withoutFilter
-
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 ConversationStatusQuery
conversationId(String conversationId)
Query all conversation statuses for the given conversation id.long
executeCount(CommandContext commandContext)
List<ConversationStatus>
executeList(CommandContext commandContext)
ConversationStatusQuery
filterId(String filterId)
Query all conversation statuses for the given filter id.String
getConversationId()
String
getFilterId()
String
getUserId()
boolean
isWithoutFilter()
ConversationStatusQuery
userId(String userId)
Query all conversation statuses for the given user id.ConversationStatusQuery
withoutFilter()
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:ConversationStatusQuery
Query all conversation statuses for the given conversation id.- Specified by:
conversationId
in interfaceConversationStatusQuery
- Parameters:
conversationId
- the id of the conversation for which the statuses are needed
-
filterId
public ConversationStatusQuery filterId(String filterId)
Description copied from interface:ConversationStatusQuery
Query all conversation statuses for the given filter id.- Specified by:
filterId
in interfaceConversationStatusQuery
- Parameters:
filterId
- the id of the filter for which the statuses are needed
-
withoutFilter
public ConversationStatusQuery withoutFilter()
Description copied from interface:ConversationStatusQuery
Query all conversation statuses that have no filter.- Specified by:
withoutFilter
in interfaceConversationStatusQuery
-
userId
public ConversationStatusQuery userId(String userId)
Description copied from interface:ConversationStatusQuery
Query all conversation statuses for the given user id.- Specified by:
userId
in interfaceConversationStatusQuery
- Parameters:
userId
- the id of the user for which the statuses are needed
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<ConversationStatusQuery,ConversationStatus>
-
executeList
public List<ConversationStatus> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<ConversationStatusQuery,ConversationStatus>
-
getConversationId
public String getConversationId()
-
getFilterId
public String getFilterId()
-
isWithoutFilter
public boolean isWithoutFilter()
-
getUserId
public String getUserId()
-
-