Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource
Class NavMapAction

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

public class NavMapAction
extends BaseAction

Action class to figure out which page to go to based on a navigation map click of a resource and the previous page.


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
NavMapAction()
           
 
Method Summary
 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)
          Doesn't do a thing.
protected  boolean isValidResourceMode(AppdefResourceValue resVal, java.lang.String mode, java.lang.String currentResType)
          contains a map of valid modes for a given resource
protected  boolean useDefaultPage(javax.servlet.http.HttpServletRequest request, AppdefResourceValue resVal)
           
 
Methods inherited from class org.hyperic.hq.ui.action.BaseAction
checkSubmit, 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

NavMapAction

public NavMapAction()
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
Description copied from class: BaseAction
Doesn't do a thing. It's here as a dummy method used by list that don't submit a form.

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

useDefaultPage

protected boolean useDefaultPage(javax.servlet.http.HttpServletRequest request,
                                 AppdefResourceValue resVal)
                          throws java.lang.Exception
Throws:
java.lang.Exception

isValidResourceMode

protected boolean isValidResourceMode(AppdefResourceValue resVal,
                                      java.lang.String mode,
                                      java.lang.String currentResType)
contains a map of valid modes for a given resource


Hyperic HQ Plugin API v. 4.4.0.2

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