ChangeResourceOwnerFormPrepareAction (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.ui.action.resource.common.inventory.ChangeResourceOwnerFormPrepareAction class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      org.apache.struts.action.Action
          org.apache.struts.tiles.actions.TilesAction
              org.hyperic.hq.ui.action.WorkflowPrepareAction
                  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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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