Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.group.inventory
Class AddGroupResourcesAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.hyperic.hq.ui.action.BaseAction
          extended by org.hyperic.hq.ui.action.resource.group.inventory.AddGroupResourcesAction

public class AddGroupResourcesAction
extends BaseAction

An Action that adds Resources to a Group in the BizApp. This is first created with AddGroupResourcesFormPrepareAction, which creates the list of pending Resources to add to the group. Heavily based on:

See Also:
AddGroupResourcesFormPrepareAction

Field Summary
 
Fields inherited from class org.hyperic.hq.ui.action.BaseAction
NO_RETURN_PATH, YES_RETURN_PATH
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
AddGroupResourcesAction()
           
 
Method Summary
protected  org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, java.util.Map params, boolean doReturnPath)
          Return an ActionForward if the form has been cancelled or reset; otherwise return null so that the subclass can continue to execute.
 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)
          Add roles to the user specified in the given AddGroupResourcesForm.
 
Methods inherited from class org.hyperic.hq.ui.action.BaseAction
checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, constructForward, constructForward, constructForward, constructForward, execute, returnAdd, returnAdd, returnAdd, returnCancelled, returnCancelled, returnCancelled, returnCancelled, returnFailure, returnFailure, returnFailure, returnFailure, returnFailure, returnNew, returnNew, returnNew, returnNew, returnNew, returnOkAssign, returnOkAssign, returnRemove, returnRemove, returnRemove, returnReset, returnReset, returnReset, returnReset, returnSuccess, returnSuccess, returnSuccess, returnSuccess, returnSuccess
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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

AddGroupResourcesAction

public AddGroupResourcesAction()
Method Detail

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 java.lang.Exception
Add roles to the user specified in the given AddGroupResourcesForm.

Overrides:
execute in class BaseAction
Throws:
java.lang.Exception

checkSubmit

protected org.apache.struts.action.ActionForward checkSubmit(javax.servlet.http.HttpServletRequest request,
                                                             org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.action.ActionForm form,
                                                             java.util.Map params,
                                                             boolean doReturnPath)
                                                      throws java.lang.Exception
Description copied from class: BaseAction
Return an ActionForward if the form has been cancelled or reset; otherwise return null so that the subclass can continue to execute.

Overrides:
checkSubmit in class BaseAction
Throws:
java.lang.Exception

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.