|
|||||||||||
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 String |
ACTION_REQUEST
|
static String |
CUSTOM_REQUEST
|
static String |
DEFAULT_STRUTS_PORTLET_CONFIG_LOCATION
|
private String |
defaultActionPage
Default URL for the action page. |
private String |
defaultCustomPage
Default URL for the custom page. |
private String |
defaultEditPage
Default URL for the edit page. |
private String |
defaultHelpPage
Default URL for the help page. |
private String |
defaultViewPage
Default URL for the view page. |
static String |
EDIT_REQUEST
|
static String |
ERROR_CONTEXT
|
static String |
HELP_REQUEST
|
private static org.apache.commons.logging.Log |
log
|
static String |
ORIGIN_URL
|
static String |
PAGE_URL
|
static String |
PARAM_ACTION_PAGE
Name of portlet preference for Action page |
static String |
PARAM_CUSTOM_PAGE
Name of portlet preference for Custom page |
static String |
PARAM_EDIT_PAGE
Name of portlet preference for Edit page |
static String |
PARAM_HELP_PAGE
Name of portlet preference for Edit page |
static String |
PARAM_SERVLET_CONTEXT_PROVIDER
Name of class implementing ServletContextProvider |
static String |
PARAM_VIEW_PAGE
Name of portlet preference for View page |
static String |
PORTLET_NAME
|
static String |
PORTLET_SCOPE_STRUTS_SESSION
|
private boolean |
portletScopeStrutsSession
|
static String |
REDIRECT_PAGE_URL
|
static String |
REDIRECT_URL
|
static String |
RENDER_CONTEXT
|
static String |
REQUEST_TYPE
|
static String |
SERVLET_PORTLET_APPLICATION_SESSION
|
static String |
SERVLET_PORTLET_SESSION_PROXY
|
private org.apache.portals.bridges.common.ServletContextProvider |
servletContextProvider
|
static String |
STRUTS_PORTLET_CONFIG
|
static String |
STRUTS_PORTLET_CONFIG_LOCATION
Name of portlet preference for Struts Portlet Config Location |
private StrutsPortletConfig |
strutsPortletConfig
|
static String |
VIEW_REQUEST
|
Fields inherited from class javax.portlet.GenericPortlet |
|
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 String |
getActionPageParameter(javax.portlet.PortletConfig config)
|
javax.servlet.http.HttpSession |
getApplicationSession(javax.servlet.http.HttpServletRequest request)
|
protected String |
getContextProviderClassNameParameter(javax.portlet.PortletConfig config)
|
protected String |
getCustomPageParameter(javax.portlet.PortletConfig config)
|
protected String |
getEditPageParameter(javax.portlet.PortletConfig config)
|
protected 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 String |
getKeepRenderAttributes(javax.portlet.PortletRequest request)
|
protected Boolean |
getPortletScopeStrutsSessionParameter(javax.portlet.PortletConfig config)
|
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 String |
getStrutsOriginURL(javax.portlet.PortletRequest request)
|
protected String |
getStrutsPageURL(javax.portlet.PortletRequest request)
|
protected String |
getStrutsPortletConfigLocationParameter(javax.portlet.PortletConfig config)
|
protected 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,
String defaultPage,
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 String PARAM_SERVLET_CONTEXT_PROVIDER
ServletContextProvider
public static final String STRUTS_PORTLET_CONFIG_LOCATION
public static final String PORTLET_SCOPE_STRUTS_SESSION
public static final String PARAM_ACTION_PAGE
public static final String PARAM_CUSTOM_PAGE
public static final String PARAM_EDIT_PAGE
public static final String PARAM_HELP_PAGE
public static final String PARAM_VIEW_PAGE
private String defaultActionPage
private String defaultCustomPage
private String defaultEditPage
private String defaultHelpPage
private String defaultViewPage
private org.apache.portals.bridges.common.ServletContextProvider servletContextProvider
private boolean portletScopeStrutsSession
private static final org.apache.commons.logging.Log log
public static final String REQUEST_TYPE
public static final String PAGE_URL
public static final String ORIGIN_URL
public static final String REDIRECT_PAGE_URL
public static final String REDIRECT_URL
public static final String RENDER_CONTEXT
public static final String ERROR_CONTEXT
public static final String PORTLET_NAME
public static final String STRUTS_PORTLET_CONFIG
public static final String DEFAULT_STRUTS_PORTLET_CONFIG_LOCATION
public static final String SERVLET_PORTLET_SESSION_PROXY
public static final String SERVLET_PORTLET_APPLICATION_SESSION
public static final String ACTION_REQUEST
public static final String VIEW_REQUEST
public static final String CUSTOM_REQUEST
public static final String EDIT_REQUEST
public static final String HELP_REQUEST
private StrutsPortletConfig strutsPortletConfig
Constructor Detail |
public StrutsPortlet()
Method Detail |
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
javax.portlet.PortletException
protected 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 String getStrutsPageURL(javax.portlet.PortletRequest request)
protected String getStrutsOriginURL(javax.portlet.PortletRequest request)
protected String getKeepRenderAttributes(javax.portlet.PortletRequest request)
protected String getActionPageParameter(javax.portlet.PortletConfig config)
protected String getCustomPageParameter(javax.portlet.PortletConfig config)
protected String getEditPageParameter(javax.portlet.PortletConfig config)
protected String getViewPageParameter(javax.portlet.PortletConfig config)
protected String getHelpPageParameter(javax.portlet.PortletConfig config)
protected String getStrutsPortletConfigLocationParameter(javax.portlet.PortletConfig config)
protected Boolean getPortletScopeStrutsSessionParameter(javax.portlet.PortletConfig config)
public void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doCustom(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
protected void processRequest(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, String defaultPage, String requestType) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
protected void renderError(javax.servlet.http.HttpServletResponse response, StrutsPortletErrorContext errorContext) throws IOException
IOException
public 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 |