Class HistoricJobLogQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricJobLogQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricJobLogQueryDto
-
public class HistoricJobLogQueryDto extends AbstractQueryDto<HistoricJobLogQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
activityIds
protected java.lang.Boolean
creationLog
protected java.lang.Boolean
deletionLog
protected java.lang.String
deploymentId
protected java.lang.String[]
executionIds
protected java.lang.String[]
failedActivityIds
protected java.lang.Boolean
failureLog
protected java.lang.String
hostname
protected java.lang.String
id
protected java.lang.String
jobDefinitionConfiguration
protected java.lang.String
jobDefinitionId
protected java.lang.String
jobDefinitionType
protected java.lang.String
jobExceptionMessage
protected java.lang.String
jobId
protected java.lang.Long
jobPriorityHigherThanOrEquals
protected java.lang.Long
jobPriorityLowerThanOrEquals
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String
processInstanceId
protected static java.lang.String
SORT_BY_ACTIVITY_ID
protected static java.lang.String
SORT_BY_DEPLOYMENT_ID
protected static java.lang.String
SORT_BY_EXECUTION_ID
protected static java.lang.String
SORT_BY_HOSTNAME
protected static java.lang.String
SORT_BY_JOB_DEFINITION_ID
protected static java.lang.String
SORT_BY_JOB_DUE_DATE
protected static java.lang.String
SORT_BY_JOB_ID
protected static java.lang.String
SORT_BY_JOB_PRIORITY
protected static java.lang.String
SORT_BY_JOB_RETRIES
protected static java.lang.String
SORT_BY_PROCESS_DEFINITION_ID
protected static java.lang.String
SORT_BY_PROCESS_DEFINITION_KEY
protected static java.lang.String
SORT_BY_PROCESS_INSTANCE_ID
protected static java.lang.String
SORT_BY_TENANT_ID
protected static java.lang.String
SORT_BY_TIMESTAMP
protected static java.lang.String
SORT_PARTIALLY_BY_OCCURRENCE
protected java.lang.Boolean
successLog
protected java.util.List<java.lang.String>
tenantIds
protected static java.util.List<java.lang.String>
VALID_SORT_BY_VALUES
protected java.lang.Boolean
withoutTenantId
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
-
Constructor Summary
Constructors Constructor Description HistoricJobLogQueryDto()
HistoricJobLogQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(HistoricJobLogQuery query)
protected void
applySortBy(HistoricJobLogQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricJobLogQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActivityIdIn(java.lang.String[] activityIds)
void
setCreationLog(java.lang.Boolean creationLog)
void
setDeletionLog(java.lang.Boolean deletionLog)
void
setDeploymentId(java.lang.String deploymentId)
void
setExecutionIdIn(java.lang.String[] executionIds)
void
setFailedActivityIdIn(java.lang.String[] activityIds)
void
setFailureLog(java.lang.Boolean failureLog)
void
setHostname(java.lang.String hostname)
void
setJobDefinitionConfiguration(java.lang.String jobDefinitionConfiguration)
void
setJobDefinitionId(java.lang.String jobDefinitionId)
void
setJobDefinitionType(java.lang.String jobDefinitionType)
void
setJobExceptionMessage(java.lang.String jobExceptionMessage)
void
setJobId(java.lang.String jobId)
void
setJobPriorityHigherThanOrEquals(java.lang.Long jobPriorityHigherThanOrEquals)
void
setJobPriorityLowerThanOrEquals(java.lang.Long jobPriorityLowerThanOrEquals)
void
setLogId(java.lang.String id)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setSuccessLog(java.lang.Boolean successLog)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
-
-
-
Field Detail
-
SORT_BY_TIMESTAMP
protected static final java.lang.String SORT_BY_TIMESTAMP
- See Also:
- Constant Field Values
-
SORT_BY_JOB_ID
protected static final java.lang.String SORT_BY_JOB_ID
- See Also:
- Constant Field Values
-
SORT_BY_JOB_DUE_DATE
protected static final java.lang.String SORT_BY_JOB_DUE_DATE
- See Also:
- Constant Field Values
-
SORT_BY_JOB_RETRIES
protected static final java.lang.String SORT_BY_JOB_RETRIES
- See Also:
- Constant Field Values
-
SORT_BY_JOB_PRIORITY
protected static final java.lang.String SORT_BY_JOB_PRIORITY
- See Also:
- Constant Field Values
-
SORT_BY_JOB_DEFINITION_ID
protected static final java.lang.String SORT_BY_JOB_DEFINITION_ID
- See Also:
- Constant Field Values
-
SORT_BY_ACTIVITY_ID
protected static final java.lang.String SORT_BY_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SORT_BY_EXECUTION_ID
protected static final java.lang.String SORT_BY_EXECUTION_ID
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_INSTANCE_ID
protected static final java.lang.String SORT_BY_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_DEFINITION_ID
protected static final java.lang.String SORT_BY_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_DEFINITION_KEY
protected static final java.lang.String SORT_BY_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SORT_BY_DEPLOYMENT_ID
protected static final java.lang.String SORT_BY_DEPLOYMENT_ID
- See Also:
- Constant Field Values
-
SORT_PARTIALLY_BY_OCCURRENCE
protected static final java.lang.String SORT_PARTIALLY_BY_OCCURRENCE
- See Also:
- Constant Field Values
-
SORT_BY_TENANT_ID
protected static final java.lang.String SORT_BY_TENANT_ID
- See Also:
- Constant Field Values
-
SORT_BY_HOSTNAME
protected static final java.lang.String SORT_BY_HOSTNAME
- See Also:
- Constant Field Values
-
VALID_SORT_BY_VALUES
protected static final java.util.List<java.lang.String> VALID_SORT_BY_VALUES
-
id
protected java.lang.String id
-
jobId
protected java.lang.String jobId
-
jobExceptionMessage
protected java.lang.String jobExceptionMessage
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
jobDefinitionType
protected java.lang.String jobDefinitionType
-
jobDefinitionConfiguration
protected java.lang.String jobDefinitionConfiguration
-
activityIds
protected java.lang.String[] activityIds
-
failedActivityIds
protected java.lang.String[] failedActivityIds
-
executionIds
protected java.lang.String[] executionIds
-
processInstanceId
protected java.lang.String processInstanceId
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
deploymentId
protected java.lang.String deploymentId
-
creationLog
protected java.lang.Boolean creationLog
-
failureLog
protected java.lang.Boolean failureLog
-
successLog
protected java.lang.Boolean successLog
-
deletionLog
protected java.lang.Boolean deletionLog
-
jobPriorityHigherThanOrEquals
protected java.lang.Long jobPriorityHigherThanOrEquals
-
jobPriorityLowerThanOrEquals
protected java.lang.Long jobPriorityLowerThanOrEquals
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
hostname
protected java.lang.String hostname
-
-
Method Detail
-
setLogId
public void setLogId(java.lang.String id)
-
setJobId
public void setJobId(java.lang.String jobId)
-
setJobExceptionMessage
public void setJobExceptionMessage(java.lang.String jobExceptionMessage)
-
setJobDefinitionId
public void setJobDefinitionId(java.lang.String jobDefinitionId)
-
setJobDefinitionType
public void setJobDefinitionType(java.lang.String jobDefinitionType)
-
setJobDefinitionConfiguration
public void setJobDefinitionConfiguration(java.lang.String jobDefinitionConfiguration)
-
setActivityIdIn
public void setActivityIdIn(java.lang.String[] activityIds)
-
setFailedActivityIdIn
public void setFailedActivityIdIn(java.lang.String[] activityIds)
-
setExecutionIdIn
public void setExecutionIdIn(java.lang.String[] executionIds)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
-
setCreationLog
public void setCreationLog(java.lang.Boolean creationLog)
-
setFailureLog
public void setFailureLog(java.lang.Boolean failureLog)
-
setSuccessLog
public void setSuccessLog(java.lang.Boolean successLog)
-
setDeletionLog
public void setDeletionLog(java.lang.Boolean deletionLog)
-
setJobPriorityHigherThanOrEquals
public void setJobPriorityHigherThanOrEquals(java.lang.Long jobPriorityHigherThanOrEquals)
-
setJobPriorityLowerThanOrEquals
public void setJobPriorityLowerThanOrEquals(java.lang.Long jobPriorityLowerThanOrEquals)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setHostname
public void setHostname(java.lang.String hostname)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricJobLogQuery>
-
createNewQuery
protected HistoricJobLogQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricJobLogQuery>
-
applyFilters
protected void applyFilters(HistoricJobLogQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricJobLogQuery>
-
applySortBy
protected void applySortBy(HistoricJobLogQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricJobLogQuery>
-
-