org.camunda.bpm.cockpit.impl.plugin.base.dto.query
Class AbstractProcessInstanceQueryDto<T extends ProcessInstanceDto>

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.ListQueryParameterObject
      extended by org.camunda.bpm.cockpit.db.QueryParameters<T>
          extended by org.camunda.bpm.cockpit.rest.dto.AbstractRestQueryParametersDto<T>
              extended by 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
protected  String[] activityIdIn
           
protected  String[] activityInstanceIdIn
           
protected  String businessKey
           
protected  String parentProcessDefinitionId
           
protected  String parentProcessInstanceId
           
protected  String processDefinitionId
           
protected  Date startedAfter
           
protected  Date startedBefore
           
 
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
 
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
 
Constructor Summary
AbstractProcessInstanceQueryDto()
           
AbstractProcessInstanceQueryDto(javax.ws.rs.core.MultivaluedMap<String,String> queryParameter)
           
 
Method Summary
 String[] getActivityIdIn()
           
 String[] getActivityInstanceIdIn()
           
 String getBusinessKey()
           
protected  String getOrderByValue(String sortBy)
           
 String getOuterOrderBy()
           
 String getParentProcessDefinitionId()
           
 String getParentProcessInstanceId()
           
 String getProcessDefinitionId()
           
 List<org.camunda.bpm.engine.impl.QueryVariableValue> getQueryVariableValues()
           
 Date getStartedAfter()
           
 Date getStartedBefore()
           
 void initQueryVariableValues(org.camunda.bpm.engine.impl.variable.serializer.VariableSerializers variableTypes)
           
protected  boolean isValidSortByValue(String value)
           
 void setActivityIdIn(String[] activityIdIn)
           
 void setActivityInstanceIdIn(String[] activityInstanceIdIn)
           
 void setBusinessKey(String businessKey)
           
 void setParentProcessDefinitionId(String parentProcessDefinitionId)
           
 void setParentProcessInstanceId(String parentProcessInstanceId)
           
 void setProcessDefinitionId(String processDefinitionId)
           
 void setStartedAfter(Date startedAfter)
           
 void setStartedBefore(Date startedBefore)
           
 void setVariables(List<org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto> variables)
           
 
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
isHistoryEnabled, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

AbstractProcessInstanceQueryDto

public AbstractProcessInstanceQueryDto()

AbstractProcessInstanceQueryDto

public AbstractProcessInstanceQueryDto(javax.ws.rs.core.MultivaluedMap<String,String> queryParameter)
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<org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto> variables)

getQueryVariableValues

public List<org.camunda.bpm.engine.impl.QueryVariableValue> getQueryVariableValues()

initQueryVariableValues

public void initQueryVariableValues(org.camunda.bpm.engine.impl.variable.serializer.VariableSerializers variableTypes)

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)

getOrderByValue

protected String getOrderByValue(String sortBy)
Specified by:
getOrderByValue in class AbstractRestQueryParametersDto<T extends ProcessInstanceDto>

isValidSortByValue

protected boolean isValidSortByValue(String value)
Specified by:
isValidSortByValue in class AbstractRestQueryParametersDto<T extends ProcessInstanceDto>

getOuterOrderBy

public String getOuterOrderBy()


Copyright © 2018 camunda services GmbH. All rights reserved.