Examples of perform()


Examples of org.ozoneDB.core.DbRemote.DbXMLForObj.perform()

    public Node xmlForObject(OzoneRemote rObj, Document domFactory) throws Exception {

        // creating the chunk is not really needed but should work ;)
        DbXMLForObj command = new DbXMLForObj((OzoneProxy) rObj);
        command.perform(env.transactionManager.currentTA());
        byte[] bytes = (byte[]) command.result;

        SAXChunkConsumer consumer = new SAXChunkConsumer(domFactory, null);
        consumer.processChunk(bytes);
View Full Code Here

Examples of org.parse4j.command.ParseCommand.perform()

    else {
      command =  new ParsePutCommand(getEndPoint(), getObjectId());
    }
   
    command.setData(getParseData());
    ParseResponse response = command.perform();
    if(!response.isFailed()) {
      JSONObject jsonResponse = response.getJsonObject();
      if (jsonResponse == null) {
        LOGGER.error("Empty response");
        throw response.getException();
View Full Code Here

Examples of org.parse4j.command.ParseDeleteCommand.perform()

  public void delete() throws ParseException {
   
    if(objectId == null) return;
   
    ParseCommand command = new ParseDeleteCommand(getEndPoint(), getObjectId());
    ParseResponse response = command.perform();
    if(response.isFailed()) {
      throw response.getException();
    }
   
    this.updatedAt = null;
View Full Code Here

Examples of org.parse4j.command.ParseGetCommand.perform()

   
    ParseGetCommand command = new ParseGetCommand("login");
    command.addJson(false);
    command.put("username", username);
      command.put("password", password);
    ParseResponse response = command.perform();
    if(!response.isFailed()) {
      JSONObject jsonResponse = response.getJsonObject();
      if (jsonResponse == null) {
        LOGGER.error("Empty response.");
        throw response.getException();
View Full Code Here

Examples of org.parse4j.command.ParsePostCommand.perform()

   
    ParsePostCommand command = new ParsePostCommand(getClassName());
    JSONObject parseData = getParseData();
    parseData.put("password", password);
    command.setData(parseData);
    ParseResponse response = command.perform();
    if(!response.isFailed()) {
      JSONObject jsonResponse = response.getJsonObject();
      if (jsonResponse == null) {
        LOGGER.error("Empty response");
        throw response.getException();
View Full Code Here

Examples of org.parse4j.command.ParseUploadCommand.perform()

      command.setContentType(contentType);
    }
    else {
      command.setContentType(getContentType());
    }
    ParseResponse response = command.perform();
    if(!response.isFailed()) {
      JSONObject jsonResponse = response.getJsonObject();
      System.out.println(jsonResponse);
      if (jsonResponse == null) {
        LOGGER.error("Empty response.");
View Full Code Here

Examples of org.pdtextensions.core.ast.util.BlockContainsFinder.perform()

        continue;
      }

      // find all similar nodes
      BlockContainsFinder replacementFinder = new BlockContainsFinder(((MethodDeclaration) statement).getFunction().getBody(), toSearchNodes);
      replacementFinder.perform();
     
      // add the matches.
      fDuplicates.addAll(replacementFinder.getMatches());
    }
   
View Full Code Here

Examples of org.python.pydev.editor.actions.PyBackspace.perform()

        PyBackspace pyBackspace = new PyBackspace();
        pyBackspace.setDontEraseMoreThan(commandLineOffset);
        PySelection ps = new PySelection(doc, selection);

        pyBackspace.perform(ps);
    }

}
View Full Code Here

Examples of org.python.pydev.refactoring.ui.pages.core.eclipse.RowLayouter.perform()

        });
        GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
        gridData.horizontalSpan = 2;
        replaceDuplicates.setLayoutData(gridData);

        layouter.perform(label, text, 1);

        Dialog.applyDialogFont(result);
    }

    /*
 
View Full Code Here

Examples of org.randomgd.bukkit.workers.info.WorkerInfo.perform()

        Location currentLocation = entity.getLocation();
        int x = currentLocation.getBlockX();
        int y = currentLocation.getBlockY();
        int z = currentLocation.getBlockZ();
        World world = entity.getWorld();
        information.perform(entity, x, y, z, world);
      }
    }
    return result;
  }
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.