com.ibm.portal.pcm
Interface PortalDialogServiceHome


public interface PortalDialogServiceHome

DialogServiceHome for portal scope, i. e. with servlet request / response.

Note: This API may only be used in the scope of an HTTP request in WebSphere Portal, i. e. within a theme. The API can not be invoked directly by a custom servlet.

Since:
8.0.0

Field Summary
static java.lang.String JNDI_NAME
          The JNDI name used to bind the PortalDialogServiceHome singleton.
 
Method Summary
 DialogService getDialogService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Provides a dialog service valid in the scope of the given request.
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
The JNDI name used to bind the PortalDialogServiceHome singleton.

Method Detail

getDialogService

DialogService getDialogService(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
                               throws DialogServiceException
Provides a dialog service valid in the scope of the given request.

Parameters:
request - The HttpServletRequest of the current request.
response - The HttpServletResponse of the current request.
Returns:
A DialogService handle to work with.
Throws:
DialogServiceException - in case an error occurred during service retrieval