org.rhq.enterprise.gui.admin.role
Class ViewAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.tiles.actions.TilesAction
          extended by org.rhq.enterprise.gui.legacy.action.WorkflowPrepareAction
              extended by org.rhq.enterprise.gui.admin.role.ViewAction

public class ViewAction
extends WorkflowPrepareAction

An Action that retrieves a specific role. This is executed when you view a specific role.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ViewAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward workflow(org.apache.struts.tiles.ComponentContext context, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          To participate in a workflow, simply implement this the same as you would execute().
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.WorkflowPrepareAction
execute
 
Methods inherited from class org.apache.struts.tiles.actions.TilesAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, 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

ViewAction

public ViewAction()
Method Detail

workflow

public org.apache.struts.action.ActionForward workflow(org.apache.struts.tiles.ComponentContext context,
                                                       org.apache.struts.action.ActionMapping mapping,
                                                       org.apache.struts.action.ActionForm form,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response)
                                                throws Exception
Description copied from class: WorkflowPrepareAction
To participate in a workflow, simply implement this the same as you would execute(). This will be called by WorkflowActions's execute() method after it saves the workflow context.

Specified by:
workflow in class WorkflowPrepareAction
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.