org.rhq.enterprise.gui.admin.user
Class AddUserRolesFormPrepareAction

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.user.AddUserRolesFormPrepareAction

public class AddUserRolesFormPrepareAction
extends WorkflowPrepareAction

An Action that retrieves data to facilitate display of the AddUserRoles form. The purpose of this is to add Roles to a given user.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
AddUserRolesFormPrepareAction()
           
 
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

AddUserRolesFormPrepareAction

public AddUserRolesFormPrepareAction()
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.