|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
org.camunda.bpm.engine.impl.HistoricJobLogQueryImpl
public class HistoricJobLogQueryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
AbstractQuery.ResultType |
| Field Summary | |
|---|---|
protected String[] |
activityIds
|
protected String |
deploymentId
|
protected String[] |
executionIds
|
protected String |
id
|
protected String |
jobDefinitionConfiguration
|
protected String |
jobDefinitionId
|
protected String |
jobDefinitionType
|
protected String |
jobExceptionMessage
|
protected String |
jobId
|
protected Long |
jobPriorityHigherThanOrEqual
|
protected Long |
jobPriorityLowerThanOrEqual
|
protected String |
processDefinitionId
|
protected String |
processDefinitionKey
|
protected String |
processInstanceId
|
protected JobState |
state
|
protected String[] |
tenantIds
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
| Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck |
| Constructor Summary | |
|---|---|
HistoricJobLogQueryImpl()
|
|
HistoricJobLogQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
HistoricJobLogQuery |
activityIdIn(String... activityIds)
Only select historic job log entries which are associated with one of the given activity ids. |
HistoricJobLogQuery |
creationLog()
Only select created historic job log entries. |
HistoricJobLogQuery |
deletionLog()
Only select deleted historic job log entries. |
HistoricJobLogQuery |
deploymentId(String deploymentId)
Only select historic job log entries with the deployment id. |
long |
executeCount(CommandContext commandContext)
|
List<HistoricJobLog> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
HistoricJobLogQuery |
executionIdIn(String... executionIds)
Only select historic job log entries which are associated with one of the given execution ids. |
HistoricJobLogQuery |
failureLog()
Only select failed historic job log entries. |
String[] |
getActivityIds()
|
String |
getDeploymentId()
|
String[] |
getExecutionIds()
|
String |
getJobDefinitionConfiguration()
|
String |
getJobDefinitionId()
|
String |
getJobDefinitionType()
|
String |
getJobExceptionMessage()
|
String |
getJobId()
|
String |
getProcessDefinitionId()
|
String |
getProcessDefinitionKey()
|
String |
getProcessInstanceId()
|
JobState |
getState()
|
String[] |
getTenantIds()
|
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions. |
HistoricJobLogQuery |
jobDefinitionConfiguration(String jobDefinitionConfiguration)
Only select historic job log entries with the given job definition configuration type. |
HistoricJobLogQuery |
jobDefinitionId(String jobDefinitionId)
Only select historic job log entries with the given job definition id. |
HistoricJobLogQuery |
jobDefinitionType(String jobDefinitionType)
Only select historic job log entries with the given job definition type. |
HistoricJobLogQuery |
jobExceptionMessage(String jobExceptionMessage)
Only select historic job log entries with the given exception message. |
HistoricJobLogQuery |
jobId(String jobId)
Only select historic job log entries with the given job id. |
HistoricJobLogQuery |
jobPriorityHigherThanOrEquals(long priority)
Only select log entries where the job had a priority higher than or equal to the given priority. |
HistoricJobLogQuery |
jobPriorityLowerThanOrEquals(long priority)
Only select log entries where the job had a priority lower than or equal to the given priority. |
HistoricJobLogQuery |
logId(String historicJobLogId)
Only select historic job log entries with the id. |
HistoricJobLogQuery |
orderByActivityId()
Order by activity id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByExecutionId()
Order by execution id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByJobDefinitionId()
Order by job definition id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByJobDueDate()
Order by job due date (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByJobId()
Order by job id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByJobPriority()
Order by job priority (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByJobRetries()
Order by job retries (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByTenantId()
Order by tenant id (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderByTimestamp()
Order by timestamp (needs to be followed by Query.asc() or Query.desc()). |
HistoricJobLogQuery |
orderPartiallyByOccurrence()
Sort the historic job logs in the order in which
they occurred and needs to be followed by Query.asc() or Query.desc(). |
HistoricJobLogQuery |
processDefinitionId(String processDefinitionId)
Only select historic job log entries with the process definition id. |
HistoricJobLogQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic job log entries with the process instance key. |
HistoricJobLogQuery |
processInstanceId(String processInstanceId)
Only select historic job log entries with the process instance id. |
protected void |
setState(JobState state)
|
HistoricJobLogQuery |
successLog()
Only select historic job logs which belongs to a successful executed job. |
HistoricJobLogQuery |
tenantIdIn(String... tenantIds)
Only select historic job log entries that belong to one of the given tenant ids. |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
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 |
| Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter, setTenantCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.query.Query |
|---|
asc, count, desc, list, listPage, singleResult |
| Field Detail |
|---|
protected String id
protected String jobId
protected String jobExceptionMessage
protected String jobDefinitionId
protected String jobDefinitionType
protected String jobDefinitionConfiguration
protected String[] activityIds
protected String[] executionIds
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected String deploymentId
protected JobState state
protected Long jobPriorityHigherThanOrEqual
protected Long jobPriorityLowerThanOrEqual
protected String[] tenantIds
| Constructor Detail |
|---|
public HistoricJobLogQueryImpl()
public HistoricJobLogQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public HistoricJobLogQuery logId(String historicJobLogId)
HistoricJobLogQuery
logId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobId(String jobId)
HistoricJobLogQuery
jobId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobExceptionMessage(String jobExceptionMessage)
HistoricJobLogQuery
jobExceptionMessage in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionId(String jobDefinitionId)
HistoricJobLogQuery
jobDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionType(String jobDefinitionType)
HistoricJobLogQuery
jobDefinitionType in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionConfiguration(String jobDefinitionConfiguration)
HistoricJobLogQuery
jobDefinitionConfiguration in interface HistoricJobLogQuerypublic HistoricJobLogQuery activityIdIn(String... activityIds)
HistoricJobLogQuery
activityIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery executionIdIn(String... executionIds)
HistoricJobLogQuery
executionIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery processInstanceId(String processInstanceId)
HistoricJobLogQuery
processInstanceId in interface HistoricJobLogQuerypublic HistoricJobLogQuery processDefinitionId(String processDefinitionId)
HistoricJobLogQuery
processDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery processDefinitionKey(String processDefinitionKey)
HistoricJobLogQuery
processDefinitionKey in interface HistoricJobLogQuerypublic HistoricJobLogQuery deploymentId(String deploymentId)
HistoricJobLogQuery
deploymentId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobPriorityHigherThanOrEquals(long priority)
HistoricJobLogQuery
jobPriorityHigherThanOrEquals in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobPriorityLowerThanOrEquals(long priority)
HistoricJobLogQuery
jobPriorityLowerThanOrEquals in interface HistoricJobLogQuerypublic HistoricJobLogQuery tenantIdIn(String... tenantIds)
HistoricJobLogQuery
tenantIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery creationLog()
HistoricJobLogQuery
creationLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery failureLog()
HistoricJobLogQuery
failureLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery successLog()
HistoricJobLogQuerysuccessful executed job.
successLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery deletionLog()
HistoricJobLogQuery
deletionLog in interface HistoricJobLogQueryprotected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>true if the query does have excluding conditions, false otherwisepublic HistoricJobLogQuery orderByTimestamp()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByTimestamp in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByJobId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobDueDate()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByJobDueDate in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobRetries()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByJobRetries in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobPriority()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByJobPriority in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobDefinitionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByJobDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByActivityId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByActivityId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByExecutionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByExecutionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessInstanceId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByProcessInstanceId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessDefinitionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByProcessDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessDefinitionKey()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByProcessDefinitionKey in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByDeploymentId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
orderByDeploymentId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderPartiallyByOccurrence()
HistoricJobLogQuerySort the historic job logs in the order in which
they occurred and needs to be followed by Query.asc() or Query.desc().
The set of all historic job logs is a partially ordered
set. Due to this fact historic job logs with different
job ids are incomparable. Only historic job logs with the same job id can
be totally ordered by using HistoricJobLogQuery.jobId(String) and HistoricJobLogQuery.orderPartiallyByOccurrence()
which will return a result set ordered by its occurrence.
orderPartiallyByOccurrence in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByTenantId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
Note that the ordering of job log entries without tenant id is database-specific.
orderByTenantId in interface HistoricJobLogQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
public List<HistoricJobLog> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>page - used if the results must be paged. If null, no paging will be applied.public String getJobId()
public String getJobExceptionMessage()
public String getJobDefinitionId()
public String getJobDefinitionType()
public String getJobDefinitionConfiguration()
public String[] getActivityIds()
public String[] getExecutionIds()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getDeploymentId()
public JobState getState()
public String[] getTenantIds()
protected void setState(JobState state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||