Examples of ParameterMap


Examples of org.gatein.common.util.ParameterMap

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

      //
      ParameterMap parameters = requestParameterMap.getParameters();

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

Examples of org.gatein.common.util.ParameterMap

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

   public Map<String, String[]> getParameterMap()
   {
      ParameterMap parameters = requestParameterMap.getParameters();

      //
      if (parameters != null)
      {
         return Collections.unmodifiableMap(parameters);
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      }
   }

   public Map<String, String[]> getPrivateParameterMap()
   {
      ParameterMap parameters = requestParameterMap.getPrivateParameters();

      //
      if (parameters != null)
      {
         return Collections.unmodifiableMap(parameters);
View Full Code Here

Examples of org.gatein.common.util.ParameterMap

      }
   }

   public Map<String, String[]> getPublicParameterMap()
   {
      ParameterMap parameters = requestParameterMap.getPublicParameters();

      //
      if (parameters != null)
      {
         return Collections.unmodifiableMap(parameters);
View Full Code Here

Examples of org.glassfish.api.admin.ParameterMap

     */
    public ActionReport runCommand(String commandName,
            HashMap<String, String> parameters, Habitat habitat) {
        CommandRunner cr = habitat.getComponent(CommandRunner.class);
        ActionReport ar = habitat.getComponent(ActionReport.class);
        ParameterMap p = new ParameterMap();
        for (Map.Entry<String,String> entry : parameters.entrySet())
            p.set(entry.getKey(), entry.getValue());

        cr.getCommandInvocation(commandName, ar).parameters(p).execute();
        return ar;
    }
View Full Code Here

Examples of org.jasig.portal.url.ParameterMap

        }

    IUserInstance userInstance = this.userInstanceManager.getUserInstance(httpRequest);
    if(hasAdminPrivileges(userInstance)) {
      IPortletWindow window = this.portletWindowRegistry.getPortletWindow(httpRequest, currentFailedPortletWindowId);
      window.setRenderParameters(new ParameterMap());
      IPortalUrlBuilder adminRetryUrl = this.portalUrlProvider.getPortalUrlBuilderByPortletWindow(httpRequest, currentFailedPortletWindowId, UrlType.RENDER);
      model.addAttribute("adminRetryUrl", adminRetryUrl.getUrlString());
     
      final IPortletWindow portletWindow = portletWindowRegistry.getPortletWindow(httpRequest, currentFailedPortletWindowId);
            final IPortletEntity parentPortletEntity = portletWindow.getPortletEntity();
View Full Code Here

Examples of org.jboss.portal.common.util.ParameterMap

      {
         publicRenderParameterNames.add(parameterInfo.getId());
      }

      //
      ParameterMap tmp = null;
      for (RuntimeOptionInfo option : portletInfo.getRuntimeOptionsInfo().values())
      {
         String name = option.getName();
         if (RuntimeOptionInfo.SUPPORTED_OPTIONS.contains(name))
         {
            if (tmp == null)
            {
               tmp = new ParameterMap(ParameterMap.AccessMode.get(true, false));
            }

            //
            String[] values = option.getValues().toArray(new String[option.getValues().size()]);
            tmp.setValues(name, values);
         }
      }

      //
      Map<String, String[]> containerRuntimeOptions;
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.ParameterMap

  }

  private static void processPrameterMap(Class<?> clazz,
      StringBuffer parameterMapSb) {
    if (clazz.isAnnotationPresent(ParameterMap.class)) {
      ParameterMap annotation = clazz.getAnnotation(ParameterMap.class);
      String id = annotation.id();
      // 检查当前parameterMap是否已经在其它dao中声明并解析过了
      if (parameterMapIds.contains(id))
        return;
      parameterMapIds.add(id);

      Class<?> parameterClass = annotation.parameterClass();
      String[] parameters = annotation.parameters();

      parameterMapSb.append("  <parameterMap id=\"" + id + "\" class=\""
          + parameterClass.getName() + "\">");
      for (String parameter : parameters) {
        parameterMapSb.append("\n    <parameter property=\""
View Full Code Here

Examples of org.springframework.webflow.core.collection.ParameterMap

  private MappingResults bind(Object model) {
    if (logger.isDebugEnabled()) {
      logger.debug("Binding to model");
    }
    DefaultMapper mapper = new DefaultMapper();
    ParameterMap requestParameters = requestContext.getRequestParameters();
    if (binderConfiguration != null) {
      addModelBindings(mapper, requestParameters.asMap().keySet(), model);
    } else {
      addDefaultMappings(mapper, requestParameters.asMap().keySet(), model);
    }
    return mapper.map(requestParameters, model);
  }
View Full Code Here

Examples of threescale.v3.api.ParameterMap

                    b.append(mapKey).append("[").append(arrayIndex).append("]");
                    b.append("[").append(key).append("]=").append(arrayMap.getStringValue(key));
                    index++;
                    break;
                case MAP:
                    ParameterMap map = arrayMap.getMapValue(key);
                    for (String itemKey : map.getKeys()) {
                        if (index != 0) b.append("&");
                        b.append(emitArrayValue(mapKey, key, itemKey, map.getStringValue(itemKey), arrayIndex));
                        index++;
                    }
            }
        }
        return b.toString();
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.