Examples of caseDefinitionName()


Examples of org.camunda.bpm.engine.history.HistoricTaskInstanceQuery.caseDefinitionName()

      .manualStart();

    // then
    HistoricTaskInstanceQuery query = historyService.createHistoricTaskInstanceQuery();

    query.caseDefinitionName(caseDefinitionName);

    assertEquals(1, query.count());
    assertEquals(1, query.list().size());
    assertNotNull(query.singleResult());
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricTaskInstanceQuery.caseDefinitionName()

  }

  public void testQueryByInvalidCaseDefinitionName() {
    HistoricTaskInstanceQuery query = historyService.createHistoricTaskInstanceQuery();

    query.caseDefinitionName("invalid");

    assertEquals(0, query.count());
    assertEquals(0, query.list().size());
    assertNull(query.singleResult());
View Full Code Here

Examples of org.camunda.bpm.engine.history.HistoricTaskInstanceQuery.caseDefinitionName()

    assertEquals(0, query.count());
    assertEquals(0, query.list().size());
    assertNull(query.singleResult());

    query.caseDefinitionName(null);

    assertEquals(0, query.count());
    assertEquals(0, query.list().size());
    assertNull(query.singleResult());
View Full Code Here

Examples of org.camunda.bpm.engine.impl.TaskQueryImpl.caseDefinitionName()

    query.followUpAfterExpression(testString);
    query.excludeSubtasks();
    query.suspended();
    query.caseDefinitionKey(testString);
    query.caseDefinitionId(testString);
    query.caseDefinitionName(testString);
    query.caseDefinitionNameLike(testString);
    query.caseInstanceId(testString);
    query.caseInstanceBusinessKey(testString);
    query.caseInstanceBusinessKeyLike(testString);
    query.caseExecutionId(testString);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.TaskQueryImpl.caseDefinitionName()

    }
    if (json.has(CASE_DEFINITION_ID)) {
      query.caseDefinitionId(json.getString(CASE_DEFINITION_ID));
    }
    if (json.has(CASE_DEFINITION_NAME)) {
      query.caseDefinitionName(json.getString(CASE_DEFINITION_NAME));
    }
    if (json.has(CASE_DEFINITION_NAME_LIKE)) {
      query.caseDefinitionNameLike(json.getString(CASE_DEFINITION_NAME_LIKE));
    }
    if (json.has(CASE_INSTANCE_ID)) {
View Full Code Here

Examples of org.camunda.bpm.engine.impl.TaskQueryImpl.caseDefinitionName()

    }
    if (json.has(CASE_DEFINITION_ID)) {
      query.caseDefinitionId(json.getString(CASE_DEFINITION_ID));
    }
    if (json.has(CASE_DEFINITION_NAME)) {
      query.caseDefinitionName(json.getString(CASE_DEFINITION_NAME));
    }
    if (json.has(CASE_DEFINITION_NAME_LIKE)) {
      query.caseDefinitionNameLike(json.getString(CASE_DEFINITION_NAME_LIKE));
    }
    if (json.has(CASE_INSTANCE_ID)) {
View Full Code Here

Examples of org.camunda.bpm.engine.repository.CaseDefinitionQuery.caseDefinitionName()

  }

  public void testQueryByName() {
    CaseDefinitionQuery query = repositoryService.createCaseDefinitionQuery();

    query
      .caseDefinitionName("Two");

    verifyQueryResults(query, 1);

    query
View Full Code Here

Examples of org.camunda.bpm.engine.repository.CaseDefinitionQuery.caseDefinitionName()

    query
      .caseDefinitionName("Two");

    verifyQueryResults(query, 1);

    query
      .caseDefinitionName("One");

    verifyQueryResults(query, 2);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.repository.CaseDefinitionQuery.caseDefinitionName()

  }

  public void testQueryByInvalidName() {
    CaseDefinitionQuery query = repositoryService.createCaseDefinitionQuery();

    query
      .caseDefinitionName("invalid");

    verifyQueryResults(query, 0);

    try {
View Full Code Here

Examples of org.camunda.bpm.engine.repository.CaseDefinitionQuery.caseDefinitionName()

      .caseDefinitionName("invalid");

    verifyQueryResults(query, 0);

    try {
      query.caseDefinitionName(null);
      fail();
    } catch (NotValidException e) {}
  }

  public void testQueryByNameLike() {
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.