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

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.ChangeOwnerFormPrepareAction

public class ChangeOwnerFormPrepareAction
extends WorkflowPrepareAction

An Action that retrieves a role from the BizApp to facility display of the Change Role Owner form.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ChangeOwnerFormPrepareAction()
           
 
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)
          Retrieve the full List of AuthzSubjectValue objects representing all users in the database excluding the owner of the role identified by the request parameter Constants.ROLE_PARAM and store that list in in the Constants.ALL_USERS_ATTR request attribute.
 
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

ChangeOwnerFormPrepareAction

public ChangeOwnerFormPrepareAction()
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
Retrieve the full List of AuthzSubjectValue objects representing all users in the database excluding the owner of the role identified by the request parameter Constants.ROLE_PARAM and store that list in in the Constants.ALL_USERS_ATTR request attribute. Also store the RoleValue itself in the Constants.ROLE_ATTR request attribute.

Specified by:
workflow in class WorkflowPrepareAction
Throws:
Exception


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