Class AbstractProcessInstanceQueryDto<T extends ProcessInstanceDto>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.cockpit.db.QueryParameters
-
- org.camunda.bpm.cockpit.rest.dto.AbstractRestQueryParametersDto<T>
-
- org.camunda.bpm.cockpit.impl.plugin.base.dto.query.AbstractProcessInstanceQueryDto<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CalledProcessInstanceQueryDto
,ProcessInstanceQueryDto
public abstract class AbstractProcessInstanceQueryDto<T extends ProcessInstanceDto> extends AbstractRestQueryParametersDto<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
activityIdIn
protected String[]
activityInstanceIdIn
protected String
businessKey
protected String
parentProcessDefinitionId
protected String
parentProcessInstanceId
protected String
processDefinitionId
protected Date
startedAfter
protected Date
startedBefore
protected Boolean
withIncident
-
Fields inherited from class org.camunda.bpm.cockpit.rest.dto.AbstractRestQueryParametersDto
DEFAULT_ORDER, objectMapper, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortOrder
-
Fields inherited from class org.camunda.bpm.cockpit.db.QueryParameters
historyEnabled, maxResultsLimitEnabled
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessInstanceQueryDto()
AbstractProcessInstanceQueryDto(javax.ws.rs.core.MultivaluedMap<String,String> queryParameter)
-
Method Summary
-
Methods inherited from class org.camunda.bpm.cockpit.rest.dto.AbstractRestQueryParametersDto
getInternalOrderBy, getOrderBy, resolveVariableValue, setObjectMapper, setSortBy, setSortOrder, setValueBasedOnAnnotation, sortOptionsValid
-
Methods inherited from class org.camunda.bpm.cockpit.db.QueryParameters
disableMaxResultsLimit, isHistoryEnabled, isMaxResultsLimitEnabled, setHistoryEnabled
-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
-
-
-
Field Detail
-
processDefinitionId
protected String processDefinitionId
-
parentProcessDefinitionId
protected String parentProcessDefinitionId
-
activityIdIn
protected String[] activityIdIn
-
activityInstanceIdIn
protected String[] activityInstanceIdIn
-
businessKey
protected String businessKey
-
parentProcessInstanceId
protected String parentProcessInstanceId
-
startedBefore
protected Date startedBefore
-
startedAfter
protected Date startedAfter
-
withIncident
protected Boolean withIncident
-
-
Method Detail
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
getParentProcessDefinitionId
public String getParentProcessDefinitionId()
-
setParentProcessDefinitionId
public void setParentProcessDefinitionId(String parentProcessDefinitionId)
-
setVariables
public void setVariables(List<VariableQueryParameterDto> variables)
-
getQueryVariableValues
public List<QueryVariableValue> getQueryVariableValues()
-
initQueryVariableValues
public void initQueryVariableValues(VariableSerializers variableTypes, String dbType)
-
getParentProcessInstanceId
public String getParentProcessInstanceId()
-
setParentProcessInstanceId
public void setParentProcessInstanceId(String parentProcessInstanceId)
-
getActivityIdIn
public String[] getActivityIdIn()
-
setActivityIdIn
public void setActivityIdIn(String[] activityIdIn)
-
getActivityInstanceIdIn
public String[] getActivityInstanceIdIn()
-
setActivityInstanceIdIn
public void setActivityInstanceIdIn(String[] activityInstanceIdIn)
-
getBusinessKey
public String getBusinessKey()
-
setBusinessKey
public void setBusinessKey(String businessKey)
-
getStartedBefore
public Date getStartedBefore()
-
setStartedBefore
public void setStartedBefore(Date startedBefore)
-
getStartedAfter
public Date getStartedAfter()
-
setStartedAfter
public void setStartedAfter(Date startedAfter)
-
getWithIncident
public Boolean getWithIncident()
-
setWithIncident
public void setWithIncident(Boolean withIncident)
-
getOrderByValue
protected String getOrderByValue(String sortBy)
- Specified by:
getOrderByValue
in classAbstractRestQueryParametersDto<T extends ProcessInstanceDto>
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractRestQueryParametersDto<T extends ProcessInstanceDto>
-
getOuterOrderBy
public String getOuterOrderBy()
-
-