Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.common.inventory
Class ChangeResourceOwnerFormPrepareAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.tiles.actions.TilesAction
          extended by org.hyperic.hq.ui.action.WorkflowPrepareAction
              extended by org.hyperic.hq.ui.action.resource.common.inventory.ChangeResourceOwnerFormPrepareAction

public class ChangeResourceOwnerFormPrepareAction
extends WorkflowPrepareAction

An Action that retrieves a resource and a list of subjects from the BizApp to facility display of the Change Resource Owner page.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
ChangeResourceOwnerFormPrepareAction()
           
 
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 resource identified by the request parameters Constants.RESOURCE_PARAM and Constants.RESOURCE_TYPE_ID_PARAM and store that list in in the Constants.ALL_USERS_ATTR request attribute.
 
Methods inherited from class org.hyperic.hq.ui.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, 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

ChangeResourceOwnerFormPrepareAction

public ChangeResourceOwnerFormPrepareAction()
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 java.lang.Exception
Retrieve the full List of AuthzSubjectValue objects representing all users in the database excluding the owner of the resource identified by the request parameters Constants.RESOURCE_PARAM and Constants.RESOURCE_TYPE_ID_PARAM and store that list in in the Constants.ALL_USERS_ATTR request attribute. Also store the AppdefResourceValue itself in the Constants.RESOURCE_ATTR request attribute.

Specified by:
workflow in class WorkflowPrepareAction
Throws:
java.lang.Exception

Hyperic HQ Plugin API v. 4.4.0.2

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