|
||||||||||
| 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
public class 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 |
ORIGIN_URL
|
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 |
PORTLET_SCOPE_STRUTS_SESSION
|
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 |
SERVLET_PORTLET_APPLICATION_SESSION
|
static java.lang.String |
SERVLET_PORTLET_SESSION_PROXY
|
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)
|
javax.servlet.http.HttpSession |
getApplicationSession(javax.servlet.http.HttpServletRequest request)
|
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 java.lang.String |
getKeepRenderAttributes(javax.portlet.PortletRequest request)
|
protected java.lang.Boolean |
getPortletScopeStrutsSessionParameter(javax.portlet.PortletConfig config)
|
protected javax.servlet.ServletContext |
getServletContext(javax.portlet.GenericPortlet portlet,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
|
protected ServletContextProvider |
getServletContextProvider()
|
protected java.lang.String |
getStrutsOriginURL(javax.portlet.PortletRequest request)
|
protected java.lang.String |
getStrutsPageURL(javax.portlet.PortletRequest request)
|
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 PORTLET_SCOPE_STRUTS_SESSION
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 ORIGIN_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 SERVLET_PORTLET_SESSION_PROXY
public static final java.lang.String SERVLET_PORTLET_APPLICATION_SESSION
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
init in interface javax.portlet.Portletinit in class javax.portlet.GenericPortletjavax.portlet.PortletExceptionprotected java.lang.String getContextProviderClassNameParameter(javax.portlet.PortletConfig config)
protected 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 getStrutsPageURL(javax.portlet.PortletRequest request)
protected java.lang.String getStrutsOriginURL(javax.portlet.PortletRequest request)
protected java.lang.String getKeepRenderAttributes(javax.portlet.PortletRequest request)
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)
protected java.lang.Boolean getPortletScopeStrutsSessionParameter(javax.portlet.PortletConfig config)
public void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
doEdit in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOException
public void doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
doHelp in class javax.portlet.GenericPortletjavax.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
doView in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOException
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
processAction in interface javax.portlet.PortletprocessAction in class javax.portlet.GenericPortletjavax.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.IOExceptionpublic javax.servlet.http.HttpSession getApplicationSession(javax.servlet.http.HttpServletRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||