Examples of parentId()


Examples of com.zesped.model.Employee.parentId()

          Employee oEmp = new Employee();
          Document e = oEmp.exists(getSession(), "employee_uuid", oUsr.getNickName());
            if (e!=null) {
            Log.out.debug("Employee already exists");
              oEmp.load(getSession(), e.id());
              if (!oEmp.parentId().equals(oEms.id()))
                oEmp.getDocument().parents().replace(oDms.getDocument(oEmp.parentId()), oDms.getDocument(oEms.id()));
            } else {
            Log.out.debug("Employee does not exist");
              oEmp = new Employee(getSession(), oEms);
              oEmp.setUuid(oUsr.getNickName());
View Full Code Here

Examples of com.zesped.model.Employee.parentId()

          Document e = oEmp.exists(getSession(), "employee_uuid", oUsr.getNickName());
            if (e!=null) {
            Log.out.debug("Employee already exists");
              oEmp.load(getSession(), e.id());
              if (!oEmp.parentId().equals(oEms.id()))
                oEmp.getDocument().parents().replace(oDms.getDocument(oEmp.parentId()), oDms.getDocument(oEms.id()));
            } else {
            Log.out.debug("Employee does not exist");
              oEmp = new Employee(getSession(), oEms);
              oEmp.setUuid(oUsr.getNickName());
            }
View Full Code Here

Examples of org.activiti.engine.runtime.ExecutionQuery.parentId()

    }
    if (queryRequest.getActivityId() != null) {
      query.activityId(queryRequest.getActivityId());
    }
    if (queryRequest.getParentId() != null) {
      query.parentId(queryRequest.getParentId());
    }
    if (queryRequest.getMessageEventSubscriptionName() != null) {
      query.messageEventSubscriptionName(queryRequest.getMessageEventSubscriptionName());
    }
    if (queryRequest.getSignalEventSubscriptionName() != null) {
View Full Code Here

Examples of org.chromium.sdk.internal.wip.protocol.input.page.FrameValue.parentId()

    GenericCallback<GetResourceTreeData> callback =
        new GenericCallback<GetResourceTreeData>() {
          @Override
          public void success(GetResourceTreeData value) {
            FrameValue frame = value.frameTree().frame();
            if (frame.parentId() != null) {
              throw new RuntimeException("Unexpected parentId value");
            }
            String url = frame.url();
            boolean silentUpdate = urlUnknown;
            tabImpl.updateUrl(url, silentUpdate);
View Full Code Here

Examples of org.chromium.sdk.internal.wip.protocol.input.page.FrameValue.parentId()

    tabImpl.getCommandProcessor().send(requestParams, callback, null);
  }

  void frameNavigated(FrameNavigatedEventData eventData) {
    FrameValue frame = eventData.frame();
    String parentId = frame.parentId();
    if (parentId == null) {
      String newUrl = frame.url();
      tabImpl.updateUrl(newUrl, false);
      urlUnknown = false;
    }
View Full Code Here

Examples of org.sonar.api.server.debt.internal.DefaultDebtCharacteristic.parentId()

    DefaultDebtCharacteristic result = (DefaultDebtCharacteristic) service.create("Compilation name", 1);

    assertThat(result.id()).isEqualTo(currentId);
    assertThat(result.key()).isEqualTo("COMPILATION_NAME");
    assertThat(result.name()).isEqualTo("Compilation name");
    assertThat(result.parentId()).isEqualTo(1);
    assertThat(result.createdAt()).isEqualTo(now);
  }

  @Test
  public void fail_to_create_sub_characteristic_when_parent_id_is_not_a_root_characteristic() {
View Full Code Here

Examples of org.sonar.api.server.debt.internal.DefaultDebtCharacteristic.parentId()

    DefaultDebtCharacteristic characteristic = (DefaultDebtCharacteristic) service.characteristicById(1);
    assertThat(characteristic.id()).isEqualTo(1);
    assertThat(characteristic.key()).isEqualTo("MEMORY_EFFICIENCY");
    assertThat(characteristic.name()).isEqualTo("Memory use");
    assertThat(characteristic.order()).isEqualTo(2);
    assertThat(characteristic.parentId()).isNull();

    assertThat(service.characteristicById(111)).isNull();
  }

  @Test
View Full Code Here

Examples of org.sonar.api.server.debt.internal.DefaultDebtCharacteristic.parentId()

    DefaultDebtCharacteristic characteristic = (DefaultDebtCharacteristic) service.characteristicByKey("MEMORY_EFFICIENCY");
    assertThat(characteristic.id()).isEqualTo(1);
    assertThat(characteristic.key()).isEqualTo("MEMORY_EFFICIENCY");
    assertThat(characteristic.name()).isEqualTo("Memory use");
    assertThat(characteristic.order()).isEqualTo(2);
    assertThat(characteristic.parentId()).isNull();

    assertThat(service.characteristicByKey("UNKNOWN")).isNull();
  }

}
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.