Examples of VariableQueryParameterDto


Examples of org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto

      String[] valueTriple = expression.split(ATTRIBUTE_DELIMITER);
      if (valueTriple.length != 3) {
        throw new InvalidRequestException(Status.BAD_REQUEST, "variable query parameter has to have format KEY_OPERATOR_VALUE.");
      }

      VariableQueryParameterDto queryVariable = new VariableQueryParameterDto();
      queryVariable.setName(valueTriple[0]);
      queryVariable.setOperator(valueTriple[1]);
      queryVariable.setValue(valueTriple[2]);

      queryVariables.add(queryVariable);
    }

    return queryVariables;
View Full Code Here

Examples of org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto

    dto.processVariables = new ArrayList<VariableQueryParameterDto>();
    dto.taskVariables = new ArrayList<VariableQueryParameterDto>();
    dto.caseInstanceVariables = new ArrayList<VariableQueryParameterDto>();
    for (TaskQueryVariableValue variableValue : taskQuery.getVariables()) {
      VariableQueryParameterDto variableValueDto = new VariableQueryParameterDto(variableValue);

      if (variableValue.isProcessInstanceVariable()) {
        dto.processVariables.add(variableValueDto);
      } else if (variableValue.isLocal()) {
        dto.taskVariables.add(variableValueDto);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.