Examples of ParameterMap


Examples of org.g4studio.core.orm.xibatis.sqlmap.engine.mapping.parameter.ParameterMap

      parameterObject = validateParameter(parameterObject);

      Sql sql = getSql();

      errorContext.setMoreInfo("Check the parameter map.");
      ParameterMap parameterMap = sql.getParameterMap(statementScope, parameterObject);

      errorContext.setMoreInfo("Check the result map.");
      ResultMap resultMap = sql.getResultMap(statementScope, parameterObject);

      statementScope.setResultMap(resultMap);
      statementScope.setParameterMap(parameterMap);

      errorContext.setMoreInfo("Check the parameter map.");
      Object[] parameters = parameterMap.getParameterObjectValues(statementScope, parameterObject);

      errorContext.setMoreInfo("Check the SQL statement.");
      String sqlString = sql.getSql(statementScope, parameterObject);

      errorContext.setActivity("executing mapped statement");
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      //
      Map<String, String[]> parameters;
      if (queryString != null && queryString.length() > 0)
      {
         ParameterMap tmp = new ParameterMap();
         tmp.putAll(QueryStringParser.getInstance().parseQueryString(queryString));
         tmp.append(preq.getParameterMap());
         parameters = tmp;
      }
      else
      {
         parameters = preq.getParameterMap();
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

               else
               {
                  params.put(paramName, new String[]{paramValue});
               }
            }
            formParameters = new ParameterMap(params);
         }

         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         parts.writeTo(baos);
         content = baos.toByteArray();
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      public ParameterMap getForm()
      {
         if (formParameters == null)
         {
            formParameters = new ParameterMap();
         }
         return formParameters;
      }
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

               else
               {
                  params.put(paramName, new String[]{paramValue});
               }
            }
            formParameters = new ParameterMap(params);
         }
         else
         {
            formParameters = new ParameterMap();
         }

      }
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

   private final ParameterMap parameters;

   public ParameterEncoder(CodecBuilder builder)
   {
      this.builder = new CodecBuilder(builder);
      this.parameters = new ParameterMap();
   }
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

   private final ParameterMap actualParameters;

   public ParameterDecoder(CodecBuilder builder)
   {
      this.builder = builder;
      this.actualParameters = new ParameterMap();
      this.metaParameters = new ParameterMap();
   }
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      PortletInfo info = context.portletControllerContext.getPortletInfo(portletWindowId);

      //
      if (info != null)
      {
         ParameterMap publicNavigationalState = new ParameterMap();
         for (ParameterInfo parameterInfo : info.getNavigation().getPublicParameters())
         {
            String[] parameterValue = page.get(parameterInfo.getName());

            //
            if (parameterValue != null)
            {
               String parameterId = parameterInfo.getId();

               // We clone the value here so we keep the internal state not potentially changed
               publicNavigationalState.put(parameterId, parameterValue.clone());
            }
         }

         //
         return publicNavigationalState;
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      {
         throw new IllegalArgumentException("Name should not be null");
      }

      //
      ParameterMap parameters = requestParameterMap.getParameters();

      //
      return parameters != null ? parameters.getValue(name) : null;
   }
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      return parameters != null ? parameters.getValue(name) : null;
   }

   public Enumeration<String> getParameterNames()
   {
      ParameterMap parameters = requestParameterMap.getParameters();

      //
      return parameters != null ? Collections.enumeration(parameters.keySet()) : (Enumeration<String>)Tools.EMPTY_ENUMERATION;
   }
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.