|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.portals.bridges.struts.StrutsPortlet
StrutsPortlet
| Field Summary | |
static java.lang.String |
ACTION_REQUEST
|
static java.lang.String |
CUSTOM_REQUEST
|
static java.lang.String |
DEFAULT_STRUTS_PORTLET_CONFIG_LOCATION
|
static java.lang.String |
EDIT_REQUEST
|
static java.lang.String |
ERROR_CONTEXT
|
static java.lang.String |
HELP_REQUEST
|
static java.lang.String |
PAGE_URL
|
static java.lang.String |
PARAM_ACTION_PAGE
Name of portlet preference for Action page |
static java.lang.String |
PARAM_CUSTOM_PAGE
Name of portlet preference for Custom page |
static java.lang.String |
PARAM_EDIT_PAGE
Name of portlet preference for Edit page |
static java.lang.String |
PARAM_HELP_PAGE
Name of portlet preference for Edit page |
static java.lang.String |
PARAM_SERVLET_CONTEXT_PROVIDER
Name of class implementing ServletContextProvider |
static java.lang.String |
PARAM_VIEW_PAGE
Name of portlet preference for View page |
static java.lang.String |
PORTLET_NAME
|
static java.lang.String |
REDIRECT_PAGE_URL
|
static java.lang.String |
REDIRECT_URL
|
static java.lang.String |
RENDER_CONTEXT
|
static java.lang.String |
REQUEST_TYPE
|
static java.lang.String |
STRUTS_PORTLET_CONFIG
|
static java.lang.String |
STRUTS_PORTLET_CONFIG_LOCATION
Name of portlet preference for Struts Portlet Config Location |
static java.lang.String |
VIEW_REQUEST
|
| Constructor Summary | |
StrutsPortlet()
|
|
| Method Summary | |
void |
doCustom(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
protected java.lang.String |
getActionPageParameter(javax.portlet.PortletConfig config)
|
protected java.lang.String |
getContextProviderClassNameParameter(javax.portlet.PortletConfig config)
|
protected java.lang.String |
getCustomPageParameter(javax.portlet.PortletConfig config)
|
protected java.lang.String |
getEditPageParameter(javax.portlet.PortletConfig config)
|
protected java.lang.String |
getHelpPageParameter(javax.portlet.PortletConfig config)
|
protected javax.servlet.http.HttpServletRequest |
getHttpServletRequest(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
|
protected javax.servlet.http.HttpServletResponse |
getHttpServletResponse(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
|
protected javax.servlet.ServletContext |
getServletContext(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
|
protected org.apache.portals.bridges.common.ServletContextProvider |
getServletContextProvider()
|
protected java.lang.String |
getStrutsPortletConfigLocationParameter(javax.portlet.PortletConfig config)
|
protected java.lang.String |
getViewPageParameter(javax.portlet.PortletConfig config)
|
void |
init(javax.portlet.PortletConfig config)
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
protected void |
processRequest(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultPage,
java.lang.String requestType)
|
protected void |
renderError(javax.servlet.http.HttpServletResponse response,
StrutsPortletErrorContext errorContext)
|
| Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PARAM_SERVLET_CONTEXT_PROVIDER
ServletContextProvider
public static final java.lang.String STRUTS_PORTLET_CONFIG_LOCATION
public static final java.lang.String PARAM_ACTION_PAGE
public static final java.lang.String PARAM_CUSTOM_PAGE
public static final java.lang.String PARAM_EDIT_PAGE
public static final java.lang.String PARAM_HELP_PAGE
public static final java.lang.String PARAM_VIEW_PAGE
public static final java.lang.String REQUEST_TYPE
public static final java.lang.String PAGE_URL
public static final java.lang.String REDIRECT_PAGE_URL
public static final java.lang.String REDIRECT_URL
public static final java.lang.String RENDER_CONTEXT
public static final java.lang.String ERROR_CONTEXT
public static final java.lang.String PORTLET_NAME
public static final java.lang.String STRUTS_PORTLET_CONFIG
public static final java.lang.String DEFAULT_STRUTS_PORTLET_CONFIG_LOCATION
public static final java.lang.String ACTION_REQUEST
public static final java.lang.String VIEW_REQUEST
public static final java.lang.String CUSTOM_REQUEST
public static final java.lang.String EDIT_REQUEST
public static final java.lang.String HELP_REQUEST
| Constructor Detail |
public StrutsPortlet()
| Method Detail |
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
javax.portlet.PortletExceptionprotected java.lang.String getContextProviderClassNameParameter(javax.portlet.PortletConfig config)
protected org.apache.portals.bridges.common.ServletContextProvider getServletContextProvider()
protected javax.servlet.ServletContext getServletContext(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
protected javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
protected javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
protected java.lang.String getActionPageParameter(javax.portlet.PortletConfig config)
protected java.lang.String getCustomPageParameter(javax.portlet.PortletConfig config)
protected java.lang.String getEditPageParameter(javax.portlet.PortletConfig config)
protected java.lang.String getViewPageParameter(javax.portlet.PortletConfig config)
protected java.lang.String getHelpPageParameter(javax.portlet.PortletConfig config)
protected java.lang.String getStrutsPortletConfigLocationParameter(javax.portlet.PortletConfig config)
public void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
public void doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
public void doCustom(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
protected void processRequest(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String defaultPage,
java.lang.String requestType)
throws javax.portlet.PortletException,
java.io.IOException
javax.portlet.PortletException
java.io.IOException
protected void renderError(javax.servlet.http.HttpServletResponse response,
StrutsPortletErrorContext errorContext)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||