Liferay 6.0.5

com.liferay.portal.struts
Class PortletAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
Direct Known Subclasses:
AddBookItemsAction, BanUserAction, CaptchaPortletAction, CartAction, CompareVersionsAction, CompareVersionsAction, CopyArticleAction, CopyStructureAction, CopyTemplateAction, CreateAccountAction, DeleteThreadAction, DynamicPortletAction, EditArticleAction, EditCategoryAction, EditCategoryAction, EditCompanyAction, EditCompanyLogoAction, EditConfigurationAction, EditCouponAction, EditDiscussionAction, EditEntryAction, EditEntryAction, EditEntryAction, EditEntryAction, EditEventAction, EditExpandoAction, EditFeedAction, EditFileEntryAction, EditFileShortcutAction, EditFolderAction, EditFolderAction, EditFolderAction, EditFrameworkVersionAction, EditGroupAction, EditGroupAssignmentsAction, EditImageAction, EditInstanceAction, EditItemAction, EditLayoutPrototypeAction, EditLayoutSetPrototypeAction, EditLDAPServerAction, EditLicenseAction, EditMessageAction, EditNodeAction, EditOrderAction, EditOrganizationAction, EditOrganizationAssignmentsAction, EditOrganizationLogoAction, EditOrgLaborAction, EditPageAction, EditPageAttachmentAction, EditPagesAction, EditPagesAction, EditPasswordPolicyAction, EditPasswordPolicyAssignmentsAction, EditPermissionsAction, EditPluginAction, EditPreferencesAction, EditProductEntryAction, EditProductVersionAction, EditQuestionAction, EditRoleAction, EditRoleAssignmentsAction, EditRolePermissionsAction, EditServerAction, EditSessionAction, EditStructureAction, EditTeamAction, EditTeamAssignmentsAction, EditTemplateAction, EditUserAction, EditUserGroupAction, EditUserGroupAssignmentsAction, EditUserPortraitAction, EditUserRolesAction, EditWorkflowDefinitionAction, EditWorkflowDefinitionLinkAction, EditWorkflowInstanceAction, EditWorkflowTaskAction, ExportArticleAction, ExportEventsAction, ExportPageAction, ExportPagesAction, ExportUsersAction, FacebookConnectAction, ForgotPasswordAction, GetFileAction, GetMessageAttachmentAction, GetPageAttachmentAction, ImportEventsAction, ImportPagesAction, InstallPluginAction, LoginAction, MovePageAction, MoveThreadAction, OpenIdAction, PostMembershipRequestAction, PreviewEntryAction, ReplyMembershipRequestAction, RSSAction, RSSAction, RSSAction, RSSAction, SearchAction, SplitThreadAction, TrackbackAction, UpdateRequestAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewAction, ViewCouponAction, ViewMembershipRequestsAction, ViewMessageAction, ViewNodeAction, ViewPageAction, ViewProductEntryAction, ViewSlideShowAction, WebContentAction

public class PortletAction
extends org.apache.struts.action.Action


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
PortletAction()
           
 
Method Summary
protected  void addSuccessMessage(ActionRequest actionRequest, ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  String getForward(PortletRequest portletRequest)
           
protected  String getForward(PortletRequest portletRequest, String defaultValue)
           
static String getForwardKey(javax.servlet.http.HttpServletRequest request)
           
static String getForwardKey(PortletRequest portletRequest)
           
protected  org.apache.struts.config.ModuleConfig getModuleConfig(PortletRequest portletRequest)
           
protected  org.apache.struts.util.MessageResources getResources()
           
protected  org.apache.struts.util.MessageResources getResources(javax.servlet.http.HttpServletRequest request)
           
protected  org.apache.struts.util.MessageResources getResources(PortletRequest portletRequest)
           
protected  boolean isCheckMethodOnProcessAction()
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  boolean redirectToLogin(ActionRequest actionRequest, ActionResponse actionResponse)
           
 org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void sendRedirect(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void sendRedirect(ActionRequest actionRequest, ActionResponse actionResponse, String redirect)
           
 void serveResource(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse)
           
protected  void setForward(PortletRequest portletRequest, String forward)
           
 org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletAction

public PortletAction()
Method Detail

getForwardKey

public static String getForwardKey(javax.servlet.http.HttpServletRequest request)

getForwardKey

public static String getForwardKey(PortletRequest portletRequest)

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Overrides:
execute in class org.apache.struts.action.Action
Throws:
Exception

strutsExecute

public org.apache.struts.action.ActionForward strutsExecute(org.apache.struts.action.ActionMapping mapping,
                                                            org.apache.struts.action.ActionForm form,
                                                            javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response)
                                                     throws Exception
Throws:
Exception

processAction

public void processAction(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          PortletConfig portletConfig,
                          ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws Exception
Throws:
Exception

render

public org.apache.struts.action.ActionForward render(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     PortletConfig portletConfig,
                                                     RenderRequest renderRequest,
                                                     RenderResponse renderResponse)
                                              throws Exception
Throws:
Exception

serveResource

public void serveResource(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          PortletConfig portletConfig,
                          ResourceRequest resourceRequest,
                          ResourceResponse resourceResponse)
                   throws Exception
Throws:
Exception

addSuccessMessage

protected void addSuccessMessage(ActionRequest actionRequest,
                                 ActionResponse actionResponse)

getForward

protected String getForward(PortletRequest portletRequest)

getForward

protected String getForward(PortletRequest portletRequest,
                            String defaultValue)

setForward

protected void setForward(PortletRequest portletRequest,
                          String forward)

getModuleConfig

protected org.apache.struts.config.ModuleConfig getModuleConfig(PortletRequest portletRequest)

getResources

protected org.apache.struts.util.MessageResources getResources()

getResources

protected org.apache.struts.util.MessageResources getResources(javax.servlet.http.HttpServletRequest request)
Overrides:
getResources in class org.apache.struts.action.Action

getResources

protected org.apache.struts.util.MessageResources getResources(PortletRequest portletRequest)

isCheckMethodOnProcessAction

protected boolean isCheckMethodOnProcessAction()

sendRedirect

protected void sendRedirect(ActionRequest actionRequest,
                            ActionResponse actionResponse)
                     throws IOException
Throws:
IOException

sendRedirect

protected void sendRedirect(ActionRequest actionRequest,
                            ActionResponse actionResponse,
                            String redirect)
                     throws IOException
Throws:
IOException

redirectToLogin

protected boolean redirectToLogin(ActionRequest actionRequest,
                                  ActionResponse actionResponse)
                           throws IOException
Throws:
IOException

Liferay 6.0.5