Package org.camunda.bpm.engine.impl
Class HistoricJobLogQueryImpl
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
- 
- org.camunda.bpm.engine.impl.AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
- 
- org.camunda.bpm.engine.impl.HistoricJobLogQueryImpl
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- HistoricJobLogQuery,- Command<java.lang.Object>,- Query<HistoricJobLogQuery,HistoricJobLog>
 
 public class HistoricJobLogQueryImpl extends AbstractQuery<HistoricJobLogQuery,HistoricJobLog> implements HistoricJobLogQuery - Author:
- Roman Smirnov
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.String[]activityIdsprotected java.lang.StringdeploymentIdprotected java.lang.String[]executionIdsprotected java.lang.String[]failedActivityIdsprotected java.lang.Stringhostnameprotected java.lang.Stringidprotected booleanisTenantIdSetprotected java.lang.StringjobDefinitionConfigurationprotected java.lang.StringjobDefinitionIdprotected java.lang.StringjobDefinitionTypeprotected java.lang.StringjobExceptionMessageprotected java.lang.StringjobIdprotected java.lang.LongjobPriorityHigherThanOrEqualprotected java.lang.LongjobPriorityLowerThanOrEqualprotected java.lang.StringprocessDefinitionIdprotected java.lang.StringprocessDefinitionKeyprotected java.lang.StringprocessInstanceIdprotected JobStatestateprotected java.lang.String[]tenantIds- 
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
 - 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
- 
 - 
