Class MockServiceInterfaceActionResponse

    • Field Detail

      • mockServiceInterfaceRequest

        protected final lumis.lptf.portal.serviceinterface.MockServiceInterfaceRequest mockServiceInterfaceRequest
    • Method Detail

      • getPortletMode

        public javax.portlet.PortletMode getPortletMode()
        Specified by:
        getPortletMode in interface javax.portlet.StateAwareResponse
      • getRenderParameterMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getRenderParameterMap()
        Specified by:
        getRenderParameterMap in interface javax.portlet.StateAwareResponse
      • getWindowState

        public javax.portlet.WindowState getWindowState()
        Specified by:
        getWindowState in interface javax.portlet.StateAwareResponse
      • removePublicRenderParameter

        public void removePublicRenderParameter​(java.lang.String name)
        Specified by:
        removePublicRenderParameter in interface javax.portlet.StateAwareResponse
      • sendRedirect

        public void sendRedirect​(java.lang.String location,
                                 java.lang.String renderUrlParamName)
                          throws java.io.IOException
        Specified by:
        sendRedirect in interface javax.portlet.ActionResponse
        Throws:
        java.io.IOException
      • sendRedirect

        public void sendRedirect​(java.lang.String location)
                          throws java.io.IOException
        Specified by:
        sendRedirect in interface javax.portlet.ActionResponse
        Specified by:
        sendRedirect in interface HttpServletResponse
        Overrides:
        sendRedirect in class org.springframework.mock.web.MockHttpServletResponse
        Throws:
        java.io.IOException
      • setEvent

        public void setEvent​(javax.xml.namespace.QName name,
                             java.io.Serializable value)
        Specified by:
        setEvent in interface javax.portlet.StateAwareResponse
      • setEvent

        public void setEvent​(java.lang.String name,
                             java.io.Serializable value)
        Specified by:
        setEvent in interface javax.portlet.StateAwareResponse
      • setPortletMode

        public void setPortletMode​(javax.portlet.PortletMode portletMode)
                            throws javax.portlet.PortletModeException
        Specified by:
        setPortletMode in interface javax.portlet.StateAwareResponse
        Throws:
        javax.portlet.PortletModeException
      • setRenderParameter

        public void setRenderParameter​(java.lang.String key,
                                       java.lang.String value)
        Specified by:
        setRenderParameter in interface javax.portlet.StateAwareResponse
      • setRenderParameter

        public void setRenderParameter​(java.lang.String key,
                                       java.lang.String[] values)
        Specified by:
        setRenderParameter in interface javax.portlet.StateAwareResponse
      • setRenderParameters

        public void setRenderParameters​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)
        Specified by:
        setRenderParameters in interface javax.portlet.StateAwareResponse
      • setWindowState

        public void setWindowState​(javax.portlet.WindowState windowState)
                            throws javax.portlet.WindowStateException
        Specified by:
        setWindowState in interface javax.portlet.StateAwareResponse
        Throws:
        javax.portlet.WindowStateException
      • getRenderParameter

        @Deprecated
        public java.lang.String[] getRenderParameter​(java.lang.String key)
        Deprecated.
        Description copied from interface: IServiceInterfaceActionResponse
        Returns the parameter previously set by the setRenderParameter methods. This method is usually used by chained process actions that need to read previously set render parameters.
        Specified by:
        getRenderParameter in interface IServiceInterfaceActionResponse
        Returns:
      • getRenderParameters

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String[]> getRenderParameters()
        Deprecated.
        Description copied from interface: IServiceInterfaceActionResponse
        Returns all the parameters previously set by the setRenderParameter methods. This method is usually used by chained process actions that need to read previously set render parameters.
        Specified by:
        getRenderParameters in interface IServiceInterfaceActionResponse
        Returns:
      • setStatusInternal

        public void setStatusInternal​(int statusCode,
                                      java.lang.String message)
        Description copied from interface: IServiceInterfaceActionResponseSPI
        Sets the status code and message for this action response. This is a temporary implementation that is used exclusively for requests with accept: application/json header. This code and message will be returned in the http response headers in this case. The final support for setting response status will be available in the future.
        Specified by:
        setStatusInternal in interface IServiceInterfaceActionResponseSPI
        Parameters:
        statusCode - the status code for the response
        message - the message
      • addProperty

        public void addProperty​(Cookie arg0)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse
      • addProperty

        public void addProperty​(java.lang.String arg0,
                                org.w3c.dom.Element arg1)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse
      • createElement

        public org.w3c.dom.Element createElement​(java.lang.String arg0)
                                          throws org.w3c.dom.DOMException
        Specified by:
        createElement in interface javax.portlet.PortletResponse
        Throws:
        org.w3c.dom.DOMException
      • createServiceInterfaceURL

        protected IServiceInterfaceUrl createServiceInterfaceURL​(int urlType)
      • encodeURL

        public java.lang.String encodeURL​(java.lang.String url)
        Specified by:
        encodeURL in interface HttpServletResponse
        Specified by:
        encodeURL in interface javax.portlet.PortletResponse
        Overrides:
        encodeURL in class org.springframework.mock.web.MockHttpServletResponse
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface javax.portlet.PortletResponse
      • setProperty

        public void setProperty​(java.lang.String key,
                                java.lang.String value)
        Specified by:
        setProperty in interface javax.portlet.PortletResponse
      • addProperty

        public void addProperty​(java.lang.String key,
                                java.lang.String value)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse