org.rhq.enterprise.gui.legacy.action.resource.inventory
Class ResourceInventoryPortalAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
              extended by org.rhq.enterprise.gui.legacy.action.resource.ResourceController
                  extended by org.rhq.enterprise.gui.legacy.action.resource.inventory.ResourceInventoryPortalAction

public class ResourceInventoryPortalAction
extends ResourceController

TODO: I think this can be deleted, since the Resource Inventory page is now JSF-based. (ips, 11/13/07)

Author:
Ian Springer

Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ResourceInventoryPortalAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward changeOwner(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Create a portal page to change the owner of a resource.
protected  void editConfig(javax.servlet.http.HttpServletRequest request, Portal portal)
           
protected  Properties getKeyMethodMap()
          Provides the mapping from resource key to method name
 org.apache.struts.action.ActionForward viewResource(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.ResourceController
fetchReturnPathParams, setNavMapLocation, setResource, setResource, setReturnPath, setReturnPath
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
execute
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecified
 
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

ResourceInventoryPortalAction

public ResourceInventoryPortalAction()
Method Detail

viewResource

public org.apache.struts.action.ActionForward viewResource(org.apache.struts.action.ActionMapping mapping,
                                                           org.apache.struts.action.ActionForm form,
                                                           javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
Throws:
Exception

changeOwner

public org.apache.struts.action.ActionForward changeOwner(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws Exception
Create a portal page to change the owner of a resource.

Throws:
Exception

editConfig

protected void editConfig(javax.servlet.http.HttpServletRequest request,
                          Portal portal)
                   throws Exception
Throws:
Exception

getKeyMethodMap

protected Properties getKeyMethodMap()
Description copied from class: BaseDispatchAction
Provides the mapping from resource key to method name

Specified by:
getKeyMethodMap in class BaseDispatchAction
Returns:
Resource key / method name map


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