Class HistoricActivityInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricActivityInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricActivityInstanceQueryDto
-
public class HistoricActivityInstanceQueryDto extends AbstractQueryDto<HistoricActivityInstanceQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
activityId
protected java.lang.String
activityInstanceId
protected java.lang.String
activityName
protected java.lang.String
activityNameLike
protected java.lang.String
activityType
protected java.lang.Boolean
canceled
protected java.lang.Boolean
completeScope
protected java.lang.String
executionId
protected java.lang.Boolean
finished
protected java.util.Date
finishedAfter
protected java.util.Date
finishedBefore
protected java.lang.String
processDefinitionId
protected java.lang.String
processInstanceId
protected static java.lang.String
SORT_BY_ACTIVITY_ID_VALUE
protected static java.lang.String
SORT_BY_ACTIVITY_NAME_VALUE
protected static java.lang.String
SORT_BY_ACTIVITY_TYPE_VALUE
protected static java.lang.String
SORT_BY_EXECUTION_ID_VALUE
protected static java.lang.String
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_DURATION_VALUE
protected static java.lang.String
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_END_TIME_VALUE
protected static java.lang.String
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_ID_VALUE
protected static java.lang.String
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_START_TIME_VALUE
protected static java.lang.String
SORT_BY_PROCESS_DEFINITION_ID_VALUE
protected static java.lang.String
SORT_BY_PROCESS_INSTANCE_ID_VALUE
protected static java.lang.String
SORT_BY_TENANT_ID
protected static java.lang.String
SORT_PARTIALLY_BY_OCCURRENCE
protected java.util.Date
startedAfter
protected java.util.Date
startedBefore
protected java.lang.String
taskAssignee
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Boolean
unfinished
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 HistoricActivityInstanceQueryDto()
HistoricActivityInstanceQueryDto(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(HistoricActivityInstanceQuery query)
protected void
applySortBy(HistoricActivityInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricActivityInstanceQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActivityId(java.lang.String activityId)
void
setActivityInstanceId(java.lang.String activityInstanceId)
void
setActivityName(java.lang.String activityName)
void
setActivityNameLike(java.lang.String activityNameLike)
void
setActivityType(java.lang.String activityType)
void
setCanceled(java.lang.Boolean canceled)
void
setCompleteScope(java.lang.Boolean completeScope)
void
setExecutionId(java.lang.String executionId)
void
setFinished(java.lang.Boolean finished)
void
setFinishedAfter(java.util.Date finishedAfter)
void
setFinishedBefore(java.util.Date finishedBefore)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setStartedAfter(java.util.Date startedAfter)
void
setStartedBefore(java.util.Date startedBefore)
void
setTaskAssignee(java.lang.String taskAssignee)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setUnfinished(java.lang.Boolean unfinished)
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_HISTORIC_ACTIVITY_INSTANCE_ID_VALUE
protected static final java.lang.String SORT_BY_HISTORIC_ACTIVITY_INSTANCE_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_INSTANCE_ID_VALUE
protected static final java.lang.String SORT_BY_PROCESS_INSTANCE_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_EXECUTION_ID_VALUE
protected static final java.lang.String SORT_BY_EXECUTION_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_ACTIVITY_ID_VALUE
protected static final java.lang.String SORT_BY_ACTIVITY_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_ACTIVITY_NAME_VALUE
protected static final java.lang.String SORT_BY_ACTIVITY_NAME_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_ACTIVITY_TYPE_VALUE
protected static final java.lang.String SORT_BY_ACTIVITY_TYPE_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_START_TIME_VALUE
protected static final java.lang.String SORT_BY_HISTORIC_ACTIVITY_INSTANCE_START_TIME_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_END_TIME_VALUE
protected static final java.lang.String SORT_BY_HISTORIC_ACTIVITY_INSTANCE_END_TIME_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_HISTORIC_ACTIVITY_INSTANCE_DURATION_VALUE
protected static final java.lang.String SORT_BY_HISTORIC_ACTIVITY_INSTANCE_DURATION_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_DEFINITION_ID_VALUE
protected static final java.lang.String SORT_BY_PROCESS_DEFINITION_ID_VALUE
- 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
-
VALID_SORT_BY_VALUES
protected static final java.util.List<java.lang.String> VALID_SORT_BY_VALUES
-
activityInstanceId
protected java.lang.String activityInstanceId
-
processInstanceId
protected java.lang.String processInstanceId
-
processDefinitionId
protected java.lang.String processDefinitionId
-
executionId
protected java.lang.String executionId
-
activityId
protected java.lang.String activityId
-
activityName
protected java.lang.String activityName
-
activityNameLike
protected java.lang.String activityNameLike
-
activityType
protected java.lang.String activityType
-
taskAssignee
protected java.lang.String taskAssignee
-
finished
protected java.lang.Boolean finished
-
unfinished
protected java.lang.Boolean unfinished
-
completeScope
protected java.lang.Boolean completeScope
-
canceled
protected java.lang.Boolean canceled
-
startedBefore
protected java.util.Date startedBefore
-
startedAfter
protected java.util.Date startedAfter
-
finishedBefore
protected java.util.Date finishedBefore
-
finishedAfter
protected java.util.Date finishedAfter
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
-
Constructor Detail
-
HistoricActivityInstanceQueryDto
public HistoricActivityInstanceQueryDto()
-
HistoricActivityInstanceQueryDto
public HistoricActivityInstanceQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
-
Method Detail
-
setActivityInstanceId
public void setActivityInstanceId(java.lang.String activityInstanceId)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
setActivityName
public void setActivityName(java.lang.String activityName)
-
setActivityNameLike
public void setActivityNameLike(java.lang.String activityNameLike)
-
setActivityType
public void setActivityType(java.lang.String activityType)
-
setTaskAssignee
public void setTaskAssignee(java.lang.String taskAssignee)
-
setFinished
public void setFinished(java.lang.Boolean finished)
-
setUnfinished
public void setUnfinished(java.lang.Boolean unfinished)
-
setCompleteScope
public void setCompleteScope(java.lang.Boolean completeScope)
-
setCanceled
public void setCanceled(java.lang.Boolean canceled)
-
setStartedBefore
public void setStartedBefore(java.util.Date startedBefore)
-
setStartedAfter
public void setStartedAfter(java.util.Date startedAfter)
-
setFinishedBefore
public void setFinishedBefore(java.util.Date finishedBefore)
-
setFinishedAfter
public void setFinishedAfter(java.util.Date finishedAfter)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricActivityInstanceQuery>
-
createNewQuery
protected HistoricActivityInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricActivityInstanceQuery>
-
applyFilters
protected void applyFilters(HistoricActivityInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricActivityInstanceQuery>
-
applySortBy
protected void applySortBy(HistoricActivityInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricActivityInstanceQuery>
-
-