Package org.gatein.pc.controller.request

Examples of org.gatein.pc.controller.request.PortletRenderRequest


   PortletInvocationResponse invoke(PortletControllerContext context, PortletRequest portletRequest) throws PortletInvokerException
   {
      if (portletRequest instanceof PortletRenderRequest)
      {
         PortletRenderRequest portletRenderRequest = (PortletRenderRequest)portletRequest;

         //
         UpdateNavigationalStateResponse updateNavigationalState = new UpdateNavigationalStateResponse();
         updateNavigationalState.setMode(portletRenderRequest.getWindowNavigationalState().getMode());
         updateNavigationalState.setWindowState(portletRenderRequest.getWindowNavigationalState().getWindowState());
         updateNavigationalState.setNavigationalState(portletRenderRequest.getWindowNavigationalState().getPortletNavigationalState());
         updateNavigationalState.setPublicNavigationalStateUpdates(portletRenderRequest.getPublicNavigationalStateChanges());

         //
         return updateNavigationalState;
      }
      else
View Full Code Here


         {
            byte[] bytes = Base64.decode(queryParameters.get(ControllerRequestParameterNames.PUBLIC_NAVIGATIONAL_STATE_CHANGES), Base64.EncodingOption.USEURLSAFEENCODING);
            Map<String, String[]> publicNavigationalStateChanges = IOTools.unserialize(Serialization.PARAMETER_MAP, SerializationFilter.COMPRESSOR, bytes);

            //
            return new PortletRenderRequest(
               windowId,
               windowNavigationalState,
               publicNavigationalStateChanges,
               pageNavigationalState);
         }
View Full Code Here

         {
            byte[] bytes = Base64.decode(queryParameters.get(ControllerRequestParameterNames.PUBLIC_NAVIGATIONAL_STATE_CHANGES), Base64.EncodingOption.USEURLSAFEENCODING);
            Map<String, String[]> publicNavigationalStateChanges = IOTools.unserialize(Serialization.PARAMETER_MAP, SerializationFilter.COMPRESSOR, bytes);

            //
            return new PortletRenderRequest(
               windowId,
               windowNavigationalState,
               publicNavigationalStateChanges,
               pageNavigationalState);
         }
View Full Code Here

         {
            byte[] bytes = Base64.decode(queryParameters.get(ControllerRequestParameterNames.PUBLIC_NAVIGATIONAL_STATE_CHANGES), Base64.EncodingOption.USEURLSAFEENCODING);
            Map<String, String[]> publicNavigationalStateChanges = IOTools.unserialize(Serialization.PARAMETER_MAP, SerializationFilter.COMPRESSOR, bytes);

            //
            return new PortletRenderRequest(
               windowId,
               windowNavigationalState,
               publicNavigationalStateChanges,
               pageNavigationalState);
         }
View Full Code Here

         {
            byte[] bytes = Base64.decode(queryParameters.get(ControllerRequestParameterNames.PUBLIC_NAVIGATIONAL_STATE_CHANGES), Base64.EncodingOption.USEURLSAFEENCODING);
            Map<String, String[]> publicNavigationalStateChanges = IOTools.unserialize(Serialization.PARAMETER_MAP, SerializationFilter.COMPRESSOR, bytes);

            //
            return new PortletRenderRequest(
               windowId,
               windowNavigationalState,
               publicNavigationalStateChanges,
               pageNavigationalState);
         }
View Full Code Here

         {
            byte[] bytes = Base64.decode(queryParameters.get(ControllerRequestParameterNames.PUBLIC_NAVIGATIONAL_STATE_CHANGES), true);
            Map<String, String[]> publicNavigationalStateChanges = IOTools.unserialize(Serialization.PARAMETER_MAP, SerializationFilter.COMPRESSOR, bytes);

            //
            return new PortletRenderRequest(
               windowId,
               windowNavigationalState,
               publicNavigationalStateChanges,
               pageNavigationalState);
         }
View Full Code Here

TOP

Related Classes of org.gatein.pc.controller.request.PortletRenderRequest

Copyright © 2018 www.massapicom. 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.