Constructor SummaryConstructors Constructor Description HistoricJobLogQueryImpl()HistoricJobLogQueryImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricJobLogQueryactivityIdIn(java.lang.String... activityIds)Only select historic job log entries which are associated with one of the given activity ids.HistoricJobLogQuerycreationLog()Only select created historic job log entries.HistoricJobLogQuerydeletionLog()Only select deleted historic job log entries.HistoricJobLogQuerydeploymentId(java.lang.String deploymentId)Only select historic job log entries with the deployment id.longexecuteCount(CommandContext commandContext)java.util.List<HistoricJobLog>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.HistoricJobLogQueryexecutionIdIn(java.lang.String... executionIds)Only select historic job log entries which are associated with one of the given execution ids.HistoricJobLogQueryfailedActivityIdIn(java.lang.String... activityIds)Only select historic job log entries which are associated with failures of one of the given activity ids.HistoricJobLogQueryfailureLog()Only select failed historic job log entries.java.lang.String[]getActivityIds()java.lang.StringgetDeploymentId()java.lang.String[]getExecutionIds()java.lang.String[]getFailedActivityIds()java.lang.StringgetHostname()java.lang.StringgetJobDefinitionConfiguration()java.lang.StringgetJobDefinitionId()java.lang.StringgetJobDefinitionType()java.lang.StringgetJobExceptionMessage()java.lang.StringgetJobId()java.lang.StringgetProcessDefinitionId()java.lang.StringgetProcessDefinitionKey()java.lang.StringgetProcessInstanceId()JobStategetState()java.lang.String[]getTenantIds()protected booleanhasExcludingConditions()Whether or not the query has excluding conditions.HistoricJobLogQueryhostname(java.lang.String hostname)Only selects historic job log entries that belong to the given host name.booleanisTenantIdSet()HistoricJobLogQueryjobDefinitionConfiguration(java.lang.String jobDefinitionConfiguration)Only select historic job log entries with the given job definition configuration type.HistoricJobLogQueryjobDefinitionId(java.lang.String jobDefinitionId)Only select historic job log entries with the given job definition id.HistoricJobLogQueryjobDefinitionType(java.lang.String jobDefinitionType)Only select historic job log entries with the given job definition type.HistoricJobLogQueryjobExceptionMessage(java.lang.String jobExceptionMessage)Only select historic job log entries with the given exception message.HistoricJobLogQueryjobId(java.lang.String jobId)Only select historic job log entries with the given job id.HistoricJobLogQueryjobPriorityHigherThanOrEquals(long priority)Only select log entries where the job had a priority higher than or equal to the given priority.HistoricJobLogQueryjobPriorityLowerThanOrEquals(long priority)Only select log entries where the job had a priority lower than or equal to the given priority.HistoricJobLogQuerylogId(java.lang.String historicJobLogId)Only select historic job log entries with the id.HistoricJobLogQueryorderByActivityId()Order by activity id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByHostname()Order by hostname (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByJobDefinitionId()Order by job definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByJobDueDate()Order by job due date (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByJobId()Order by job id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByJobPriority()Order by job priority (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByJobRetries()Order by job retries (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderByTimestamp()Order by timestamp (needs to be followed byQuery.asc()orQuery.desc()).HistoricJobLogQueryorderPartiallyByOccurrence()Sort thehistoric job logsin the order in which they occurred and needs to be followed byQuery.asc()orQuery.desc().HistoricJobLogQueryprocessDefinitionId(java.lang.String processDefinitionId)Only select historic job log entries with the process definition id.HistoricJobLogQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic job log entries with the process instance key.HistoricJobLogQueryprocessInstanceId(java.lang.String processInstanceId)Only select historic job log entries with the process instance id.protected voidsetState(JobState state)HistoricJobLogQuerysuccessLog()Only select historic job logs which belongs to asuccessfulexecuted job.HistoricJobLogQuerytenantIdIn(java.lang.String... tenantIds)Only select historic job log entries that belong to one of the given tenant ids.HistoricJobLogQuerywithoutTenantId()Only selects historic job log entries that have no tenant id.- 
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
 - 
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 - 
Methods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
 
- 
 
- 
- 
- 
Field Detail- 
idprotected java.lang.String id 
 - 
jobIdprotected java.lang.String jobId 
 - 
jobExceptionMessageprotected java.lang.String jobExceptionMessage 
 - 
jobDefinitionIdprotected java.lang.String jobDefinitionId 
 - 
jobDefinitionTypeprotected java.lang.String jobDefinitionType 
 - 
jobDefinitionConfigurationprotected java.lang.String jobDefinitionConfiguration 
 - 
activityIdsprotected java.lang.String[] activityIds 
 - 
failedActivityIdsprotected java.lang.String[] failedActivityIds 
 - 
executionIdsprotected java.lang.String[] executionIds 
 - 
processInstanceIdprotected java.lang.String processInstanceId 
 - 
processDefinitionIdprotected java.lang.String processDefinitionId 
 - 
processDefinitionKeyprotected java.lang.String processDefinitionKey 
 - 
deploymentIdprotected java.lang.String deploymentId 
 - 
stateprotected JobState state 
 - 
jobPriorityHigherThanOrEqualprotected java.lang.Long jobPriorityHigherThanOrEqual 
 - 
jobPriorityLowerThanOrEqualprotected java.lang.Long jobPriorityLowerThanOrEqual 
 - 
tenantIdsprotected java.lang.String[] tenantIds 
 - 
isTenantIdSetprotected boolean isTenantIdSet 
 - 
hostnameprotected java.lang.String hostname 
 
- 
 - 
Constructor Detail- 
HistoricJobLogQueryImplpublic HistoricJobLogQueryImpl() 
 - 
HistoricJobLogQueryImplpublic HistoricJobLogQueryImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
logIdpublic HistoricJobLogQuery logId(java.lang.String historicJobLogId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the id.- Specified by:
- logIdin interface- HistoricJobLogQuery
 
 - 
jobIdpublic HistoricJobLogQuery jobId(java.lang.String jobId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the given job id.- Specified by:
- jobIdin interface- HistoricJobLogQuery
 
 - 
jobExceptionMessagepublic HistoricJobLogQuery jobExceptionMessage(java.lang.String jobExceptionMessage) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the given exception message.- Specified by:
- jobExceptionMessagein interface- HistoricJobLogQuery
 
 - 
jobDefinitionIdpublic HistoricJobLogQuery jobDefinitionId(java.lang.String jobDefinitionId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the given job definition id.- Specified by:
- jobDefinitionIdin interface- HistoricJobLogQuery
 
 - 
jobDefinitionTypepublic HistoricJobLogQuery jobDefinitionType(java.lang.String jobDefinitionType) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the given job definition type.- Specified by:
- jobDefinitionTypein interface- HistoricJobLogQuery
 
 - 
jobDefinitionConfigurationpublic HistoricJobLogQuery jobDefinitionConfiguration(java.lang.String jobDefinitionConfiguration) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the given job definition configuration type.- Specified by:
- jobDefinitionConfigurationin interface- HistoricJobLogQuery
 
 - 
activityIdInpublic HistoricJobLogQuery activityIdIn(java.lang.String... activityIds) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries which are associated with one of the given activity ids.- Specified by:
- activityIdInin interface- HistoricJobLogQuery
 
 - 
failedActivityIdInpublic HistoricJobLogQuery failedActivityIdIn(java.lang.String... activityIds) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries which are associated with failures of one of the given activity ids.- Specified by:
- failedActivityIdInin interface- HistoricJobLogQuery
 
 - 
executionIdInpublic HistoricJobLogQuery executionIdIn(java.lang.String... executionIds) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries which are associated with one of the given execution ids.- Specified by:
- executionIdInin interface- HistoricJobLogQuery
 
 - 
processInstanceIdpublic HistoricJobLogQuery processInstanceId(java.lang.String processInstanceId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the process instance id.- Specified by:
- processInstanceIdin interface- HistoricJobLogQuery
 
 - 
processDefinitionIdpublic HistoricJobLogQuery processDefinitionId(java.lang.String processDefinitionId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the process definition id.- Specified by:
- processDefinitionIdin interface- HistoricJobLogQuery
 
 - 
processDefinitionKeypublic HistoricJobLogQuery processDefinitionKey(java.lang.String processDefinitionKey) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the process instance key.- Specified by:
- processDefinitionKeyin interface- HistoricJobLogQuery
 
 - 
deploymentIdpublic HistoricJobLogQuery deploymentId(java.lang.String deploymentId) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries with the deployment id.- Specified by:
- deploymentIdin interface- HistoricJobLogQuery
 
 - 
jobPriorityHigherThanOrEqualspublic HistoricJobLogQuery jobPriorityHigherThanOrEquals(long priority) Description copied from interface:HistoricJobLogQueryOnly select log entries where the job had a priority higher than or equal to the given priority.- Specified by:
- jobPriorityHigherThanOrEqualsin interface- HistoricJobLogQuery
 
 - 
jobPriorityLowerThanOrEqualspublic HistoricJobLogQuery jobPriorityLowerThanOrEquals(long priority) Description copied from interface:HistoricJobLogQueryOnly select log entries where the job had a priority lower than or equal to the given priority.- Specified by:
- jobPriorityLowerThanOrEqualsin interface- HistoricJobLogQuery
 
 - 
tenantIdInpublic HistoricJobLogQuery tenantIdIn(java.lang.String... tenantIds) Description copied from interface:HistoricJobLogQueryOnly select historic job log entries that belong to one of the given tenant ids.- Specified by:
- tenantIdInin interface- HistoricJobLogQuery
 
 - 
withoutTenantIdpublic HistoricJobLogQuery withoutTenantId() Description copied from interface:HistoricJobLogQueryOnly selects historic job log entries that have no tenant id.- Specified by:
- withoutTenantIdin interface- HistoricJobLogQuery
 
 - 
hostnamepublic HistoricJobLogQuery hostname(java.lang.String hostname) Description copied from interface:HistoricJobLogQueryOnly selects historic job log entries that belong to the given host name.- Specified by:
- hostnamein interface- HistoricJobLogQuery
 
 - 
creationLogpublic HistoricJobLogQuery creationLog() Description copied from interface:HistoricJobLogQueryOnly select created historic job log entries.- Specified by:
- creationLogin interface- HistoricJobLogQuery
 
 - 
failureLogpublic HistoricJobLogQuery failureLog() Description copied from interface:HistoricJobLogQueryOnly select failed historic job log entries.- Specified by:
- failureLogin interface- HistoricJobLogQuery
 
 - 
successLogpublic HistoricJobLogQuery successLog() Description copied from interface:HistoricJobLogQueryOnly select historic job logs which belongs to asuccessfulexecuted job.- Specified by:
- successLogin interface- HistoricJobLogQuery
 
 - 
deletionLogpublic HistoricJobLogQuery deletionLog() Description copied from interface:HistoricJobLogQueryOnly select deleted historic job log entries.- Specified by:
- deletionLogin interface- HistoricJobLogQuery
 
 - 
hasExcludingConditionsprotected boolean hasExcludingConditions() Description copied from class:AbstractQueryWhether or not the query has excluding conditions. If the query has excluding conditions, (e.g. task due date before and after are excluding), the SQL query is avoided and a default result is returned. The returned result is the same as if the SQL was executed and there were no entries.- Overrides:
- hasExcludingConditionsin class- AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
- Returns:
- trueif the query does have excluding conditions,- falseotherwise
 
 - 
orderByTimestamppublic HistoricJobLogQuery orderByTimestamp() Description copied from interface:HistoricJobLogQueryOrder by timestamp (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTimestampin interface- HistoricJobLogQuery
 
 - 
orderByJobIdpublic HistoricJobLogQuery orderByJobId() Description copied from interface:HistoricJobLogQueryOrder by job id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByJobIdin interface- HistoricJobLogQuery
 
 - 
orderByJobDueDatepublic HistoricJobLogQuery orderByJobDueDate() Description copied from interface:HistoricJobLogQueryOrder by job due date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByJobDueDatein interface- HistoricJobLogQuery
 
 - 
orderByJobRetriespublic HistoricJobLogQuery orderByJobRetries() Description copied from interface:HistoricJobLogQueryOrder by job retries (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByJobRetriesin interface- HistoricJobLogQuery
 
 - 
orderByJobPrioritypublic HistoricJobLogQuery orderByJobPriority() Description copied from interface:HistoricJobLogQueryOrder by job priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByJobPriorityin interface- HistoricJobLogQuery
 
 - 
orderByJobDefinitionIdpublic HistoricJobLogQuery orderByJobDefinitionId() Description copied from interface:HistoricJobLogQueryOrder by job definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByJobDefinitionIdin interface- HistoricJobLogQuery
 
 - 
orderByActivityIdpublic HistoricJobLogQuery orderByActivityId() Description copied from interface:HistoricJobLogQueryOrder by activity id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByActivityIdin interface- HistoricJobLogQuery
 
 - 
orderByExecutionIdpublic HistoricJobLogQuery orderByExecutionId() Description copied from interface:HistoricJobLogQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByExecutionIdin interface- HistoricJobLogQuery
 
 - 
orderByProcessInstanceIdpublic HistoricJobLogQuery orderByProcessInstanceId() Description copied from interface:HistoricJobLogQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessInstanceIdin interface- HistoricJobLogQuery
 
 - 
orderByProcessDefinitionIdpublic HistoricJobLogQuery orderByProcessDefinitionId() Description copied from interface:HistoricJobLogQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessDefinitionIdin interface- HistoricJobLogQuery
 
 - 
orderByProcessDefinitionKeypublic HistoricJobLogQuery orderByProcessDefinitionKey() Description copied from interface:HistoricJobLogQueryOrder by process definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByProcessDefinitionKeyin interface- HistoricJobLogQuery
 
 - 
orderByDeploymentIdpublic HistoricJobLogQuery orderByDeploymentId() Description copied from interface:HistoricJobLogQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByDeploymentIdin interface- HistoricJobLogQuery
 
 - 
orderPartiallyByOccurrencepublic HistoricJobLogQuery orderPartiallyByOccurrence() Description copied from interface:HistoricJobLogQuerySort the historic job logsin the order in which they occurred and needs to be followed byQuery.asc()orQuery.desc().The set of all historic job logsis a partially ordered set. Due to this facthistoric job logswith differentjob idsare incomparable. Onlyhistoric job logswith the samejob idcan be totally ordered by usingHistoricJobLogQuery.jobId(String)andHistoricJobLogQuery.orderPartiallyByOccurrence()which will return a result set ordered by its occurrence.- Specified by:
- orderPartiallyByOccurrencein interface- HistoricJobLogQuery
 
 - 
orderByTenantIdpublic HistoricJobLogQuery orderByTenantId() Description copied from interface:HistoricJobLogQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of job log entries without tenant id is database-specific.- Specified by:
- orderByTenantIdin interface- HistoricJobLogQuery
 
 - 
orderByHostnamepublic HistoricJobLogQuery orderByHostname() Description copied from interface:HistoricJobLogQueryOrder by hostname (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of job log entries without hostname is database-specific.- Specified by:
- orderByHostnamein interface- HistoricJobLogQuery
 
 - 
executeCountpublic long executeCount(CommandContext commandContext) - Specified by:
- executeCountin class- AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
 
 - 
executeListpublic java.util.List<HistoricJobLog> executeList(CommandContext commandContext, Page page) Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
- executeListin class- AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
- page- used if the results must be paged. If null, no paging will be applied.
 
 - 
isTenantIdSetpublic boolean isTenantIdSet() 
 - 
getJobIdpublic java.lang.String getJobId() 
 - 
getJobExceptionMessagepublic java.lang.String getJobExceptionMessage() 
 - 
getJobDefinitionIdpublic java.lang.String getJobDefinitionId() 
 - 
getJobDefinitionTypepublic java.lang.String getJobDefinitionType() 
 - 
getJobDefinitionConfigurationpublic java.lang.String getJobDefinitionConfiguration() 
 - 
getActivityIdspublic java.lang.String[] getActivityIds() 
 - 
getFailedActivityIdspublic java.lang.String[] getFailedActivityIds() 
 - 
getExecutionIdspublic java.lang.String[] getExecutionIds() 
 - 
getProcessInstanceIdpublic java.lang.String getProcessInstanceId() 
 - 
getProcessDefinitionIdpublic java.lang.String getProcessDefinitionId() 
 - 
getProcessDefinitionKeypublic java.lang.String getProcessDefinitionKey() 
 - 
getDeploymentIdpublic java.lang.String getDeploymentId() 
 - 
getStatepublic JobState getState() 
 - 
getTenantIdspublic java.lang.String[] getTenantIds() 
 - 
getHostnamepublic java.lang.String getHostname() 
 - 
setStateprotected void setState(JobState state) 
 
- 
 
-