public class MessageQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<MessageQuery,Message> implements MessageQuery, org.flowable.common.engine.api.query.QueryCacheValues
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MessageQueryImpl.Range | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Collection<String> | accessibleByGroups | 
| protected String | accessibleByUser | 
| protected String | actionInstanceId | 
| protected boolean | bothAccessibleByUserAndGroups | 
| protected Category | category | 
| protected String | conversationId | 
| protected Date | createdAfter | 
| protected Date | createdAfterOrEqual | 
| protected Date | createdBefore | 
| protected Date | createdBeforeOrEqual | 
| protected String | externalId | 
| protected String | id | 
| protected boolean | includeMessageAudits | 
| protected boolean | includeOnlyStickyMessages | 
| protected boolean | includePrivate | 
| protected boolean | includeSticky | 
| protected String | isNotType | 
| protected Collection<String> | notSenderIds | 
| protected List<MessageQueryImpl.Range> | ranges | 
| protected String | referenceId | 
| protected String | referenceType | 
| protected String | senderId | 
| protected Collection<String> | senderIds | 
| protected String | subType | 
| protected String | type | 
| Constructor and Description | 
|---|
| MessageQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) | 
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessibleByUserprotected String id
protected String externalId
protected Category category
protected String conversationId
protected String actionInstanceId
protected Date createdAfter
protected Date createdAfterOrEqual
protected Date createdBefore
protected Date createdBeforeOrEqual
protected String accessibleByUser
protected Collection<String> accessibleByGroups
protected String subType
protected String type
protected String isNotType
protected String referenceId
protected String referenceType
protected String senderId
protected Collection<String> senderIds
protected Collection<String> notSenderIds
protected List<MessageQueryImpl.Range> ranges
protected boolean includePrivate
protected boolean includeSticky
protected boolean includeOnlyStickyMessages
protected boolean includeMessageAudits
protected boolean bothAccessibleByUserAndGroups
public MessageQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
public MessageQuery id(String id)
id in interface MessageQuerypublic MessageQuery externalId(String externalId)
externalId in interface MessageQuerypublic MessageQuery category(Category category)
category in interface MessageQuerypublic MessageQuery conversationId(String conversationId)
conversationId in interface MessageQuerypublic MessageQuery actionInstanceId(String actionInstanceId)
actionInstanceId in interface MessageQuerypublic MessageQuery createdAfter(Date createdAfter)
createdAfter in interface MessageQuerypublic MessageQuery createdAfterOrEqual(Date createdAfterOrEqual)
createdAfterOrEqual in interface MessageQuerypublic MessageQuery createdBefore(Date createdBefore)
createdBefore in interface MessageQuerypublic MessageQuery createdBeforeOrEqual(Date createdBeforeOrEqual)
createdBeforeOrEqual in interface MessageQuerypublic MessageQuery accessibleByUserOrGroups(String userId, Collection<String> groupIds)
MessageQueryMessageQuery.conversationId(String) must bbe set when doing the query.accessibleByUserOrGroups in interface MessageQueryuserId - the id of the user for which messages should be queriedgroupIds - the groups ids for which the messages should be queriedpublic MessageQuery subType(String subType)
subType in interface MessageQuerypublic MessageQuery type(String type)
type in interface MessageQuerypublic MessageQuery isNotType(String notType)
isNotType in interface MessageQuerypublic MessageQuery referenceId(String referenceId)
referenceId in interface MessageQuerypublic MessageQuery referenceType(String referenceType)
referenceType in interface MessageQuerypublic MessageQuery senderId(String senderId)
MessageQuerysenderId.senderId in interface MessageQuerysenderId - the id of the senderpublic MessageQuery senderIdIn(Collection<String> senderIds)
senderIdIn in interface MessageQuerypublic MessageQuery senderIdNotIn(Collection<String> notSenderIds)
senderIdNotIn in interface MessageQuerypublic MessageQuery includePrivate()
MessageQueryMessageQuery.accessibleByUser(String) is used than this has no effect.includePrivate in interface MessageQuerypublic MessageQuery includeSticky()
MessageQueryincludeSticky in interface MessageQuerypublic MessageQuery includeOnlyStickyMessages()
MessageQueryincludeOnlyStickyMessages in interface MessageQuerypublic MessageQuery includeMessageAudits()
MessageQueryincludeMessageAudits in interface MessageQuerypublic long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeCount in class org.flowable.common.engine.impl.query.AbstractQuery<MessageQuery,Message>public List<Message> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeList in class org.flowable.common.engine.impl.query.AbstractQuery<MessageQuery,Message>protected void computeAccessibleRanges(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
public String getId()
getId in interface org.flowable.common.engine.api.query.QueryCacheValuespublic String getExternalId()
public Category getCategory()
public String getConversationId()
public String getActionInstanceId()
public Date getCreatedAfter()
public Date getCreatedAfterOrEqual()
public Date getCreatedBefore()
public Date getCreatedBeforeOrEqual()
public String getAccessibleByUser()
public String getSubType()
public String getReferenceId()
public String getReferenceType()
public String getSenderId()
public Collection<String> getSenderIds()
public Collection<String> getNotSenderIds()
public boolean isIncludePrivate()
public boolean isIncludeSticky()
public boolean isIncludeMessageAudits()
public boolean isBothAccessibleByUserAndGroups()
public boolean isFalse()
false in SQL in a DB agnostic way. Therefore this method that always returns falsefalsepublic boolean isTrue()
public List<MessageQueryImpl.Range> getRanges()
public String getOrderByColumns()
getOrderByColumns in class org.flowable.common.engine.impl.db.ListQueryParameterObjectpublic MessageQuery orderByCreationTime()
orderByCreationTime in interface MessageQuerypublic MessageQuery orderByConversationId()
orderByConversationId in interface MessageQueryCopyright © 2019. All rights reserved.