com.sdm.quasar.client.jsf.dialog.services
Interface DialogContextService

All Superinterfaces:
Service
All Known Implementing Classes:
DialogContextFeature

public interface DialogContextService
extends Service

This Service is used to connect the request to the dialog instance, defined by the parameters in the request. If parameters are missing or no valid parameters the parameters are passed to a DialogParameterHandlerService to define the further strategy for handling this request.

Author:
Martin Haft

Method Summary
 boolean restoreDialogContext(HttpServletRequest servletRequest, ServletResponse servletResponse)
          This Service is used to connect the request to the dialog instance, defined by the parameters in the request.
 

Method Detail

restoreDialogContext

public boolean restoreDialogContext(HttpServletRequest servletRequest,
                                    ServletResponse servletResponse)
This Service is used to connect the request to the dialog instance, defined by the parameters in the request. If parameters are missing or no valid parameters the parameters are passed to a DialogParameterHandlerService to define the further strategy for handling this request.

Parameters:
servletRequest - the current reqest
servletResponse - the current response
Returns:
true: response is already completed, e.g. due to a redirect; the servlet filter chain has not to be processed further.