Examples of readData()


Examples of net.pleso.framework.client.ui.custom.controls.data.ActionButtonControl.readData()

        // CustomRB form provides like button ONLY delete action
        if (actions[i] instanceof IDeleteRowProvider) {
          ActionButtonControl aButton = new ActionButtonControl(this,
              actions[i], this);
          if (aButton.isAuth()) {
            aButton.readData();
            buttonsPanel.add(aButton);
            actionButtons[i] = aButton;
          }
        }
      }
View Full Code Here

Examples of net.pleso.framework.client.ui.custom.controls.data.ActionSliderControl.readData()

            actions[i] instanceof IViewFormProvider);
        // by default slider with current index is null
        this.actionSliders[i] = null;
        // slider must be authenticated.
        if (aSlider.isAuth()) {
          aSlider.readData();
          // set slider into array
          this.actionSliders[i] = aSlider;
          // search action slider must be on top of window
          if (actions[i] instanceof ISearchFormProvider) {
            if (this.defaultSearchFormSlider == null)
View Full Code Here

Examples of net.pleso.framework.client.ui.interfaces.IBindableDataControl.readData()

      if (addedControl instanceof SourcesKeyboardEvents)
        ((SourcesKeyboardEvents) addedControl)
            .addKeyboardListener(keyboardListener);

      // Reading data from row to control.
      addedControl.readData();
    }
  }

  /**
   * Make validation on all controls.
View Full Code Here

Examples of net.pleso.framework.client.ui.interfaces.IBindableDataControl.readData()

  public void reReadBindableControls() {
    for (int i = 0; i < controls.size(); i++) {
      IBindableDataControl control = (IBindableDataControl) controls
          .get(i);
      if (control != null && !(control instanceof IEditableDataControl))
        control.readData();
    }
  }

  /**
   * Updates binded {@link #dataRow} by values from all controls.
View Full Code Here

Examples of org.I0Itec.zkclient.ZkClient.readData()

        assertDeployment("http://localhost:8080/s4/" + s4rToDeploy.getName());

        // check resource loading (we use a zkclient without custom serializer)
        ZkClient client2 = new ZkClient("localhost:" + CommTestUtils.ZK_PORT);
        Assert.assertEquals("Salut!", client2.readData("/resourceData"));

    }

    private void initializeS4Node() throws ConfigurationException, IOException, InterruptedException {
        // 0. package s4 app
View Full Code Here

Examples of org.apache.commons.imaging.formats.psd.datareaders.DataReader.readData()

       
        InputStream is = null;
        boolean canThrow = false;
        try {
            is = getInputStream(byteSource, PSD_SECTION_IMAGE_DATA);
            fDataReader.readData(is, result, imageContents, this);

            canThrow = true;
            // is.
            // ImageContents imageContents = readImageContents(is);
            // return imageContents;
View Full Code Here

Examples of org.apache.helix.manager.zk.ZkClient.readData()

  {
    ZkClient client = new ZkClient(zkServer);
    client.setZkSerializer(new ZNRecordSerializer());
    String path = HelixUtil.getMessagePath(clusterName, instanceName) + "/" + message.getId();
    client.delete(path);
    ZNRecord record = client.readData(HelixUtil.getLiveInstancePath(clusterName, instanceName));
    message.setTgtSessionId(record.getSimpleField(LiveInstanceProperty.SESSION_ID.toString()).toString());
    message.setTgtName(record.getId());
    //System.out.println(message);
    client.createPersistent(path, message.getRecord());
  }
View Full Code Here

Examples of org.apache.helix.manager.zk.ZkClient.readData()

    // test get what we created
    for (int i = 0; i < 10; i++)
    {
      String msgId = "msg_" + i;
      String path = PropertyPathConfig.getPath(PropertyType.MESSAGES, root, "host_0", msgId);
      ZNRecord record = zkClient.readData(path);
      Assert.assertEquals(record.getId(), msgId, "Should get what we created");
    }

    // test sync set
    for (int i = 0; i < 10; i++)
View Full Code Here

Examples of org.apache.helix.manager.zk.ZkClient.readData()

    // test get what we set
    for (int i = 0; i < 10; i++)
    {
      String msgId = "msg_" + i;
      String path = PropertyPathConfig.getPath(PropertyType.MESSAGES, root, "host_0", msgId);
      ZNRecord record = zkClient.readData(path);
      Assert.assertEquals(record.getSimpleFields().size(), 1, "Should have 1 simple field set");
      Assert.assertEquals(record.getSimpleField("key1"), "value1", "Should have value1 set");
    }
   
    // test sync update
View Full Code Here

Examples of org.apache.helix.manager.zk.ZkClient.readData()

    // test get what we updated
    for (int i = 0; i < 10; i++)
    {
      String msgId = "msg_" + i;
      String path = PropertyPathConfig.getPath(PropertyType.MESSAGES, root, "host_0", msgId);
      ZNRecord record = zkClient.readData(path);
      Assert.assertEquals(record.getSimpleFields().size(), 2, "Should have 2 simple fields set");
      Assert.assertEquals(record.getSimpleField("key2"), "value2", "Should have value2 set");
    }
   
    // test sync get
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.