Class PortletServiceInterface

  • All Implemented Interfaces:
    IServiceInterface

    public class PortletServiceInterface
    extends GenericServiceInterface
    An interface that wraps a JSR-168 portlet.
    Since:
    4.0.7
    Version:
    $Revision: 4963 $ $Date: 2006-11-03 14:45:45 -0300 (Fri, 03 Nov 2006) $
    See Also:
    PortletService
    • Constructor Detail

      • PortletServiceInterface

        public PortletServiceInterface()
    • Method Detail

      • processAction

        public void processAction​(IServiceInterfaceActionRequest request,
                                  IServiceInterfaceActionResponse response)
                           throws PortalException
        Description copied from interface: IServiceInterface
        Called by the service interface container to allow the service interface to process an action request. This method is called if the client request was originated by a URL created (by the service interface) with the RenderResponse.createActionURL() method.

        Typically, in response to an action request, a service interface updates state based on the information sent in the action request parameters. In an action the service interface may:

        • issue a redirect
        • change its window state
        • change its service interface mode
        • modify its persistent state
        • set render parameters

        A client request triggered by an action URL translates into one action request and many render requests, one per service interface in the portal page. The action processing must be finished before the render requests can be issued.

        Specified by:
        processAction in interface IServiceInterface
        Overrides:
        processAction in class GenericServiceInterface
        Parameters:
        request - the action request
        response - the action response
        Throws:
        ServiceInterfaceException - if the service interface has problems fulfilling the request
        PortalException - if the service interface is unavailable to process the action at this time