public class HistoricCaseActivityInstanceQueryImpl extends AbstractQuery<HistoricCaseActivityInstanceQuery,HistoricCaseActivityInstance> implements HistoricCaseActivityInstanceQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String[] |
caseActivityIds |
protected String[] |
caseActivityInstanceIds |
protected Integer |
caseActivityInstanceState |
protected String |
caseActivityName |
protected String |
caseActivityType |
protected String |
caseDefinitionId |
protected String |
caseInstanceId |
protected Date |
createdAfter |
protected Date |
createdBefore |
protected Boolean |
ended |
protected Date |
endedAfter |
protected Date |
endedBefore |
protected Boolean |
required |
protected String[] |
tenantIds |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck
Constructor and Description |
---|
HistoricCaseActivityInstanceQueryImpl() |
HistoricCaseActivityInstanceQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricCaseActivityInstanceQuery |
active()
Only select historic case activity instances which are active
|
HistoricCaseActivityInstanceQuery |
available()
Only select historic case activity instances which are available
|
HistoricCaseActivityInstanceQuery |
caseActivityId(String caseActivityId)
Only select historic case activity instances for the given case activity (id from CMMN 1.0 XML)
|
HistoricCaseActivityInstanceQuery |
caseActivityIdIn(String... caseActivityIds)
Only select historic case activity instances with one of the given case activity ids.
|
HistoricCaseActivityInstanceQuery |
caseActivityInstanceId(String caseActivityInstanceId)
Only select historic case activity instances with the given id (primary key within history tables).
|
HistoricCaseActivityInstanceQuery |
caseActivityInstanceIdIn(String... caseActivityInstanceIds)
Only select historic case activity instances with one of the given case activity instance ids.
|
HistoricCaseActivityInstanceQuery |
caseActivityName(String caseActivityName)
Only select historic case activity instances for activities with the given name
|
HistoricCaseActivityInstanceQuery |
caseActivityType(String caseActivityType)
Only select historic case activity instances for activities with the given type
|
HistoricCaseActivityInstanceQuery |
caseDefinitionId(String caseDefinitionId)
Only select historic case activity instances for the given case definition
|
HistoricCaseActivityInstanceQuery |
caseExecutionId(String caseExecutionId)
Only select historic case activity instances for the given case execution
|
HistoricCaseActivityInstanceQuery |
caseInstanceId(String caseInstanceId)
Only select historic case activity instances with the given case instance.
|
HistoricCaseActivityInstanceQuery |
completed()
Only select historic case activity instances which are completed
|
HistoricCaseActivityInstanceQuery |
createdAfter(Date date)
Only select historic case activity instances that were created after the given date.
|
HistoricCaseActivityInstanceQuery |
createdBefore(Date date)
Only select historic case activity instances that were created before the given date.
|
HistoricCaseActivityInstanceQuery |
disabled()
Only select historic case activity instances which are disabled
|
HistoricCaseActivityInstanceQuery |
enabled()
Only select historic case activity instances which are enabled
|
HistoricCaseActivityInstanceQuery |
ended()
Only select historic case activity instances which are already ended (ie.
|
HistoricCaseActivityInstanceQuery |
endedAfter(Date date)
Only select historic case activity instances that were ended (ie.
|
HistoricCaseActivityInstanceQuery |
endedBefore(Date date)
Only select historic case activity instances that were ended (ie.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricCaseActivityInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
String[] |
getCaseActivityIds() |
String[] |
getCaseActivityInstanceIds() |
Integer |
getCaseActivityInstanceState() |
String |
getCaseActivityName() |
String |
getCaseActivityType() |
String |
getCaseDefinitionId() |
String |
getCaseInstanceId() |
Date |
getCreatedAfter() |
Date |
getCreatedBefore() |
Boolean |
getEnded() |
Date |
getEndedAfter() |
Date |
getEndedBefore() |
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
Boolean |
isRequired() |
HistoricCaseActivityInstanceQuery |
notEnded()
Only select historic case activity instances which are not ended (ie.
|
HistoricCaseActivityInstanceQuery |
orderByCaseActivityId()
Order by caseActivityId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByCaseActivityName()
Order by caseActivityName (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByCaseActivityType()
Order by caseActivityType (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByCaseDefinitionId()
Order by caseDefinitionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByCaseExecutionId()
Order by caseExecutionId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByCaseInstanceId()
Order by caseInstanceId (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByHistoricCaseActivityInstanceCreateTime()
Order by create time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByHistoricCaseActivityInstanceDuration()
Order by duration (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByHistoricCaseActivityInstanceEndTime()
Order by end time (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByHistoricCaseActivityInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricCaseActivityInstanceQuery |
required()
Only select historic case activity instances which are required.
|
HistoricCaseActivityInstanceQuery |
suspended() |
HistoricCaseActivityInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic case activity instances with one of the given tenant ids.
|
HistoricCaseActivityInstanceQuery |
terminated()
Only select historic case activity instances which are terminated
|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck
protected String[] caseActivityInstanceIds
protected String[] caseActivityIds
protected String caseInstanceId
protected String caseDefinitionId
protected String caseActivityName
protected String caseActivityType
protected Date createdBefore
protected Date createdAfter
protected Date endedBefore
protected Date endedAfter
protected Boolean ended
protected Integer caseActivityInstanceState
protected Boolean required
protected String[] tenantIds
public HistoricCaseActivityInstanceQueryImpl()
public HistoricCaseActivityInstanceQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricCaseActivityInstanceQuery,HistoricCaseActivityInstance>
public List<HistoricCaseActivityInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricCaseActivityInstanceQuery,HistoricCaseActivityInstance>
page
- used if the results must be paged. If null, no paging will be applied.public HistoricCaseActivityInstanceQuery caseActivityInstanceId(String caseActivityInstanceId)
HistoricCaseActivityInstanceQuery
caseActivityInstanceId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseActivityInstanceIdIn(String... caseActivityInstanceIds)
HistoricCaseActivityInstanceQuery
caseActivityInstanceIdIn
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseInstanceId(String caseInstanceId)
HistoricCaseActivityInstanceQuery
caseInstanceId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseDefinitionId(String caseDefinitionId)
HistoricCaseActivityInstanceQuery
caseDefinitionId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseExecutionId(String caseExecutionId)
HistoricCaseActivityInstanceQuery
caseExecutionId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseActivityId(String caseActivityId)
HistoricCaseActivityInstanceQuery
caseActivityId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseActivityIdIn(String... caseActivityIds)
HistoricCaseActivityInstanceQuery
caseActivityIdIn
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseActivityName(String caseActivityName)
HistoricCaseActivityInstanceQuery
caseActivityName
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery caseActivityType(String caseActivityType)
HistoricCaseActivityInstanceQuery
caseActivityType
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery createdBefore(Date date)
HistoricCaseActivityInstanceQuery
createdBefore
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery createdAfter(Date date)
HistoricCaseActivityInstanceQuery
createdAfter
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery endedBefore(Date date)
HistoricCaseActivityInstanceQuery
endedBefore
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery endedAfter(Date date)
HistoricCaseActivityInstanceQuery
endedAfter
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery required()
HistoricCaseActivityInstanceQuery
required
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery ended()
HistoricCaseActivityInstanceQuery
ended
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery notEnded()
HistoricCaseActivityInstanceQuery
notEnded
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery available()
HistoricCaseActivityInstanceQuery
available
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery enabled()
HistoricCaseActivityInstanceQuery
enabled
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery disabled()
HistoricCaseActivityInstanceQuery
disabled
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery active()
HistoricCaseActivityInstanceQuery
active
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery suspended()
public HistoricCaseActivityInstanceQuery completed()
HistoricCaseActivityInstanceQuery
completed
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery terminated()
HistoricCaseActivityInstanceQuery
terminated
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery tenantIdIn(String... tenantIds)
HistoricCaseActivityInstanceQuery
tenantIdIn
in interface HistoricCaseActivityInstanceQuery
protected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions
in class AbstractQuery<HistoricCaseActivityInstanceQuery,HistoricCaseActivityInstance>
true
if the query does have excluding conditions, false
otherwisepublic HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricCaseActivityInstanceId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseInstanceId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseInstanceId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseExecutionId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseExecutionId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseActivityId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseActivityId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseActivityName()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseActivityName
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseActivityType()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseActivityType
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceCreateTime()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricCaseActivityInstanceCreateTime
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceEndTime()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricCaseActivityInstanceEndTime
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByHistoricCaseActivityInstanceDuration()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricCaseActivityInstanceDuration
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByCaseDefinitionId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseDefinitionId
in interface HistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery orderByTenantId()
HistoricCaseActivityInstanceQuery
Query.asc()
or Query.desc()
).
Note that the ordering of historic case activity instances without tenant id is database-specific.orderByTenantId
in interface HistoricCaseActivityInstanceQuery
public String[] getCaseActivityInstanceIds()
public String getCaseInstanceId()
public String getCaseDefinitionId()
public String[] getCaseActivityIds()
public String getCaseActivityName()
public String getCaseActivityType()
public Date getCreatedBefore()
public Date getCreatedAfter()
public Date getEndedBefore()
public Date getEndedAfter()
public Boolean getEnded()
public Integer getCaseActivityInstanceState()
public Boolean isRequired()
Copyright © 2018. All rights reserved.