Examples of addParameter()


Examples of org.jboss.ws.metadata.umdm.OperationMetaData.addParameter()

      OperationMetaData opMetaData = getOperationMetaData();
      ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaType.getName());
      paramMetaData.setMode(mode);
      paramMetaData.setInHeader(inHeader);
      paramMetaData.setIndex(opMetaData.getParameters().size());
      opMetaData.addParameter(paramMetaData);

      registerParameterType(xmlType, javaType);
   }

   /** Removes all specified parameters from this Call instance. Note that this method removes only the parameters and

Examples of org.jtalks.jcommune.web.util.MutableHttpRequest.addParameter()

            throws UnexpectedErrorException, NoConnectionException {
        try {
            userService.activateAccount(uuid);
            JCUser user = userService.getByUuid(uuid);
            MutableHttpRequest wrappedRequest = new MutableHttpRequest(request);
            wrappedRequest.addParameter(AbstractRememberMeServices.DEFAULT_PARAMETER, "true");
            LoginUserDto loginUserDto = new LoginUserDto(user.getUsername(), user.getPassword(), true, getClientIpAddress(request));
            loginWithLockHandling(loginUserDto, wrappedRequest, response, plainPasswordUserService);
            return "redirect:/";
        } catch (NotFoundException e) {
            return "errors/activationExpired";

Examples of org.molgenis.framework.ui.FreemarkerView.addParameter()

  public String render()
  {
    // use freemarker macros to render form header and footer
    FreemarkerView view = new FreemarkerView(MolgenisForm.class.getPackage().getName().replace(".", "/")
        + "/MolgenisForm.ftl", getModel());
    view.addParameter("content", layout.render());
    String result = view.render();
    return result;
  }

  public ScreenModel getModel()

Examples of org.mybatis.generator.api.dom.java.Method.addParameter()

    method.setVisibility(JavaVisibility.PUBLIC);
    method.setName("findByCriteria");
    FullyQualifiedJavaType pType = new FullyQualifiedJavaType(
        introspectedTable.getExampleType());
    importedTypes.add(pType);
    method.addParameter(new Parameter(pType, "criteria"));
    method
        .addBodyLine("return " + mapperObjName + ".selectByCriteria(criteria);");
    method.addAnnotation("@Override");
    topLevelClass.addImportedTypes(importedTypes);
    topLevelClass.addMethod(method);

Examples of org.myphotodiary.json.JsonObject.addParameter()

      // Create Json response
      JsonObject rsp = new JsonObject();
      // Get the directory specific data
      if ((directory != null) && (directory.isIndexingAllowedBoolean())) {
        if (directory.getDescription() != null) {
          rsp.addParameter(Configuration.dirDescParam, directory.getDescription());
        }
        if (directory.getLatitude() != null) {
          rsp.addParameter(Configuration.latParam, directory.getLatitude());
        }
        if (directory.getLongitude() != null) {

Examples of org.nijhazer.bazaarvoice.core.request.BVRequest.addParameter()

            } else {
                productIdsBuilder.append(",");
            }
            productIdsBuilder.append(productId);
        }
        request.addParameter(BVConstants.URL_FILTER, String.format("productid:%s", productIdsBuilder.toString()));
        request.addParameter(BVConstants.URL_STATS, "Reviews,NativeReviews");
        request.addParameter(BVConstants.URL_LIMIT, "99");
        if (getLocale() != null) {
            request.addParameter(BVConstants.URL_FILTER, String.format("%s:%s:%s", BVConstants.URL_LOCALE, BVConstants.URL_EQUALS, getLocale()));
        }

Examples of org.objectweb.celtix.tools.common.model.JavaMethod.addParameter()

        pollingMethod.addAnnotation("ResponseWrapper", method.getAnnotationMap().get("ResponseWrapper"));
        pollingMethod.addAnnotation("RequestWrapper", method.getAnnotationMap().get("RequestWrapper"));
        pollingMethod.addAnnotation("SOAPBinding", method.getAnnotationMap().get("SOAPBinding"));
       
        for (Iterator iter = method.getParameters().iterator(); iter.hasNext();) {
            pollingMethod.addParameter((JavaParameter)iter.next());
        }

        JavaParameter asyncHandler = new JavaParameter();
        asyncHandler.setName("asyncHandler");
        asyncHandler.setClassName(getAsyncClassName(method, "AsyncHandler"));

Examples of org.ocpsoft.rewrite.servlet.util.QueryStringBuilder.addParameter()

            query.addParameters(outboundURL);
            for (String string : parameters) {
               List<String> values = query.removeParameter(string);
               if (values.size() > 1)
               {
                  query.addParameter(string, values.subList(1, values.size()).toArray(new String[] {}));
               }
            }
         }

         Address outboundAddress = ((HttpOutboundServletRewrite) event).getOutboundAddress();

Examples of org.ogce.gfac.context.impl.ParameterContextImpl.addParameter()

     
      //parameter
      ParameterContextImpl x = new ParameterContextImpl();
      StringParameter parameter = new StringParameter();
      parameter.fromString("Hello");
      x.addParameter("echo", parameter.getTypeName(), parameter);
      ct.addMessageContext("input", x);
     
      PropertiesBasedServiceImpl service = new PropertiesBasedServiceImpl();
      service.init();
      service.execute(ct);

Examples of org.openengsb.core.api.model.QueryRequest.addParameter()

        commit.insert(v3);
        commit.insert(v4);
        commit.insert(v5);
        db.commit(commit);
        QueryRequest request = QueryRequest.create().orJoined();
        request.addParameter("Cow", "Milk");
        assertThat(db.query(request).size(), is(2));
        request.addParameter("Cow", "Steak");
        assertThat(db.query(request).size(), is(3));
        request.addParameter("Animal", "Dog");
        assertThat(db.query(request).size(), is(4));
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.