org.rhq.enterprise.gui.legacy.action.resource
Class AbstractResourcePortalAction

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

Deprecated.

@Deprecated
public abstract class AbstractResourcePortalAction
extends BaseDispatchAction

An abstract subclass of BaseDispatchAction that provides common methods for Resource portal actions. TODO: This can be deleted after we make sure there's nothing else we want to move over to ResourceController. (ips, 11/13/07)


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
AbstractResourcePortalAction()
          Deprecated.  
 
Method Summary
protected  void fetchReturnPathParams(javax.servlet.http.HttpServletRequest request, Map params)
          Deprecated.  
protected  void setNavMapLocation(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, String currLoc)
          Deprecated. This method sets the current location for the nav map
protected  void setResource(javax.servlet.http.HttpServletRequest request)
          Deprecated.  
protected  void setResource(javax.servlet.http.HttpServletRequest request, boolean requiresResourceToBeConfigured)
          Deprecated.  
protected  void setReturnPath(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
          Deprecated.  
protected  void setReturnPath(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping, Map params)
          Deprecated. This sets the return path for a ResourceAction by appending the type and resource id to the forward url.
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
execute, getKeyMethodMap
 
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

AbstractResourcePortalAction

public AbstractResourcePortalAction()
Deprecated. 
Method Detail

setResource

protected void setResource(javax.servlet.http.HttpServletRequest request)
                    throws Exception
Deprecated. 
Throws:
Exception

setResource

protected void setResource(javax.servlet.http.HttpServletRequest request,
                           boolean requiresResourceToBeConfigured)
                    throws Exception
Deprecated. 
Throws:
Exception

fetchReturnPathParams

protected void fetchReturnPathParams(javax.servlet.http.HttpServletRequest request,
                                     Map params)
Deprecated. 

setReturnPath

protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
                             org.apache.struts.action.ActionMapping mapping,
                             Map params)
                      throws Exception
Deprecated. 
This sets the return path for a ResourceAction by appending the type and resource id to the forward url.

Overrides:
setReturnPath in class BaseDispatchAction
Parameters:
request - The current controller's request.
mapping - The current controller's mapping that contains the input.
params - A Map of request parameters to add to the return path.
Throws:
ParameterNotFoundException - if the type or id are not found
javax.servlet.ServletException - If there is not input defined for this form
Exception

setReturnPath

protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
                             org.apache.struts.action.ActionMapping mapping)
                      throws Exception
Deprecated. 
Overrides:
setReturnPath in class BaseDispatchAction
Throws:
Exception

setNavMapLocation

protected void setNavMapLocation(javax.servlet.http.HttpServletRequest request,
                                 org.apache.struts.action.ActionMapping mapping,
                                 String currLoc)
                          throws Exception
Deprecated. 
This method sets the current location for the nav map

Throws:
Exception


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