Package org.camunda.bpm.engine.rest.dto

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


    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

Related Classes of org.camunda.bpm.engine.rest.dto.VariableQueryParameterDto

Copyright © 2018 www.massapicom. 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.